Skip to content

About

The official unified SDK for Kraken Exchange APIs.

Resources

Contributing

Stars

7 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Kraken Unified SDK

Client libraries for Kraken's APIs. Each SDK is a typed, async client with methods grouped into market data, account, trading, and subscriptions. It takes care of request signing, connections and reconnects, and order-book maintenance.

One SDK design, implemented per language under its own top-level directory.

Features

  • One client for market data, account, trading, and subscriptions
  • Spot REST and Spot WebSocket v2
  • Futures streams and order entry on the Unified WebSocket
  • Request signing, nonce handling, and WebSocket token refresh
  • Reconnect with resubscribe
  • Order books built from snapshot and deltas, CRC32-checked on each update
  • Prices, volumes, and balances as decimals, not floating point
  • Errors with code, category, retryable, request_id, and message
  • Events for connection and client status, order lifecycle, rate limits, stream and book gaps, queue depth, and callback latency
  • API keys kept in memory and cleared when the client closes
  • Spot pairs in modern format (BTC/USD); Futures symbols as venue wire strings (PF_XBTUSD)

Languages

Language Path Status
Rust + tokio rust/ Spot trading + portfolio; Futures streams and orders.
C++ · Python · Go · TypeScript/JS (coming) Coming soon.

Documentation

API reference and guides for Kraken's APIs and SDKs: https://docs.kraken.com/home/sdks

Contributing

See CONTRIBUTING.md for general contribution guidelines. Build, test and code-style rules are per binding and live in that language's own guide.

License

Apache License 2.0 — see LICENSE.

Disclaimer

See DISCLAIMER.md.

Trademark

See TRADEMARK.md.

About

The official unified SDK for Kraken Exchange APIs.

Resources

Contributing

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages