Skip to content

Releases: pmxt-dev/pmxt

v2.43.12

23 May 13:26

Choose a tag to compare

Fixed

  • fetchTrades: Polymarket fetcher now forwards the limit parameter to the CLOB API. Previously, limit was silently ignored and Polymarket's API defaulted to 100 results per request — making it impossible to fetch more than 100 trades in a single call.
  • fetchTrades: Removed hardcoded limit: 100 defaults from Kalshi, Myriad, and Smarkets fetchers. When no limit is specified, the upstream API's own default is used instead of our arbitrary cap.
  • fetchTrades: Smarkets fetcher now respects the user-provided limit parameter instead of ignoring it entirely.
  • fetchTrades: Added MAX_TRADES_LIMIT = 1000 validation across all venues (Polymarket, Kalshi, Smarkets, Myriad, Probable). Passing limit > 1000 now throws a ValidationError instead of silently returning fewer results.

Installation

npm:

npm install pmxtjs@2.43.12

PyPI:

pip install pmxt==2.43.12

Links

Full Changelog: v2.43.11f...v2.43.12f

v2.43.11

23 May 11:51

Choose a tag to compare

Fixed

  • Cleanup: Removed testDummyMethod stubs from BaseExchange.ts, TypeScript SDK client, and Python SDK client. Regenerated OpenAPI spec and method-verbs.

Installation

npm:

npm install pmxtjs@2.43.11

PyPI:

pip install pmxt==2.43.11

Links

Full Changelog: v2.43.9f...v2.43.11f

v2.43.9

23 May 10:43

Choose a tag to compare

Fixed

  • Docs: fetchOrderBook API reference examples now show side="yes" instead of side="buy". The OpenAPI example generator checked parameter names before schema enums, so the side fallback ("buy") shadowed the actual enum (['yes', 'no']).

Installation

npm:

npm install pmxtjs@2.43.9

PyPI:

pip install pmxt==2.43.9

Links

What's Changed

New Contributors

Full Changelog: v2.43.8f...v2.43.9f

v2.43.8

22 May 21:59

Choose a tag to compare

Fixed

  • Build: Commit missing core/src/utils/logger.ts and related file changes that were breaking CI.

Installation

npm:

npm install pmxtjs@2.43.8

PyPI:

pip install pmxt==2.43.8

Links

Full Changelog: v2.43.5f...v2.43.8f

v2.43.5

22 May 20:17

Choose a tag to compare

Fixed

  • Python SDK: fetch_order_book now works — fixed _compat_kwargs typo, added None placeholder for params positioning, and array response handling for range queries.
  • Python SDK: Added dt field to OrderBook model (maps to datetime in API response).

Installation

npm:

npm install pmxtjs@2.43.5

PyPI:

pip install pmxt==2.43.5

Links

Full Changelog: v2.43.4f...v2.43.5f

v2.43.4

22 May 19:55

Choose a tag to compare

Fixed

  • Docs: Add FetchOrderBookParams to GENERATED_SCHEMA_ORDER so the AST parser builds the schema from the interface. TYPE_REF_MAP alone was not enough — the generator also needs the schema order entry to enumerate properties as query params.

Installation

npm:

npm install pmxtjs@2.43.4

PyPI:

pip install pmxt==2.43.4

Links

Full Changelog: v2.43.3f...v2.43.4f

v2.43.3

22 May 19:51

Choose a tag to compare

Fixed

  • Docs: Register FetchOrderBookParams in TYPE_REF_MAP so the OpenAPI generator emits side, since, until as query parameters on the fetchOrderBook endpoint.

Installation

npm:

npm install pmxtjs@2.43.3

PyPI:

pip install pmxt==2.43.3

Links

Full Changelog: v2.43.2f...v2.43.3f

v2.43.2

22 May 19:46

Choose a tag to compare

Fixed

  • Docs: fetchOrderBook params (side, since, until) now appear in auto-generated API docs. Replaced Record<string, any> with typed FetchOrderBookParams interface so the OpenAPI generator can enumerate the properties.

Installation

npm:

npm install pmxtjs@2.43.2

PyPI:

pip install pmxt==2.43.2

Links

Full Changelog: v2.43.1f...v2.43.2f

v2.43.1

22 May 19:28

Choose a tag to compare

Fixed

  • SDK: fetchOrderBook now correctly inserts a null placeholder for limit when only params is provided, ensuring params lands at args[2] for the hosted API.
  • SDK: fetchOrderBook now handles array responses from range queries (since + until) instead of treating them as a single OrderBook.

Installation

npm:

npm install pmxtjs@2.43.1

PyPI:

pip install pmxt==2.43.1

Links

What's Changed

Full Changelog: v2.42.7f...v2.43.1f

v2.43.0

22 May 18:52
ba46541

Choose a tag to compare

Added

  • fetchOrderBook: Historical order book support via params.since and params.until. CCXT-compatible signature (outcomeId, limit?, params?) across all exchanges and SDK.
    • { since } — single L2 snapshot at or before the given timestamp (hosted API only, backed by ClickHouse archive).
    • { since, until } — array of fully reconstructed L2 books from tick-level deltas. Default 100 snapshots, max 1000.
    • Full reconstruction for all 4 archived venues: Polymarket (absolute deltas), Kalshi (additive deltas), Limitless, Opinion.
  • OrderBook.datetime: ISO 8601 datetime field on the OrderBook type (CCXT-compatible).

Changed

  • fetchOrderBook signature widened from (outcomeId, side?) to (outcomeId, limit?, params?). Backwards compatible — side moved to params.side. All 14 exchange implementations, Router, and SDK updated.
  • SDK fetchOrderBook return type widened to OrderBook | OrderBook[] (array when since + until are both provided).

Installation

npm:

npm install pmxtjs@2.43.0

PyPI:

pip install pmxt==2.43.0

Links

What's Changed

New Contributors

Full Changelog: v2.42.7f...v2.43.0f