NautilusTrader 1.170.0 Beta
Released on 11th March 2023 (UTC).
Breaking Changes
- Moved
backtest.data.providerstotest_kit.providers - Moved
backtest.data.wranglerstopersistence.wranglers(to be consolidated) - Moved
backtest.data.loaderstopersistence.loaders(to be consolidated) - Renamed
from_datetimetostartacross data request methods and properties - Renamed
to_datetimetoendacross data request methods and properties - Removed
RiskEngineConfig.deny_modify_pending_update(as now redundant with new pending event sequencing) - Removed redundant log sink machinery
- Changed parquet catalog schema dictionary integer key widths/types
- Invalidated all pickled data due to Cython 3.0.0b1 upgrade
Enhancements
- Added logging to file at core Rust level
- Added
DataCatalogConfigfor more cohesive data catalog configuration - Added
DataEngine.register_catalogto support historical data requests - Added
catalog_configfield to baseNautilusKernelConfig - Changed to immediately caching orders and order lists in
Strategy - Changed to checking duplicate
client_order_idandorder_list_idinStrategy - Changed generating and applying
OrderPendingUpdateandOrderPendingCancelinStrategy PortfolioAnalyzerPnL statistics now take optionalunrealized_pnl- Backtest performance statistics now include unrealized PnL in total PnL
Fixes
- Fixed Binance Futures trigger type parsing
- Fixed
DataEnginebar subscribe and unsubscribe logic, thanks for reporting @rsmb7z - Fixed
Actorhandling of bars, thanks @limx0 - Fixed
CancelAllOrderscommand handling for contingent orders not yet in matching core - Fixed
TrailingStopMarketOrderslippage calculation when notrigger_price, thanks for reporting @rsmb7z - Fixed
BinanceSpotInstrumentProviderparsing of quote asset (was using base), thanks for reporting @logogin - Fixed undocumented Binance time in force 'GTE_GTC', thanks for reporting @graceyangfan
- Fixed
Positioncalculation oflast_qtywhen commission currency was equal to base currency, thanks for reporting @rsmb7z - Fixed
BacktestEnginepost backtest run PnL performance statistics for currencies traded per venue, thanks for reporting @rsmb7z