nautilus_kraken/lib.rs
1// -------------------------------------------------------------------------------------------------
2// Copyright (C) 2015-2025 Nautech Systems Pty Ltd. All rights reserved.
3// https://nautechsystems.io
4//
5// Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6// You may not use this file except in compliance with the License.
7// You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16//! Kraken exchange adapter for NautilusTrader.
17//!
18//! This adapter provides integration with the Kraken cryptocurrency exchange,
19//! supporting both Spot and Futures markets.
20//!
21//! # Features
22//!
23//! - REST API v2 client for market data and account operations
24//! - WebSocket v2 client for real-time data feeds
25//! - Support for Spot and Futures markets
26//! - Comprehensive instrument, ticker, trade, orderbook, and OHLC data
27//! - Prepared for execution support (orders, positions, balances)
28//!
29//! # API Documentation
30//!
31//! - [Kraken REST API](https://docs.kraken.com/api/)
32//! - [Kraken WebSocket v2](https://docs.kraken.com/websockets-v2/)
33//!
34//! # Python Bindings
35//!
36//! Enable the `python` feature to use this adapter from Python:
37//!
38//! ```toml
39//! nautilus-kraken = { version = "0.52.0", features = ["python"] }
40//! ```
41
42pub mod common;
43pub mod config;
44pub mod data;
45pub mod execution;
46pub mod http;
47pub mod websocket;
48
49#[cfg(feature = "python")]
50pub mod python;
51
52pub use config::{KrakenDataClientConfig, KrakenExecClientConfig};
53pub use http::client::{KrakenHttpClient, KrakenRawHttpClient};
54pub use websocket::client::KrakenWebSocketClient;