NautilusTrader 1.156.0 Beta
Released on 19th October 2022 (UTC).
This will be the final release with support for Python 3.8.
Breaking Changes
- Added
OrderSide.NONEenum variant - Added
PositionSide.NONEenum variant - Changed order of
TriggerTypeenum variants - Renamed
AggressorSide.UNKNOWN->AggressorSide.NONE(for consistency with other enums) - Renamed
Order.typetoOrder.order_type(reduces ambiguity and aligns with Rust struct field) - Renamed
OrderInitialized.typetoOrderInitialized.order_typereduces ambiguity) - Renamed
Bar.typetoBar.bar_type(reduces ambiguity and aligns with Rust struct field) - Removed redundant
check_position_existsflag - Removed
hyperoptas considered unmaintained and there are better options - Existing pickled data for
QuoteTickis now invalid (change to schema for correctness) - Existing catalog data for
OrderInitializedis now invalid (change to schema for emulation)
Enhancements
- Added configurable automated in-flight order status checks
- Added order
sidefilter to numerous cache order methods - Added position
sidefilter to numerous cache position methods - Added optional
order_sidetocancel_all_ordersstrategy method - Added optional
position_sidetoclose_all_positionsstrategy method - Added support for Binance Spot second bars
- Added
RelativeVolatilityIndexindicator, thanks @graceyangfan - Extracted
OrderMatchingEnginefromSimulatedExchangewith refinements - Extracted
MatchingCorefromOrderMatchingEngine - Improved HTTP error handling and client logging (messages now contain reason)
Fixes
- Fixed price and size precision validation for
QuoteTickfrom raw values - Fixed IB adapter data parsing for decimal precision
- Fixed HTTP error handling and releasing of response coroutines, thanks @jackma
- Fixed
Positioncalculations and account for when any base currency == commission currency, thanks @jackma