Expand description
NautilusTrader adapter for the Bybit cryptocurrency exchange.
The nautilus-bybit crate provides instrument loading, live market data, and order execution for
Bybit’s spot, futures, perpetual, and options markets. It includes typed HTTP and WebSocket clients
for the Bybit v5 API, with live-node factories and optional Python bindings.
All public links inside this crate reference the English version of the documentation.
The official Bybit API reference can be found at https://bybit-exchange.github.io/docs/v5/intro.
§NautilusTrader
NautilusTrader is an open-source, production-grade, Rust-native trading engine with a deterministic, event-driven architecture for multi-asset, multi-venue systems.
The system spans research, simulation, and live execution, providing research-to-live semantic parity.
§Feature Flags
Feature flags control code inclusion for Rust builds and Python bindings:
arrow: Enables Apache Arrow data support.examples: Enables the crate’s example binaries.extension-module: Builds as a Python extension module.high-precision(default): Enables high-precision mode to use 128-bit value types.python: Enables Python bindings from PyO3.
§Integrator Attribution
HTTP requests use X-Referer, and WebSocket orders use Referer, for NautilusTrader’s integration ID.
Post-only orders omit attribution when background detection identifies the account as a market maker.
§Documentation
Modules§
- common
- Shared primitives and utilities for the Bybit adapter.
- config
- Configuration structures for the Bybit adapter.
- data
- Live market data client implementation for the Bybit adapter.
- data_
types - Bybit-specific custom data types.
- execution
- Live execution client implementation for the Bybit adapter.
- factories
- Factory functions for creating Bybit clients and components.
- http
- HTTP client bindings for the Bybit adapter.
- python
- Python bindings from
pyo3. - websocket
- WebSocket client bindings for the Bybit adapter.