|
| 1 | +# NautilusTrader 1.122.0 Beta - Release Notes |
| 2 | + |
| 3 | +This release includes numerous breaking changes with a view to enhancing the core |
| 4 | +functionality and API of the platform. The data and execution caches have been |
| 5 | +unified for simplicity. There have also been large changes to the accounting |
| 6 | +functionality, with 'hooks' added in preparation for accurate calculation and |
| 7 | +handling of margins. |
| 8 | + |
| 9 | +## Breaking Changes |
| 10 | +- Renamed `Account.balance()` to `Account.balance_total()`. |
| 11 | +- Consolidated`TradingStrategy.data` into `TradingStrategy.cache`. |
| 12 | +- Consolidated `TradingStrategy.execution` into `TradingStrategy.cache`. |
| 13 | +- Moved `redis` subpackage into `infrastructure`. |
| 14 | +- Moved some accounting methods back to `Instrument`. |
| 15 | +- Removed `Instrument.market_value()`. |
| 16 | +- Renamed `Portfolio.market_values()` to `Portfolio.net_exposures()`. |
| 17 | +- Renamed `Portfolio.market_value()` to `Portfolio.net_exposure()`. |
| 18 | +- Renamed `InMemoryExecutionDatabase` to `BypassCacheDatabase`. |
| 19 | +- Renamed `Position.relative_qty` to `Position.net_qty`. |
| 20 | +- Renamed `default_currency` to `base_currency`. |
| 21 | +- Removed `cost_currency` property from `Instrument`. |
| 22 | + |
| 23 | +## Enhancements |
| 24 | +- `ExecutionClient` now has the option of calculating account state. |
| 25 | +- Unified data and execution caches into single `Cache`. |
| 26 | +- Improved configuration options and naming. |
| 27 | +- Simplified `Portfolio` component registration. |
| 28 | +- Simplified wiring of `Cache` into components. |
| 29 | +- Added `repr` to execution messages. |
| 30 | +- Added `AccountType` enum. |
| 31 | +- Added `cost_currency` to `Position`. |
| 32 | +- Added `get_cost_currency()` to `Instrument`. |
| 33 | +- Added `get_base_currency()` to `Instrument`. |
| 34 | + |
| 35 | +## Fixes |
| 36 | +- Fixed `Order.is_working` for `PENDING_CANCEL` and `PENDING_REPLACE` states. |
| 37 | +- Fixed loss of precision for nanosecond timestamps in Redis. |
| 38 | +- Fixed state reconciliation when uninstantiated client. |
| 39 | + |
| 40 | +--- |
| 41 | + |
1 | 42 | # NautilusTrader 1.121.0 Beta - Release Notes |
2 | 43 |
|
3 | 44 | In this release there has been a major change to the use of inlines for method |
@@ -85,7 +126,7 @@ natural flow of command and event messages. |
85 | 126 | ## Breaking Changes |
86 | 127 | - Serializations involving `Money`. |
87 | 128 | - Changed usage of `Price` and `Quantity`. |
88 | | -- Renamed `BypassExecutionDatabase` to `InMemoryExecutionDatabase`. |
| 129 | +- Renamed `BypassExecutionDatabase` to `BypassCacheDatabase`. |
89 | 130 |
|
90 | 131 | ## Enhancements |
91 | 132 | - Rewired `RiskEngine` and `ExecutionEngine` sequence. |
|
0 commit comments