nautechsystems / nautilus_trader
git clone https://github.com/nautechsystems/nautilus_trader.git
v1.231.0 · 2mo ago
🔥 on GitHub Trending today
Rust-native, event-driven engine for backtesting and live trading across multiple asset classes and venues, with Python strategy control.
Why you might care
Aimed at quants and trading teams who want the same strategy code to run in deterministic backtests and live execution. Rust core with Python for strategy logic; adapters cover crypto CEX/DEX, FX, equities, futures, options, and betting exchanges. Live behavior can still differ from simulation, which the docs describe.
+75
stars, 24h · #524
+~600
stars, 7 days · #367
+~2.6k
stars, 30 days · #325
31k
★ total · +2% this week
4.1k
forks · 145 open issues
Star history (as recorded here)
LanguageRust
LicenseLGPL-3.0
Created2018-06-25 (8y ago)
Last pushtoday
Watchers230
OwnerOrganization
Seen on GitHub Trending
- 2026-10-23 — #1 daily in rust · +157 ★
GitHub topics
algorithmic-trading-engineartificial-intelligencecrypto-tradingequity-tradingforexfutures-tradingmachine-learningoptions-tradingpythonrustsports-bettingtradingtrading-platform
Links
- GitHub: github.com/nautechsystems/nautilus_trader
- Homepage: https://nautilustrader.io
- Releases · Issues · Hacker News mentions
README excerpt
# | Branch | Version | Status | | :-------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `master` | | | | `nightly` | | | | `develop` | | | | Platform | Rust | Python | | :----------------- | :----- | :-------- | | `Linux (x86_64)` | 1.99.0 | 3.13-3.14 | | `Linux (ARM64)` | 1.99.0 | 3.13-3.14 | | `macOS (ARM64)` | 1.99.0 | 3.13-3.14 | | `Windows (x86_64)` | 1.99.0 | 3.13-3.14 | - **Docs**: - **Website**: - **Support**: support@nautilustrader.io ## 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. ## 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. Execution instructions `post-only`, `reduce-only`, and icebergs. Contingency orders including `OCO`, `OUO`, `OTO`. - **Customizable**: User-defined components, or assemble entire systems from scratch using the cache and message bus. - **Backtesting**: Multiple venues, instruments, and strategies simultaneously using historical quote tick, trade tick, bar, order book, and custom data with nanosecond resolution. - **Live**: Identical strategy implementations between research and live deployment. - **Multi-venu
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.