NautilusTrader 1.112.0 Beta - Release Notes
This release includes substantial breaking changes.
The platforms internal timestamping has been standardized to nanoseconds. This
decision was made to increase the accuracy of backtests to nanosecond precision,
improve data handling including order book and custom data for backtesting, and
to future-proof the platform to a more professional standard. The top level user
API still takes datetime and timedelta objects for usability.
There has also been some standardization of naming conventions to align more
closely with established financial market terminology with reference to the
FIX5.0 SP2 specification, and CME MDP 3.0.
Breaking Changes
- Move
BarTypeintoBaras a property. - Change signature of
Barhandling methods due to above. - Remove
Instrument.leverage(incorrect place for concept). - Change
ExecutionClient.venueas aVenuetoExecutionClient.nameas astr. - Change serialization of timestamp datatype to
int64. - Extensive changes to serialization constant names.
- Rename
OrderFilled.filled_qtytoOrderFilled.last_qty. - Rename
OrderFilled.filled_pricetoOrderFilled.last_px. - Rename
avg_pricetoavg_pxin methods and properties. - Rename
avg_opentoavg_px_openin methods and properties. - Rename
avg_closetoavg_px_closein methods and properties. - Rename
Position.relative_quantitytoPosition.relative_qty. - Rename
Position.peak_quantitytoPosition.peak_qty.
Enhancements
- Standardize nanosecond timestamps.
- Add time unit conversion functions as found in
nautilus_trader.core.datetime. - Add optional
brokerproperty toVenueto assist with routing. - Enhance state reconciliation from both
LiveExecutionEngineandLiveExecutionClient. - Add internal messages to aid state reconciliation.
Fixes
DataCacheincorrectly caching bars.