nautechsystems /nautilus_trader
Production-grade Rust-native trading engine with deterministic event-driven architecture
★ 31,431⑂ 4,254
31,431
stars
+233+265+1,792
4,254
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions
README
!pythons !pypi-version | Branch | Version | Status | | :-------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | master | | | | nightly | | | | develop | | | | Platform | Rust | Python | | :----------------- | :----- | :-------- | | Linux (x86_64) | 1.99.1 | 3.13-3.15 | | Linux (ARM64) | 1.99.1 | 3.13-3.15 | | macOS (ARM64) | 1.99.1 | 3.13-3.15 | | Windows (x86_64) | 1.99.1 | 3.13-3.15 | Python 3.15 requires a source build or a development wheel until the next PyPI release. - Docs: - Website: - Support: [email protected] Introduction 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, with Python serving as the control plane for strategy logic, configuration, and orchestration. This separation provides the performance and safety of a compiled trading engine with the flexibility of Python for system composition and strategy development. Trading systems can also be written entirely in Rust for mission-critical workloads. The same strategy and execution-algorithm code can run across backtest and live systems, reducing deployment divergence. Live execution still introduces venue, transport, timing, persistence, external-activity, and reconciliation behavior that a simulation may not reproduce. See Backtest and live differences. NautilusTrader is asset-class-agnostic. Any venue with a REST API or WebSocket feed can be integrated through modular adapters. Current integrations span crypto exchanges (CEX and DEX), traditional markets (FX, equities, futures, options), and betting exchanges. !nautilus-trader Features - Fast: Rust core with the mimalloc allocator and asynchronous networking using tokio. - Reliable: Type- and thread-safety backed by Rust, with optional Redis-backed state persistence. - Portable: Runs on Linux, macOS, and Windows. Deploy using Docker. - Flexible: Modular adapters integrate any REST API or WebSocket feed. - Advanced: Time in force IOC, FOK, GTC, GTD, DAY, AT_THE_OPEN, AT_THE_CLOSE, advanced order types and conditional triggers. Exe