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:
extension-module: Builds the crate as a Python extension module (automatically enabled bymaturin).ffi: Enables the C foreign function interface (FFI) support in dependent crates.high-precision: Uses 128-bit value types throughout the workspace.cython-compat: Adjusts the module name so it can be imported from Cython generated code.postgres: Enables PostgreSQL (sqlx) back-ends in dependent crates.redis: Enables Redis based infrastructure in dependent crates.hypersync: Enables hypersync support (fast parallel hash maps) where available.tracing-bridge: Enables thetracingsubscriber bridge for log integration.defi: Enables DeFi (Decentralized Finance) support including blockchain adapters.
Functions§
- stub_
info - Generate Python type stub info for PyO3 bindings.