| Crates.io | nautilus-kraken |
| lib.rs | nautilus-kraken |
| version | 0.52.0 |
| created_at | 2026-01-02 10:55:34.373153+00 |
| updated_at | 2026-01-02 10:55:34.373153+00 |
| description | Kraken Pro exchange integration adapter for the Nautilus trading engine |
| homepage | https://nautilustrader.io |
| repository | https://github.com/nautechsystems/nautilus_trader |
| max_upload_size | |
| id | 2018330 |
| size | 1,365,683 |
NautilusTrader adapter for the Kraken exchange.
The nautilus-kraken crate provides client bindings (HTTP & WebSocket), data models,
and helper utilities that wrap the official Kraken API v2.
The official Kraken API reference can be found at https://docs.kraken.com/api/.
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.
This crate provides separate HTTP and WebSocket clients for Spot and Futures markets. This design reflects fundamental differences between the two APIs:
| Aspect | Spot | Futures |
|---|---|---|
| API Version | REST API v2 | Derivatives API v3 |
| Base URL | api.kraken.com |
futures.kraken.com |
| Auth Headers | API-Key, API-Sign |
APIKey, Authent, Nonce |
| Request Format | URL-encoded form | JSON body |
| WebSocket | v2 protocol | Futures-specific protocol |
Kraken Futures was originally a separate platform (Crypto Facilities) acquired by Kraken, which explains why the APIs remain distinct rather than unified.
KrakenSpotHttpClient / KrakenSpotWebSocketClient: For spot trading pairs (e.g., BTC/USD, ETH/EUR).KrakenFuturesHttpClient / KrakenFuturesWebSocketClient: For perpetual and fixed-maturity futures (e.g., PF_XBTUSD, PI_ETHUSD).See the bin/ directory for example usage:
cargo run --bin kraken-http-spot-raw
cargo run --bin kraken-http-spot-public
cargo run --bin kraken-ws-spot-data
This crate provides feature flags to control source code inclusion during compilation:
python: Enables Python bindings from PyO3.extension-module: Builds as a Python extension module (used with python).See the docs for more detailed usage.
The source code for NautilusTrader is available on GitHub under the GNU Lesser General Public License v3.0. Contributions to the project are welcome and require the completion of a standard Contributor License Agreement (CLA).
NautilusTrader is developed and maintained by Nautech Systems, a technology company specializing in the development of high-performance trading systems. For more information, visit https://nautilustrader.io.
© 2015-2026 Nautech Systems Pty Ltd. All rights reserved.