NautilusTrader 1.141.0 Beta
Released on 4th April 2022 (UTC).
Breaking Changes
- Renamed
BacktestNode.run_sync()toBacktestNode.run() - Renamed
flatten_position()toclose_position() - Renamed
flatten_all_positions()toclose_all_positions() - Renamed
Order.flatten_side()toOrder.closing_side() - Renamed
TradingNodeConfigcheck_residuals_delaytotimeout_post_stop - The
SimulatedExchangewill now 'receive' market data prior to theDataEngine
(note that this did not affect any test) - Tightened requirement for
DataTypetypes to be subclasses ofData CacheDatabaseConfig.typenow defaults toin-memoryNAUTILUS_CATALOGenv var changed toNAUTILUS_PATHDataCatalogroot path now located under$OLD_PATH/catalog/from the Nautilus pathhiredisandredisare now optional extras as 'redis'hyperoptis now an optional extra as 'hyperopt'
Enhancements
- Unify
NautilusKernelacross backtest and live systems - Improved configuration by grouping into
configsubpackage - Improved configuration objects and flows
- Numerous improvements to the Binance Spot/Margin and Futures integration
- Added Docker image builds and GH packages
- Added
BinanceFuturesMarkPriceUpdatetype and data stream - Added generic
subscribeandunsubscribeto template - Added Binance Futures COIN_M testnet
- The clarity of various error messages was improved
Fixes
- Fixed multiple instruments in
DataCatalog(#554), (#560) by @limx0 - Fixed timestamp ordering streaming from
DataCatalog(#561) by @limx0 - Fixed
CSVReader(#563) by @limx0 - Fixed slow subscribers to the Binance WebSocket streams
- Fixed configuration of
base_currencyfor backtests - Fixed importable strategy configs (previously not returning correct class)
- Fixed
fully_qualified_name()format