kraken-connector¶
A typed Python client for the Kraken cryptocurrency exchange, covering both the REST API and WebSocket API v2.
Built on httpx for HTTP, websockets for streaming, and attrs for data models.
Highlights¶
- REST API with typed request/response models across 7 endpoint groups
- WebSocket v2 async client with typed channel models and automatic reconnection
- Trading via all 8 WS v2 methods with automatic token injection
- Order book management with CRC32 checksum validation
- Rate limiting matching Kraken's tier-based limits
- Fully typed with
py.typedmarker and strict mypy
Install¶
Next steps¶
-
Install and make your first API call
-
In-depth walkthroughs for REST, WebSocket, trading, and more
-
How the library is structured and why
-
Auto-generated reference from source docstrings