Skip to content

Releases: pmxt-dev/pmxt

v2.42.5

19 May 21:16

Choose a tag to compare

Added

  • Docs: Added watchTicker WebSocket endpoint to Data Feeds documentation with subscribe/unsubscribe protocol and SDK code samples.

Installation

npm:

npm install pmxtjs@2.42.5

PyPI:

pip install pmxt==2.42.5

Links

Full Changelog: v2.42.4f...v2.42.5f

v2.42.4

19 May 21:10

Choose a tag to compare

Fixed

  • Docs: Moved Data Feeds group to the bottom of the API Reference sidebar. Prediction market endpoints come first.

Installation

npm:

npm install pmxtjs@2.42.4

PyPI:

pip install pmxt==2.42.4

Links

Full Changelog: v2.42.3f...v2.42.4f

v2.42.3

19 May 21:07

Choose a tag to compare

Added

  • Docs: Data feed endpoints (Binance + Chainlink) now auto-generated in OpenAPI spec and Mintlify docs. 9 new endpoints under /api/feeds/{feed}/, FeedTicker/FeedMarket/FeedOracleRound schemas, SDK code samples for Python and TypeScript FeedClient, and a "Data Feeds" sidebar group.

Installation

npm:

npm install pmxtjs@2.42.3

PyPI:

pip install pmxt==2.42.3

Links

Full Changelog: v2.42.2f...v2.42.3f

v2.42.2

19 May 20:54

Choose a tag to compare

Fixed

  • Build: Fixed FeedClient constructor to use resolvePmxtBaseUrl object signature (TS SDK build failure).

Installation

npm:

npm install pmxtjs@2.42.2

PyPI:

pip install pmxt==2.42.2

Links

Full Changelog: v2.41.7f...v2.42.2f

v2.41.7

17 May 17:46

Choose a tag to compare

Fixed

  • Docs: Updated supported venues list on all WebSocket pages (watchOrderBook, watchOrderBooks, watchAllOrderBooks, watchTrades). Now correctly lists polymarket, kalshi, limitless, opinion.

Installation

npm:

npm install pmxtjs@2.41.7

PyPI:

pip install pmxt==2.41.7

Links

Full Changelog: v2.41.6f...v2.41.7f

v2.41.6

16 May 20:59

Choose a tag to compare

Fixed

  • Docs: Fixed IndexError / TypeError in WebSocket code examples (watchOrderBook, watchAllOrderBooks) when orderbook has no bids or asks. All examples now guard against empty orderbooks.

Installation

npm:

npm install pmxtjs@2.41.6

PyPI:

pip install pmxt==2.41.6

Links

Full Changelog: v2.41.5f...v2.41.6f

v2.41.5

16 May 20:05

Choose a tag to compare

Fixed

  • Docs: WebSocket pages (Realtime group) no longer disappear from the docs sidebar after CI regeneration. generate-mintlify-docs.js now auto-discovers watch-*.mdx and websocket.mdx pages on disk instead of relying on the OpenAPI spec (which correctly excludes WebSocket methods).
  • Docs: Removed testDummyMethod from the public API docs sidebar.

Installation

npm:

npm install pmxtjs@2.41.5

PyPI:

pip install pmxt==2.41.5

Links

Full Changelog: v2.41.4f...v2.41.5f

v2.41.4

15 May 20:16

Choose a tag to compare

Fixed

  • Polymarket: Replaced @nevuamarkets/poly-websockets with native WebSocket implementation for watchTrades and watchOrderBook. The third-party package was silently dropping last_trade_price events. Native WebSocket connects directly to wss://ws-subscriptions-clob.polymarket.com/ws/market and receives all event types reliably.
  • Polymarket: watchTrades now buffers trades between calls instead of silently discarding them when no promise is waiting. Fixes timeout errors on active markets.
  • Kalshi: watchTrades WebSocket handler updated from API v1 field names (yes_price, count) to v2 (yes_price_dollars, count_fp). Fixes silent data corruption where prices and amounts returned as 0.

Documentation

  • Watch methods (watchOrderBook, watchOrderBooks, watchAllOrderBooks, watchTrades) moved from OpenAPI spec to dedicated MDX pages with proper WebSocket documentation, per-method parameter tables, response schemas, and SDK code examples.

Installation

npm:

npm install pmxtjs@2.41.4

PyPI:

pip install pmxt==2.41.4

Links

Full Changelog: v2.41.3f...v2.41.4f

v2.41.3

15 May 19:12

Choose a tag to compare

Fixed

  • Polymarket: market orders now use FOK instead of fake GTC limit orders with fallback prices. createOrder({ type: 'market' }) now calls the CLOB's native createMarketOrder() and posts with FOK (fill-or-kill), matching how all other exchanges handle market orders.
  • Polymarket: fill amounts no longer divided by 1e6. The CLOB response's makingAmount/takingAmount are already human-readable values, not raw 6-decimal units. Dividing by 1e6 was turning 12-share fills into 0.000012 dust. This was the root cause of all dust fills on Polymarket.

Added

  • SDK (TypeScript + Python): non-custodial SOR trading. createOrder() on the SOR exchange now does build/sign/submit internally. The SDK calls buildOrder (SOR plans fills), signs locally with the user's private key, then calls submitOrder (SOR records fills). No signer webhook needed. Private key never leaves the SDK.

Installation

npm:

npm install pmxtjs@2.41.3

PyPI:

pip install pmxt==2.41.3

Links

Full Changelog: v2.41.1f...v2.41.3f

v2.41.1

15 May 18:20

Choose a tag to compare

Added

  • Docs: Watch methods (watchOrderBook, watchOrderBooks, watchAllOrderBooks, watchTrades, watchAddress) now show WebSocket transport documentation with ws:// / wss:// URLs, subscribe/unsubscribe protocol, and JSON message examples. Auto-generated by the OpenAPI generator.
  • SDK (TypeScript + Python): watchAllOrderBooks() / watch_all_order_books() — renamed from firehose(). Streams all orderbook updates across venues with optional venue filter. firehose() kept as deprecated alias.

Fixed

  • Docs: Watch methods previously showed as HTTP POST endpoints (curl --request POST). Now correctly documented as WebSocket endpoints with connection URLs for both local sidecar and hosted API.

Installation

npm:

npm install pmxtjs@2.41.1

PyPI:

pip install pmxt==2.41.1

Links

Full Changelog: v2.41.0f...v2.41.1f