NautilusTrader 1.128.0 Beta - Release Notes
This release continues the focus on the core system, with upgrades and cleanups
to the component base class. The concept of an active order has been introduced,
which is an order whose state can change (is not a completed order).
Breaking Changes
- All configuration due
pydanticupgrade. - Throttling config now takes string e.g. "100/00:00:01" which is 100 / second.
- Renamed
DataProducerFacadetoDataProducer. - Renamed
fill.sidetofill.order_side(clarity and standardization). - Renamed
fill.typetofill.order_type(clarity and standardization).
Enhancements
- Added serializable configuration classes leveraging
pydantic. - Improved adding bar data to
BacktestEngine. - Added
BacktestEngine.add_bar_objects(). - Added
BacktestEngine.add_bars_as_ticks(). - Added order
activeconcept, withorder.is_activeand cache methods. - Added
ComponentStateChangedevent. - Added
Component.degrade()andComponent.fault()command methods. - Added
Component.on_degrade()andComponent.on_fault()handler methods. - Added
ComponentState.PRE_INITIALIZED. - Added
ComponentState.DEGRADING. - Added
ComponentState.DEGRADED. - Added
ComponentState.FAULTING. - Added
ComponentState.FAULTED. - Added
ComponentTrigger.INITIALIZE. - Added
ComponentTrigger.DEGRADE. - Added
ComponentTrigger.DEGRADED. - Added
ComponentTrigger.FAULT. - Added
ComponentTrigger.FAULTED. - Wired up
Tickerdata type.
Fixes
DataEngine.subscribed_bars()now reports internally aggregated bars also.