Releases: pmxt-dev/pmxt
Releases · pmxt-dev/pmxt
v2.42.5
Added
- Docs: Added
watchTickerWebSocket endpoint to Data Feeds documentation with subscribe/unsubscribe protocol and SDK code samples.
Installation
npm:
npm install pmxtjs@2.42.5PyPI:
pip install pmxt==2.42.5Links
Full Changelog: v2.42.4f...v2.42.5f
v2.42.4
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.4PyPI:
pip install pmxt==2.42.4Links
Full Changelog: v2.42.3f...v2.42.4f
v2.42.3
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.3PyPI:
pip install pmxt==2.42.3Links
Full Changelog: v2.42.2f...v2.42.3f
v2.42.2
Fixed
- Build: Fixed
FeedClientconstructor to useresolvePmxtBaseUrlobject signature (TS SDK build failure).
Installation
npm:
npm install pmxtjs@2.42.2PyPI:
pip install pmxt==2.42.2Links
Full Changelog: v2.41.7f...v2.42.2f
v2.41.7
Fixed
- Docs: Updated supported venues list on all WebSocket pages (
watchOrderBook,watchOrderBooks,watchAllOrderBooks,watchTrades). Now correctly listspolymarket,kalshi,limitless,opinion.
Installation
npm:
npm install pmxtjs@2.41.7PyPI:
pip install pmxt==2.41.7Links
Full Changelog: v2.41.6f...v2.41.7f
v2.41.6
Fixed
- Docs: Fixed
IndexError/TypeErrorin 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.6PyPI:
pip install pmxt==2.41.6Links
Full Changelog: v2.41.5f...v2.41.6f
v2.41.5
Fixed
- Docs: WebSocket pages (Realtime group) no longer disappear from the docs sidebar after CI regeneration.
generate-mintlify-docs.jsnow auto-discoverswatch-*.mdxandwebsocket.mdxpages on disk instead of relying on the OpenAPI spec (which correctly excludes WebSocket methods). - Docs: Removed
testDummyMethodfrom the public API docs sidebar.
Installation
npm:
npm install pmxtjs@2.41.5PyPI:
pip install pmxt==2.41.5Links
Full Changelog: v2.41.4f...v2.41.5f
v2.41.4
Fixed
- Polymarket: Replaced
@nevuamarkets/poly-websocketswith native WebSocket implementation forwatchTradesandwatchOrderBook. The third-party package was silently droppinglast_trade_priceevents. Native WebSocket connects directly towss://ws-subscriptions-clob.polymarket.com/ws/marketand receives all event types reliably. - Polymarket:
watchTradesnow buffers trades between calls instead of silently discarding them when no promise is waiting. Fixes timeout errors on active markets. - Kalshi:
watchTradesWebSocket 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.4PyPI:
pip install pmxt==2.41.4Links
Full Changelog: v2.41.3f...v2.41.4f
v2.41.3
Fixed
- Polymarket: market orders now use FOK instead of fake GTC limit orders with fallback prices.
createOrder({ type: 'market' })now calls the CLOB's nativecreateMarketOrder()and posts withFOK(fill-or-kill), matching how all other exchanges handle market orders. - Polymarket: fill amounts no longer divided by 1e6. The CLOB response's
makingAmount/takingAmountare 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 callsbuildOrder(SOR plans fills), signs locally with the user's private key, then callssubmitOrder(SOR records fills). No signer webhook needed. Private key never leaves the SDK.
Installation
npm:
npm install pmxtjs@2.41.3PyPI:
pip install pmxt==2.41.3Links
Full Changelog: v2.41.1f...v2.41.3f
v2.41.1
Added
- Docs: Watch methods (
watchOrderBook,watchOrderBooks,watchAllOrderBooks,watchTrades,watchAddress) now show WebSocket transport documentation withws:///wss://URLs, subscribe/unsubscribe protocol, and JSON message examples. Auto-generated by the OpenAPI generator. - SDK (TypeScript + Python):
watchAllOrderBooks()/watch_all_order_books()— renamed fromfirehose(). 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.1PyPI:
pip install pmxt==2.41.1Links
Full Changelog: v2.41.0f...v2.41.1f