Expand description
Python bindings aggregator crate for NautilusTrader.
The nautilus-pyo3 crate collects the Python bindings generated across the NautilusTrader workspace
and re-exports them through a single shared library that can be included in binary wheels.
§NautilusTrader
NautilusTrader is an open-source, production-grade, Rust-native engine for multi-asset, multi-venue trading systems.
The system spans research, deterministic simulation, and live execution within a single event-driven architecture, providing research-to-live semantic parity.
§Feature Flags
This crate is primarily intended to be built for Python via maturin and therefore provides a broad set of feature flags to toggle bindings and optional dependencies:
arrow: Enables Apache Arrow support in dependent crates.betfair: Enables the Betfair adapter and its Python bindings.defi: Enables DeFi (Decentralized Finance) support, including blockchain adapters.extension-module: Builds as a Python extension module and is automatically enabled bymaturin.high-precision: Uses 128-bit value types throughout the workspace.hypersync: Enableshypersync-clientsupport for the blockchain adapter.mimalloc: Sets mimalloc as Rust’s global allocator.postgres: Enables PostgreSQL (sqlx) back-ends in dependent crates.redis: Enables Redis based infrastructure in dependent crates.tracing-bridge: Enables thetracingsubscriber bridge for log integration.
Functions§
- stub_
info - Generate Python type stub info for PyO3 bindings.