v1.145.0

nautechsystems/nautilus_traderv1.145.0May 16, 2022by github-actions[bot]

AI Summary

Early release addressing build errors in the sdist package, featuring API changes for order expiration and moving PortfolioAnalyzer.

Key Highlights

  • All raw order constructors now take expire_time_ns
  • PortfolioAnalyzer moved from Trader to Portfolio

Breaking Changes

  • Changed order constructors to use expire_time_ns (int64)
  • Moved PortfolioAnalyzer from Trader to Portfolio

Full Release Notes

# NautilusTrader 1.145.0 Beta

Released on 15th May 2022 (UTC).

This is an early release due to the build error in the sdist for `1.144.0`.
The error is due to the `nautilus_core` Rust source not being included in the sdist package.

### Breaking Changes
- All raw order constructors now take `expire_time_ns` int64 rather than a datetime
- All order serializations due to `expire_time_ns` option handling
- `PortfolioAnalyzer` moved from `Trader` to `Portfolio`

### Enhancements
- `PortfolioAnalyzer` now available to strategies via `self.portfolio.analyzer`

### Fixes
None