NautilusTrader 1.180.0 Beta
Released on 3rd November 2023 (UTC).
Enhancements
- Improved internal latency for live engines by using
loop.call_soon_threadsafe(...) - Improved
RedisCacheDatabaseclient connection error handling with retries - Added
WebSocketClientconnection headers, thanks @ruthvik125 and @twitu - Added
support_contingent_ordersoption for venues (to simulate venues which do not support contingent orders) - Added
StrategyConfig.manage_contingent_ordersoption (to automatically manage open contingent orders) - Added
FuturesContract.activation_utcproperty which returns apd.Timestamptz-aware (UTC) - Added
OptionsContract.activation_utcproperty which returns apd.Timestamptz-aware (UTC) - Added
CryptoFuture.activation_utcproperty which returns apd.Timestamptz-aware (UTC) - Added
FuturesContract.expiration_utcproperty which returns apd.Timestamptz-aware (UTC) - Added
OptionsContract.expiration_utcproperty which returns apd.Timestamptz-aware (UTC) - Added
CryptoFuture.expiration_utcproperty which returns apd.Timestamptz-aware (UTC)
Breaking Changes
- Renamed
FuturesContract.expiry_datetoexpiration_ns(and associated params) asuint64_tUNIX nanoseconds - Renamed
OptionsContract.expiry_datetoexpiration_ns(and associated params) asuint64_tUNIX nanoseconds - Renamed
CryptoFuture.expiry_datetoexpiration_ns(and associated params) asuint64_tUNIX nanoseconds - Changed
FuturesContractArrow schema - Changed
OptionsContractArrow schema - Changed
CryptoFutureArrow schema - Transformed orders will now retain the original
ts_inittimestamp - Removed unimplemented
batch_moreoption forStrategy.modify_order - Removed
InstrumentProvider.venueproperty (redundant as a provider may have many venues) - Dropped support for Python 3.9
Fixes
- Fixed
ParquetDataCatalogfile writing template, thanks @limx0 - Fixed
Binanceall orders requests which would omit order reports when using astartparam - Fixed managed GTD orders past expiry cancellation on restart (orders were not being canceled)
- Fixed managed GTD orders cancel timer on order cancel (timers were not being canceled)
- Fixed
BacktestEnginelogging error with immediate stop (caused by certain timestamps beingNone) - Fixed
BacktestNodeexceptions during backtest runs preventing next sequential run, thanks for reporting @cavan-black - Fixed
BinanceSpotPersmissionvalue error by relaxing typing forBinanceSpotSymbolInfo.permissions - Interactive Brokers adapter various fixes, thanks @rsmb7z