Expand description
System-level components and orchestration for NautilusTrader.
The nautilus-system crate provides the core system architecture for orchestrating trading systems,
including the kernel that manages all engines, configuration management,
and system-level factories for creating components:
NautilusKernel- Core system orchestrator managing engines and components.NautilusKernelConfig- Configuration for kernel initialization.- System builders and factories for component creation.
§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 provides feature flags to control source code inclusion during compilation, depending on the intended use case, i.e. whether to provide Python bindings for the nautilus_trader Python package, or as part of a Rust only build.
streaming: Enablespersistencedependency for streaming configuration.python: Enables Python bindings from PyO3 (auto-enablesstreaming).defi: Enables DeFi (Decentralized Finance) support.live: Enables live trading mode dependencies.tracing-bridge: Enables thetracingsubscriber bridge for log integration.extension-module: Builds the crate as a Python extension module.
Re-exports§
pub use builder::NautilusKernelBuilder;pub use config::NautilusKernelConfig;pub use config::RotationConfig;pub use config::StreamingConfig;pub use controller::Controller;pub use factories::ClientConfig;pub use factories::DataClientFactory;pub use factories::ExecutionClientFactory;pub use kernel::NautilusKernel;pub use messages::ControllerCommand;pub use python::FactoryRegistry;pub use python::get_global_pyo3_registry;