Skip to main content

Typed Kraken

A fully typed, validated async client for the Kraken Spot API -- REST and WebSocket v2.

from kraken import Kraken

async with Kraken.new(public=True) as client:
  ticker = await client.spot.market_data.ticker(pair='XBTUSD')
  print(ticker)

Why Typed Kraken?

  • 🎯 Precise Types: every client.spot and client.streams parameter and response is typed, down to TypedDicts and Literals for Kraken's own field names.
  • ✅ Runtime Validation: REST and WebSocket v2 responses are validated against their schema before you see them, not just typed on paper.
  • ⚡ Async First: async REST calls and long-lived WebSocket v2 subscriptions, built for concurrent trading workflows.
  • 📚 Full Surface: market data, account, trading, funding, and earn -- every documented Kraken Spot endpoint, not just the popular ones.

Installation

pip install typed-kraken

Documentation

How To

Source Code

github.com/tribulnation/kraken

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typed_kraken-0.1.1.tar.gz (67.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_kraken-0.1.1-py3-none-any.whl (131.7 kB view details)

Uploaded Python 3

File details

Details for the file typed_kraken-0.1.1.tar.gz.

File metadata

  • Download URL: typed_kraken-0.1.1.tar.gz
  • Upload date:
  • Size: 67.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_kraken-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d8ca7fa3d0a56556bf3b28d9850424b588020892c15b2288bc13c915539211c
MD5 22f9da466d81493c9dadae4e06eec110
BLAKE2b-256 3d206c9774abfb4a32879f2409dd8c96fd2ee711dc661bc29257678a487ad427

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_kraken-0.1.1.tar.gz:

Publisher: release-kraken.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typed_kraken-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: typed_kraken-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 131.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_kraken-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c1573d280152038dd155ef73da18788ff1368e8baf4cf1a06a7af8ff99e6cea
MD5 7471df63a620e77782e508dc8c7497fe
BLAKE2b-256 52a078d48523e8e921ba92f9ea427026db012ae4c4fdf086790edec0261a2489

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_kraken-0.1.1-py3-none-any.whl:

Publisher: release-kraken.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page