# nautechsystems/nautilus_trader

> nautilus_trader is an open-source engine for multi-asset, multi-venue trading systems, covering research, deterministic simulation, and live execution. It runs one event-driven architecture in which the same strategy implementations work in backtests and in live deployment. The core is written in Rust, and Python serves as the control plane for strategy logic and configuration.

Source: https://github.com/nautechsystems/nautilus_trader
Indexed: commit 8160730 on 2026-07-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Command-line tool
- Language: Rust
- Stars: 31,913 at index time
- License: LGPL-3.0
- Code health: 5.4/10, Needs work
- Last commit: 2026-07-19
- Contributors: 52

## How it works

Venue adapters, such as the one in crates/adapters/binance/src/lib.rs, translate each exchange's or data provider's raw API into a unified interface and normalized domain model. The Rust crates under crates/ hold the core engine parts, including crates/execution/src/matching_engine/engine.rs, which is part of the matching engine in the execution crate. The nautilus_trader directory holds the Python package, which exposes the Rust core through PyO3 bindings so that strategies and system configuration can be written in Python. The same event-driven runtime drives research backtests, which replay historical quote tick, trade tick, bar, and order book data, and live execution. Tests sit in directories such as crates/data/tests and crates/execution/tests, while examples and integration guides are in examples and docs/integrations.

- crates/adapters/architect_ax/src/lib.rs: entry point
- crates/adapters/betfair/src/lib.rs: entry point
- crates/adapters/binance/src/lib.rs: entry point
- crates/adapters/bitmex/src/lib.rs: entry point
- crates/adapters/blockchain/src/lib.rs: entry point
Modules: crates, tests, nautilus_trader, python, docs, examples, scripts, patches. 5,357 files, 1,730,304 lines, 139,028 symbols.

## Code health

- Score: 5.4/10 (Needs work)
- Rank: #265 of 295 ranked repos
- Hotspots: crates/data/tests/engine.rs, crates/execution/tests/exec_engine.rs, crates/execution/tests/matching_engine.rs, crates/portfolio/tests/portfolio.rs, crates/execution/src/matching_engine/engine.rs
- Lowest file: crates/data/src/engine/mod.rs
- Dead code: 1,159 findings

## Maintenance

- Last commit 2026-07-19, first commit 2026-03-20, 2,000 commits
- 52 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/nautechsystems/nautilus_trader/security

## More

- Page: https://repowise.dev/repo/nautechsystems/nautilus_trader
- Ask this codebase: https://repowise.dev/repo/nautechsystems/nautilus_trader/chat
- Docs: https://repowise.dev/repo/nautechsystems/nautilus_trader/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/nautechsystems/nautilus_trader
