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) and data models for 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).

  • 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.

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.