NautilusTrader 1.138.0 Beta
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
working
orders toopen
orders including all associated methods and params. - Renamed
completed
orders toclosed
orders including all associated methods and params. - Removed
active
order concept (often confused withopen
). - Renamed
trigger
totrigger_price
. - Renamed
StopMarketOrder.price
toStopMarketOrder.trigger_price
. - Renamed all params related to a
StopMarketOrders
price
totrigger_price
. - Renamed
ExecutionId
toTradeId
. - Renamed
execution_id
totrade_id
. - Renamed
Order.trade_id
toOrder.last_trade_id
(for clarity). - Renamed other variations and references of 'execution ID' to 'trade ID'.
- Renamed
contingency
tocontingency_type
.
Enhancements
- Introduced the
TradeId
type to enforcetrade_id
typing. - Improve handling of unleveraged cash asset positions including Crypto and Fiat spot currency instruments.
- Added
ExecEngineConfig
optionallow_cash_positions
(False
by default). - Added
TrailingOffsetType
enum. - Added
TrailingStopMarketOrder
. - Added
TrailingStopLimitOrder
. - Added trailing order factory methods.
- Added
trigger_type
param to stop orders. - Added
TriggerType
enum. - Large refactoring of order base and impl classes.
- Overhaul of execution reports.
- Overhaul of execution state reconciliation.
Fixes
- Fixed WebSocket base reconnect handling.