Download Latest Version v2.41.6 source code.tar.gz (1.8 MB)
Email in envelope

Get an email when there's a new version of pmxt

Home / v2.41.4f
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-15 1.4 kB
v2.41.4 source code.tar.gz 2026-05-15 1.8 MB
v2.41.4 source code.zip 2026-05-15 2.0 MB
Totals: 3 Items   3.9 MB 0

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:

:::bash
npm install pmxtjs@2.41.4

PyPI:

:::bash
pip install pmxt==2.41.4

Full Changelog: https://github.com/pmxt-dev/pmxt/compare/v2.41.3f...v2.41.4f

Source: README.md, updated 2026-05-15