Open source algorithmic trading engine in Rust with a Python API
open sourceLGPL-3.0self-hostablefree
NautilusTrader is an LGPL-3.0, Rust-native engine for multi-asset, multi-venue algorithmic trading. Research, deterministic event-driven backtesting with nanosecond resolution, and live execution share one architecture, so the same strategy and execution-algorithm code runs in backtests and live; Python is the control plane for strategies, configuration and orchestration, or systems can be written entirely in Rust. It supports advanced order types and time-in-force options, contingency orders (OCO, OUO, OTO), execution instructions such as post-only, reduce-only and icebergs, optional Redis-backed state persistence, and Docker deployment on Linux, macOS and Windows. Adapters connect any REST or WebSocket venue; built-in integrations include Binance, Bybit, Coinbase, Kraken, OKX, Deribit, dYdX, Hyperliquid, Polymarket, Kalshi, Betfair, Interactive Brokers, Databento and Tardis. Nautech Systems, its Sydney maker, offers institutional support, with a Pro edition on a waitlist and a managed cloud platform in development.
Problems it solves
- backtest a trading strategy in Python and run the same code live
- a high-performance open source algorithmic trading engine
- trade crypto across Binance, Bybit and Hyperliquid from one framework
- event-driven backtesting with nanosecond resolution on order book data
- connect my strategies to Interactive Brokers for live execution
- build an automated trading system for prediction markets like Polymarket or Kalshi
Features
- Rust core with tokio async networking; Python strategy API
- deterministic event-driven backtesting with nanosecond resolution
- same strategy code for backtest and live
- advanced order types, time in force, OCO/OUO/OTO contingency orders, post-only, reduce-only, icebergs
- modular adapters for any REST or WebSocket venue
- integrations: Binance, Bybit, Coinbase, Kraken, OKX, Deribit, dYdX, Hyperliquid, Polymarket, Kalshi, Betfair, Interactive Brokers, Databento, Tardis and more
- optional Redis-backed state persistence
- Linux, macOS and Windows; Docker deployment
Limitations
- Live trading can behave differently from backtests (venue, timing, persistence and reconciliation effects a simulation may not reproduce).1
Capabilities
| Has an API | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |