v2.48.0
Added
- Core: New
UnifiedSeriestype representing recurring event groupings — the fourth tier above Event -> Market -> Outcome. Examples: KalshiKXATPMATCH(every ATP match), Polymarketwta(every WTA match). - Core:
fetchSeries(params?)method onBaseExchangewith vendor implementations for Kalshi (GetSeriesList), Polymarket and Polymarket US (Gamma/series+/series/{id}), Opinion (emulated from rawcollectionfield), and Gemini-Titan (emulated from rawseriesfield). Venues without a series concept return[]and reporthas.fetchSeries: false. - Core: New
series?: stringparameter onfetchEventsfor filtering by venue-native series id / ticker / slug. Passes through to vendor APIs where supported (Kalshi?series_ticker=, Polymarket Gamma?series_id=); venues without one return[]rather than silently ignore the filter. - Core:
Router.fetchSeries()andRouter.fetchEvents({series})for cross-venue queries by normalized PMXT series id (e.g.tennis-atp-match,nfl,crypto-btc-15m). Backed by a curated venue-id map atcore/src/router/series-map.tscovering tennis, American sports, soccer, esports, and crypto. - Core:
ExchangeHas.fetchSeriescapability flag.
Installation
npm:
npm install pmxtjs@2.48.0
npm install -g @pmxt/cli@2.48.0PyPI:
pip install pmxt==2.48.0Links
What's Changed
- feat: UnifiedSeries — fetchSeries across venues, Router cross-venue series, both SDKs by @realfishsam in #766
Full Changelog: v2.47.0f...v2.48.0f