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_REPLACEtoOrderState.PENDING_UPDATE - Renamed
timestamp_origin_nstots_event_ns. - Renamed
timestamp_nsfor data tots_recv_ns. - Renamed
updated_nstots_updated_ns. - Renamed
submitted_nstots_submitted_ns. - Renamed
rejected_nstots_rejected_ns. - Renamed
accepted_nstots_accepted_ns. - Renamed
pending_nstots_pending_ns. - Renamed
canceled_nstots_canceled_ns. - Renamed
triggered_nstots_triggered_ns. - Renamed
expired_nstots_expired_ns. - Renamed
execution_nstots_filled_ns. - Renamed
OrderBookLeveltoBookLevel. - Renamed
Order.volumetoOrder.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_analysisconfig option forBacktestEngine. - Removed
TradeMatchIdin favour of bare string. - Removed redundant conversion to
pd.Timestampwhen checking timestamps. - Removed redundant data
to_serializable_strmethods. - Removed redundant data
from_serializable_strmethods. - Removed redundant
__ne__implementations. - Removed redundant
MsgPackSerializercruft. - Removed redundant
ObjectCacheandIdentifierCache. - Removed redundant string constants.
Fixes
- Fixed millis to nanos in
CCXTExecutionClient. - Added missing trigger to
UpdateOrderhandling. - Removed all
import *.