Releases: pmxt-dev/pmxt
Releases · pmxt-dev/pmxt
v2.43.12
Fixed
- fetchTrades: Polymarket fetcher now forwards the
limitparameter to the CLOB API. Previously,limitwas 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: 100defaults 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
limitparameter instead of ignoring it entirely. - fetchTrades: Added
MAX_TRADES_LIMIT = 1000validation across all venues (Polymarket, Kalshi, Smarkets, Myriad, Probable). Passinglimit > 1000now throws aValidationErrorinstead of silently returning fewer results.
Installation
npm:
npm install pmxtjs@2.43.12PyPI:
pip install pmxt==2.43.12Links
Full Changelog: v2.43.11f...v2.43.12f
v2.43.11
Fixed
- Cleanup: Removed
testDummyMethodstubs fromBaseExchange.ts, TypeScript SDK client, and Python SDK client. Regenerated OpenAPI spec and method-verbs.
Installation
npm:
npm install pmxtjs@2.43.11PyPI:
pip install pmxt==2.43.11Links
Full Changelog: v2.43.9f...v2.43.11f
v2.43.9
Fixed
- Docs:
fetchOrderBookAPI reference examples now showside="yes"instead ofside="buy". The OpenAPI example generator checked parameter names before schema enums, so thesidefallback ("buy") shadowed the actual enum (['yes', 'no']).
Installation
npm:
npm install pmxtjs@2.43.9PyPI:
pip install pmxt==2.43.9Links
What's Changed
- docs: use outcome side in order book examples by @cosmopolitan033 in #478
New Contributors
- @cosmopolitan033 made their first contribution in #478
Full Changelog: v2.43.8f...v2.43.9f
v2.43.8
Fixed
- Build: Commit missing
core/src/utils/logger.tsand related file changes that were breaking CI.
Installation
npm:
npm install pmxtjs@2.43.8PyPI:
pip install pmxt==2.43.8Links
Full Changelog: v2.43.5f...v2.43.8f
v2.43.5
Fixed
- Python SDK:
fetch_order_booknow works — fixed_compat_kwargstypo, addedNoneplaceholder for params positioning, and array response handling for range queries. - Python SDK: Added
dtfield toOrderBookmodel (maps todatetimein API response).
Installation
npm:
npm install pmxtjs@2.43.5PyPI:
pip install pmxt==2.43.5Links
Full Changelog: v2.43.4f...v2.43.5f
v2.43.4
Fixed
- Docs: Add
FetchOrderBookParamstoGENERATED_SCHEMA_ORDERso the AST parser builds the schema from the interface.TYPE_REF_MAPalone was not enough — the generator also needs the schema order entry to enumerate properties as query params.
Installation
npm:
npm install pmxtjs@2.43.4PyPI:
pip install pmxt==2.43.4Links
Full Changelog: v2.43.3f...v2.43.4f
v2.43.3
Fixed
- Docs: Register
FetchOrderBookParamsinTYPE_REF_MAPso the OpenAPI generator emitsside,since,untilas query parameters on the fetchOrderBook endpoint.
Installation
npm:
npm install pmxtjs@2.43.3PyPI:
pip install pmxt==2.43.3Links
Full Changelog: v2.43.2f...v2.43.3f
v2.43.2
Fixed
- Docs:
fetchOrderBookparams (side,since,until) now appear in auto-generated API docs. ReplacedRecord<string, any>with typedFetchOrderBookParamsinterface so the OpenAPI generator can enumerate the properties.
Installation
npm:
npm install pmxtjs@2.43.2PyPI:
pip install pmxt==2.43.2Links
Full Changelog: v2.43.1f...v2.43.2f
v2.43.1
Fixed
- SDK:
fetchOrderBooknow correctly inserts anullplaceholder forlimitwhen onlyparamsis provided, ensuringparamslands atargs[2]for the hosted API. - SDK:
fetchOrderBooknow handles array responses from range queries (since+until) instead of treating them as a singleOrderBook.
Installation
npm:
npm install pmxtjs@2.43.1PyPI:
pip install pmxt==2.43.1Links
What's Changed
- add MockExchange for offline development and testing by @mooncitydev in #107
- docs: sync hosted-pmxt custom endpoints by @realfishsam in #114
- feat: add fetchOrderBooks for multi-market order book retrieval by @psyberck in #130
- docs: include exchange in WebSocket examples by @999axel999 in #476
Full Changelog: v2.42.7f...v2.43.1f
v2.43.0
Added
- fetchOrderBook: Historical order book support via
params.sinceandparams.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
OrderBooktype (CCXT-compatible).
Changed
- fetchOrderBook signature widened from
(outcomeId, side?)to(outcomeId, limit?, params?). Backwards compatible —sidemoved toparams.side. All 14 exchange implementations, Router, and SDK updated. - SDK
fetchOrderBookreturn type widened toOrderBook | OrderBook[](array whensince+untilare both provided).
Installation
npm:
npm install pmxtjs@2.43.0PyPI:
pip install pmxt==2.43.0Links
What's Changed
- add MockExchange for offline development and testing by @mooncitydev in #107
- docs: sync hosted-pmxt custom endpoints by @realfishsam in #114
- feat: add fetchOrderBooks for multi-market order book retrieval by @psyberck in #130
- fix: document watchOrderBook limit and params by @iccccccccccccc in #406
- fix: add Polymarket V2 balance cache endpoint by @peterxing in #460
New Contributors
- @iccccccccccccc made their first contribution in #406
- @peterxing made their first contribution in #460
Full Changelog: v2.42.7f...v2.43.0f