Expand description
NautilusTrader adapter for the Deribit cryptocurrency exchange.
The nautilus-deribit crate provides live market data, historical requests, and order execution for
options, futures, perpetuals, spot, and combo instruments. It includes typed HTTP and WebSocket
clients, instrument loading, and live-node factories for the Deribit API v2.
Deribit uses JSON-RPC 2.0 over both HTTP and WebSocket transports (not REST). WebSocket is preferred for subscriptions and real-time data.
The official Deribit API reference can be found at https://docs.deribit.com/.
§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.
§Documentation
Modules§
- common
- Common types and utilities for the Deribit adapter.
- config
- Configuration structures for the Deribit adapter.
- data
- Live market data client implementation for the Deribit adapter.
- data_
types - Deribit-specific custom data types.
- execution
- Live execution client implementation for the Deribit adapter.
- factories
- Factory functions for creating Deribit clients and components.
- http
- Deribit HTTP client implementation using JSON-RPC 2.0.
- python
- Python bindings from
pyo3. - websocket
- Deribit WebSocket client implementation using JSON-RPC 2.0.