NautilusTrader 1.123.0 Beta
NautilusTrader 1.123.0 Beta - Release Notes
A major feature of this release is a complete re-design of serialization for the
platform, along with initial support for the Parquet format.
The MessagePack serialization functionality has been refined and retained.
In the interests of explicitness there is now a convention that timestamps are
named either timestamp_ns
, or prepended with ts
. Timestamps which are
represented with an int64
are always in nanosecond resolution, and appended
with _ns
accordingly.
Initial scaffolding for new backtest data tooling has been added.
Breaking Changes
- Renamed
OrderState.PENDING_REPLACE
toOrderState.PENDING_UPDATE
- Renamed
timestamp_origin_ns
tots_event_ns
. - Renamed
timestamp_ns
for data tots_recv_ns
. - Renamed
updated_ns
tots_updated_ns
. - Renamed
submitted_ns
tots_submitted_ns
. - Renamed
rejected_ns
tots_rejected_ns
. - Renamed
accepted_ns
tots_accepted_ns
. - Renamed
pending_ns
tots_pending_ns
. - Renamed
canceled_ns
tots_canceled_ns
. - Renamed
triggered_ns
tots_triggered_ns
. - Renamed
expired_ns
tots_expired_ns
. - Renamed
execution_ns
tots_filled_ns
. - Renamed
OrderBookLevel
toBookLevel
. - Renamed
Order.volume
toOrder.size
.
Enhancements
- Adapter dependencies are now optional extras at installation.
- Added arrow/parquet serialization.
- Added object
to_dict()
andfrom_dict()
methods. - Added
Order.is_pending_update
. - Added
Order.is_pending_cancel
. - Added
run_analysis
config option forBacktestEngine
. - Removed
TradeMatchId
in favour of bare string. - Removed redundant conversion to
pd.Timestamp
when checking timestamps. - Removed redundant data
to_serializable_str
methods. - Removed redundant data
from_serializable_str
methods. - Removed redundant
__ne__
implementations. - Removed redundant
MsgPackSerializer
cruft. - Removed redundant
ObjectCache
andIdentifierCache
. - Removed redundant string constants.
Fixes
- Fixed millis to nanos in
CCXTExecutionClient
. - Added missing trigger to
UpdateOrder
handling. - Removed all
import *
.