Skip to main content

Crate nautilus_bybit

Crate nautilus_bybit 

Source
Expand description

NautilusTrader adapter for the Bybit cryptocurrency exchange.

The nautilus-bybit crate provides client bindings (HTTP & WebSocket), data models, and helper utilities that wrap the official Bybit v5 API.

The official Bybit API reference can be found at https://bybit-exchange.github.io/docs/v5/intro. All public links inside this crate reference the English version of the documentation.

§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 with python).

High-precision mode (128-bit value types) is enabled by default.

§Documentation

See https://docs.rs/nautilus-bybit for the latest API 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.
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.