project-x-py

Changelog

All notable changes to the ProjectX Python SDK will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

The canonical changelog is the repository root CHANGELOG.md. This page is a docs-site copy.

[Unreleased]

[4.4.2] - 2026-10-29

place_bracket_order polls fill status up to 6 times (1s apart) when the fill wait returns with 0 filled, so a lagging fill still gets stop/target legs (thanks @blurxy, #179). See the root CHANGELOG for the full note.

[4.4.1] - 2026-10-15

Orderbook get_statistics() uses pl.len() for trade-side counts so it works under polars 2.0, where pl.count() no longer accepts zero arguments (#168). See the root CHANGELOG for the full note.

[4.4.0] - 2026-10-04

Features is now an enum.StrEnum. str() and f-strings return the member value (for example "orderbook") instead of "Features.ORDERBOOK". Equality with strings, .value, and JSON serialization are unchanged (#155). src/ formats under ruff 0.16. See the root CHANGELOG for the full note.

[4.3.3] - 2026-09-29

Runtime cachetools is 7.2.0 (>=7.1.7). Use remains TTLCache only; typing updated for cachetools 7 stubs (#150, #119). See the root CHANGELOG for the full note.

[4.3.2] - 2026-09-26

RealtimeDataManager.cleanup() no longer sweeps bounded-statistics counters at teardown. In-session CleanupScheduler cleanup is unchanged, and TradingSuite.disconnect() still joins SignalR hub receive tasks before freeing per-instrument data (#98). Lockfile pins anyio 4.14.2 (#146). CI uses softprops/action-gh-release v3 (#139). See the root CHANGELOG for the full note.

[4.3.1] - 2026-09-14

Quote and depth SignalR forwards coalesce to the latest payload per contract so a quote/depth flood cannot starve NEW_BAR. Trades and user-hub events are not dropped (#143). See the root CHANGELOG for the full list.

[4.3.0] - 2026-09-11

aggregate_session_bars() rebuilds CME/TopstepX-aligned daily candles from intraday bars. Realtime health no longer reports 100 when both hubs are closed; closed-hub heartbeats trigger reconnect; shielded HTTP timeouts are retrieved. See the root CHANGELOG for the full list (#140, #141).

[4.2.1] - 2026-09-03

get_session_data() no longer hangs when the bar cache is locked. Reads time out (default 2s) and return the last snapshot when one exists (#137). See the root CHANGELOG for the full list.

[4.2.0] - 2026-08-31

get_bars() pages the 20,000-bar Gateway cap and stitches expired months on hourly and coarser product-root requests. Sub-hour / tick history stays on the active contract. TradingSuite.get_stats() no longer re-enters the aggregator (#133, #134). See the root CHANGELOG for the full list.

[4.1.2] - 2026-08-30

Market-hub WS 1009 frame cap, user-hub stale reconnect, awaited get_stats(), and Practice live=True instrument fallback. See the root CHANGELOG for the full list.

[4.1.1] - 2026-08-30

Fix multi-instrument TradingSuite.create() racing the shared market-hub send() (Subscription returned False). See the root CHANGELOG for the full list.

[4.1.0] - 2026-08-30

Gateway coverage, live-trading risk OCO and entry-order gating, realtime stale-feed/batching/DST fixes, and honest indicator/docs claims. See the root CHANGELOG for the full list.

[4.0.1] - 2026-08-30

Live-order safety: mutating POSTs are not retried, stale-feed reconnect restores subscriptions, and native brackets fall back when children cannot be uniquely resolved. See the root CHANGELOG for the full list.

[4.0.0] - 2026-08-29

Breaking

Added

See the v3 → v4 migration guide.

[3.5.7] - 2025-02-02

🐛 Fixed

Order Placement:

📚 Documentation

Examples:

[3.5.6] - 2025-02-02

🐛 Fixed

Multi-Instrument Event System:

Bracket Order Improvements:

[3.4.0] - 2025-08-28

🚀 New Feature: ETH vs RTH Trading Sessions (Experimental)

IMPORTANT: This is an experimental feature that has not been thoroughly tested with live market data. Use with caution in production environments.

This release introduces comprehensive trading session filtering, allowing you to separate Electronic Trading Hours (ETH) from Regular Trading Hours (RTH) for more precise market analysis and strategy execution.

Added

Known Limitations

[3.3.6] - 2025-08-28

Major Quality Assurance Release

[3.3.4] - 2025-01-23

Added

Changed

Removed

[3.3.0] - 2025-01-21

Breaking Changes

Added

Fixed

Removed

For the complete changelog, see the GitHub releases.