NautilusTrader 1.208.0 Beta
Released on 15th December 2024 (UTC).
Enhancements
- Added specific
paramsfor data subscriptions and requests which supports Databentobbo-1sandbbo-1mquotes (#2083, #2094), thanks @faysou - Added support for
STOP_LIMITentry order type forOrderFactory.bracket(...) - Added
.group_bids(...)and.group_asks(...)forOrderBook - Added
.bids_to_dict()and.asks_to_dict()forOrderBook - Added
ShutdownSystemcommand andshutdown_system(...)method for components (system-wide shutdown for backtest, sandbox, or live environments) - Added
max_ws_reconnection_triestoBybitDataClientConfig(#2100), thanks @sunlei - Added additional API functionality for Bybit (#2102), thanks @sunlei
- Added position and execution.fast subscriptions for Bybit (#2104), thanks @sunlei
- Added
max_ws_reconnection_triestoBybitExecClientConfig(#2109), thanks @sunlei - Added
margin_init,margin_maint,maker_fee,taker_feeparams and attributes forFuturesContract - Added
margin_init,margin_maint,maker_fee,taker_feeparams and attributes forFuturesSpread - Added
margin_init,margin_maint,maker_fee,taker_feeparams and attributes forOptionsContract - Added
margin_init,margin_maint,maker_fee,taker_feeparams and attributes forOptionsSpread - Improved Databento symbology support for Interactive Brokers (#2113), thanks @rsmb7z
- Improved support of
STOP_MARKETandSTOP_LIMITorders for dYdX (#2069), thanks @Saransh-Bhandari - Improved timer validation for
interval_ns(avoids panicking from Rust)
Internal Improvements
- Added
.bids_as_map()and.asks_as_map()forOrderBookin Rust - Added type stubs for
coresubpackage - Added type stubs for
commonandmodelenums - Added type stubs for
common.messages - Added re-exports and module declarations to enhance code ergonomics and improve import discoverability
- Added subscriptions for block height websocket messages for dYdX (#2085), thanks @davidsblom
- Added sccache in CI (#2093), thanks @sunlei
- Refined
BybitWebSocketClientprivate channel authentication (#2101), thanks @sunlei - Refined
BybitWebSocketClientsubscribe and unsubscribe (#2105), thanks @sunlei - Refined place order class definitions for Bybit (#2106), thanks @sunlei
- Refined
BybitEnumParser(#2107), thanks @sunlei - Refined batch cancel orders for Bybit (#2111), thanks @sunlei
- Upgraded
tokiocrate to v1.42.0
Breaking Changes
- Renamed
LeveltoBookLevel(standardizes order book type naming conventions) - Renamed
LaddertoBookLadder(standardizes order book type naming conventions) - Changed
FuturesContractArrow schema (addedmargin_init,margin_maint,maker_fee,taker_fee) - Changed
FuturesSpreadArrow schema (addedmargin_init,margin_maint,maker_fee,taker_fee) - Changed
OptionsContractArrow schema (addedmargin_init,margin_maint,maker_fee,taker_fee) - Changed
OptionsSpreadArrow schema (addedmargin_init,margin_maint,maker_fee,taker_fee)
Fixes
- Fixed data requests when specifying
endwith no catalog registered (comparison betweenpd.TimestampandNoneType) - Fixed
BEST_EFFORT_CANCELEDorder status report for dYdX (#2082), thanks @davidsblom - Fixed order handling for
BEST_EFFORT_CANCELEDmessages of dYdX (#2095), thanks @davidsblom - Fixed specifying price for market orders on dYdX (#2088), thanks @davidsblom
- Fixed interest rate curve custom data and interpolation (#2090), thanks @gcheshkov
- Fixed
BybitHttpClienterror handling when not a JSON string (#2096), thanks @sunlei - Fixed
BybitWebSocketClientprivate channel reconnect (#2097), thanks @sunlei - Fixed incorrect order side use in
BybitExecutionClient(#2098), thanks @sunlei - Fixed default
http_base_urlfor Bybit (#2110), thanks @sunlei