crates/pyo3/README.md
Python bindings for NautilusTrader.
The nautilus-pyo3 crate provides all PyO3 Python bindings for the
main nautilus_trader Python package, built via maturin.
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.
This crate provides feature flags to control source code inclusion during compilation:
extension-module: Builds as a Python extension module (automatically enabled by maturin).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 the tracing subscriber bridge for log integration.defi: Enables DeFi (Decentralized Finance) support including blockchain adapters.The source code for NautilusTrader is available on GitHub under the GNU Lesser General Public License v3.0.
NautilusTrader™ is developed and maintained by Nautech Systems, a technology company specializing in the development of high-performance trading systems. For more information, visit https://nautilustrader.io.
Use of this software is subject to the Disclaimer.
© 2015-2026 Nautech Systems Pty Ltd. All rights reserved.