v1.183.0
版本发布时间: 2024-01-12 21:40:08
nautechsystems/nautilus_trader最新发布版本:v1.210.0(2025-01-10 12:22:38)
NautilusTrader 1.183.0 Beta
Released on 12th January 2024 (UTC).
Enhancements
- Added
NautilusConfig.json_primitives
to convert object to Python dictionary with JSON primitive values - Added
InstrumentClass.BOND
- Added
MessageBusConfig
use_trader_prefix
anduse_trader_id
options (provides more control over stream names) - Added
CacheConfig.drop_instruments_on_reset
(default true to retain current behavior) - Implemented core logging interface via the
log
crate, thanks @twitu - Implemented global atomic clock in Rust (improves performance and ensures properly monotonic timestamps in real-time), thanks @twitu
- Improved Interactive Brokers adapter raising docker
RuntimeError
only when needed (not when using TWS), thanks @rsmb7z - Upgraded core HTTP client to latest
hyper
andreqwest
, thanks @ayush-sb - Optimized Arrow encoding (resulting in ~100x faster writes for the Parquet data catalog)
Breaking Changes
- Changed
ParquetDataCatalog
custom data prefix fromgeneticdata_
tocustom_
(you will need to rename any catalog subdirs) - Changed
ComponentStateChanged
Arrow schema forconfig
fromstring
tobinary
- Changed
OrderInitialized
Arrow schema foroptions
fromstring
tobinary
- Changed
OrderBookDeltas
dictionary representation ofdeltas
field from JSONbytes
to a list ofdict
(standardize with all other data types) - Changed external message publishing stream name keys to be
trader-{trader_id}-{instance_id}-streams
(with options allows many traders to publish to the same streams) - Renamed all version 2 data wrangler classes with a
V2
suffix for clarity - Renamed
GenericData
toCustomData
(more accurately reflects the nature of the type) - Renamed
DataClient.subscribed_generic_data
to.subscribed_custom_data
- Renamed
MessageBusConfig.stream
to.streams_prefix
(more accurate) - Renamed
ParquetDataCatalog.generic_data
to.custom_data
- Renamed
TradeReport
toFillReport
(more conventional terminology, and more clearly separates market data from user execution reports) - Renamed
asset_type
toinstrument_class
across the codebase (more conventional terminology) - Renamed
AssetType
enum toInstrumentClass
(more conventional terminology) - Renamed
AssetClass.BOND
toAssetClass.DEBT
(more conventional terminology) - Removed
AssetClass.METAL
(not strictly an asset class, more a futures category) - Removed
AssetClass.ENERGY
(not strictly an asset class, more a futures category) - Removed
multiplier
param fromEquity
constructor (not applicable) - Removed
size_precision
,size_increment
, andmultiplier
fields fromEquity
dictionary representation (not applicable) - Removed
TracingConfig
(now redundant with new logging implementation) - Removed
Ticker
data type and associated methods (not a type which can be practically normalized and so becomes adapter specific generic data) - Moved
AssetClass.SPORTS_BETTING
toInstrumentClass.SPORTS_BETTING
Fixes
- Fixed logger thread leak, thanks @twitu
- Fixed handling of configuration objects to work with
StreamingFeatherWriter
- Fixed
BinanceSpotInstrumentProvider
fee loading key error for partial instruments load, thanks for reporting @doublier1 - Fixed Binance API key configuration parsing for testnet (was falling through to non-testnet env vars)
- Fixed TWAP execution algorithm scheduled size handling when first order should be for the entire size, thanks for reporting @pcgm-team
- Added
BinanceErrorCode.SERVER_BUSY
(-1008), also added to the retry error codes - Added
BinanceOrderStatus.EXPIRED_IN_MATCH
which is when an order was canceled by the exchange due self-trade prevention (STP), thanks for reporting @doublier1
1、 nautilus_trader-1.183.0-cp310-cp310-macosx_12_0_x86_64.whl 54.74MB
2、 nautilus_trader-1.183.0-cp310-cp310-macosx_14_0_arm64.whl 50.1MB
3、 nautilus_trader-1.183.0-cp310-cp310-manylinux_2_31_x86_64.whl 57.41MB
4、 nautilus_trader-1.183.0-cp310-cp310-manylinux_2_35_x86_64.whl 56.79MB
5、 nautilus_trader-1.183.0-cp310-cp310-win_amd64.whl 25.54MB
6、 nautilus_trader-1.183.0-cp311-cp311-macosx_12_0_x86_64.whl 63.4MB
7、 nautilus_trader-1.183.0-cp311-cp311-macosx_14_0_arm64.whl 50.13MB
8、 nautilus_trader-1.183.0-cp311-cp311-manylinux_2_31_x86_64.whl 57.46MB
9、 nautilus_trader-1.183.0-cp311-cp311-manylinux_2_35_x86_64.whl 56.84MB
10、 nautilus_trader-1.183.0-cp311-cp311-win_amd64.whl 25.59MB
11、 nautilus_trader-1.183.0-cp312-cp312-macosx_12_0_x86_64.whl 62.94MB
12、 nautilus_trader-1.183.0-cp312-cp312-macosx_14_0_arm64.whl 50.16MB
13、 nautilus_trader-1.183.0-cp312-cp312-manylinux_2_31_x86_64.whl 57.26MB
14、 nautilus_trader-1.183.0-cp312-cp312-manylinux_2_35_x86_64.whl 56.89MB
15、 nautilus_trader-1.183.0-cp312-cp312-win_amd64.whl 25.6MB
16、 nautilus_trader-1.183.0.tar.gz 973.1KB