NautilusTrader 1.138.0 Beta
Release Notes
Released on 15th February 2022 (UTC).
This release contains numerous method, parameter and property name changes
For consistency and standardization with other protocols, the ExecutionId type
has been renamed to TradeId as they express the same concept with a more
standardized terminology. In the interests of enforcing correctness and
safety this type is now utilized for the TradeTick.trade_id.
Breaking Changes
- Renamed
workingorders toopenorders including all associated methods and params. - Renamed
completedorders toclosedorders including all associated methods and params. - Removed
activeorder concept (often confused withopen). - Renamed
triggertotrigger_price. - Renamed
StopMarketOrder.pricetoStopMarketOrder.trigger_price. - Renamed all params related to a
StopMarketOrderspricetotrigger_price. - Renamed
ExecutionIdtoTradeId. - Renamed
execution_idtotrade_id. - Renamed
Order.trade_idtoOrder.last_trade_id(for clarity). - Renamed other variations and references of 'execution ID' to 'trade ID'.
- Renamed
contingencytocontingency_type.
Enhancements
- Introduced the
TradeIdtype to enforcetrade_idtyping. - Improve handling of unleveraged cash asset positions including Crypto and Fiat spot currency instruments.
- Added
ExecEngineConfigoptionallow_cash_positions(Falseby default). - Added
TrailingOffsetTypeenum. - Added
TrailingStopMarketOrder. - Added
TrailingStopLimitOrder. - Added trailing order factory methods.
- Added
trigger_typeparam to stop orders. - Added
TriggerTypeenum. - Large refactoring of order base and impl classes.
- Overhaul of execution reports.
- Overhaul of execution state reconciliation.
Fixes
- Fixed WebSocket base reconnect handling.