Expand description
Kraken exchange adapter for NautilusTrader.
This adapter provides integration with the Kraken cryptocurrency exchange, supporting both Spot and Futures markets.
§Features
- REST API v2 client for market data and account operations.
- WebSocket v2 client for real-time data feeds.
- Support for Spot and Futures markets.
- Comprehensive instrument, ticker, trade, orderbook, and OHLC data.
- Prepared for execution support (orders, positions, balances).
§API Documentation
§Feature Flags
This crate provides feature flags to control source code inclusion during compilation, depending on the intended use case, i.e. whether to provide Python bindings for the nautilus_trader Python package, or as part of a Rust only build.
python: Enables Python bindings from PyO3.extension-module: Builds as a Python extension module (used withpython).
High-precision mode (128-bit value types) is enabled by default.
Re-exports§
pub use config::KrakenDataClientConfig;pub use config::KrakenExecClientConfig;pub use data::KrakenFuturesDataClient;pub use data::KrakenSpotDataClient;pub use execution::KrakenFuturesExecutionClient;pub use execution::KrakenSpotExecutionClient;pub use http::KrakenFuturesHttpClient;pub use http::KrakenFuturesRawHttpClient;pub use http::KrakenHttpError;pub use http::KrakenSpotHttpClient;pub use http::KrakenSpotRawHttpClient;pub use websocket::futures::client::KrakenFuturesWebSocketClient;pub use websocket::spot_v2::client::KrakenSpotWebSocketClient;
Modules§
- common
- Shared primitives and utilities for the Kraken adapter.
- config
- Configuration types for Kraken data and execution clients.
- data
- Live market data client implementations for the Kraken adapter.
- execution
- Live execution client implementations for the Kraken adapter.
- factories
- Factory functions for creating Kraken clients and components.
- http
- HTTP/REST client implementations for Kraken APIs.
- python
- Python bindings from
pyo3. - websocket
- WebSocket client implementations for Kraken APIs.