Expand description
NautilusTrader adapter for the Binance cryptocurrency exchange.
The nautilus-binance crate provides client bindings (HTTP & WebSocket), data
models, and helper utilities that wrap the official Binance API, covering:
- Spot trading (api.binance.com)
- Spot margin trading
- USD-M Futures (fapi.binance.com)
- COIN-M Futures (dapi.binance.com)
- European Options (eapi.binance.com)
The official Binance API reference can be found at https://binance-docs.github.io/apidocs/.
§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 (Rust-only builds vs. Python bindings through PyO3).
python: Enables Python bindings via PyO3.extension-module: Builds as a Python extension module (used together withpython).
High-precision mode (128-bit value types) is enabled by default.
§Documentation
See https://docs.rs/nautilus-binance for the latest API documentation.
Modules§
- arrow
- Arrow serialization for Binance adapter types.
- common
- Common types, constants, and utilities for the Binance adapter.
- config
- Binance adapter configuration structures.
- factories
- Factory functions for creating Binance clients and components.
- futures
- Binance Futures adapter components.
- python
- Python bindings for the Binance adapter.
- spot
- Binance Spot market adapter with full SBE (Simple Binary Encoding) support.