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.

§Platform

NautilusTrader is an open-source, high-performance, production-grade algorithmic trading platform, providing quantitative traders with the ability to backtest portfolios of automated trading strategies on historical data with an event-driven engine, and also deploy those same strategies live, with no code changes.

NautilusTrader’s design, architecture, and implementation philosophy prioritizes software correctness and safety at the highest level, with the aim of supporting mission-critical trading system backtesting and live deployment workloads.

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

§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
Data client implementation for the Bybit adapter.
error
Unified error handling for the Bybit adapter.
execution
Execution client implementation for the Bybit adapter.
http
HTTP client bindings for the Bybit adapter.
python
Python bindings from pyo3.
websocket
WebSocket client bindings for the Bybit adapter.