Skip to main content

Typed Deribit

A fully typed, validated async client for the Deribit API.

from deribit import Deribit

async with Deribit.new(testnet=True) as client:
  instruments = await client.http.market_data.get_instruments(
    currency='BTC', kind='future'
  )
  print(instruments)

Why Typed Deribit?

  • 🎯 Precise Types: every request/reply method and channel subscription across .http, .ws, and .streams is typed, parameters and all — not dict/Any.
  • ✅ Runtime Validation: responses are validated against the real schema by default, not just typed on paper.
  • ⚡ Async First: async HTTP and WebSocket transports, with .streams running concurrently on its own dedicated connection.
  • 📚 Full Surface: every documented endpoint across market_data, trading, account, wallet, block_rfq, block_trade, combo_books, matching_engine, session, subscription_management, and supporting — not just the popular ones.

Installation

pip install typed-deribit

Documentation

How To

Source Code

github.com/tribulnation/deribit

Download files

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

Source Distribution

typed_deribit-0.1.1.tar.gz (174.6 kB view details)

Uploaded Source

Built Distribution

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

typed_deribit-0.1.1-py3-none-any.whl (443.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for typed_deribit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 96d2fa8e6cd60d0000a0afeeeccd7fe6f653acd96d486b2e383d6e1832a16a48
MD5 7ee15055482b468cec31e1151a201ec8
BLAKE2b-256 7390c49709e4d626c18005ef9bd18088311a9db79b3997a3eb002602903481a0

See more details on using hashes here.

Provenance

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

Publisher: release-deribit.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_deribit-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for typed_deribit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2fd0a243c47b570a10e0c23c8877d8fc7d96abf3a489c4f8e61556e7f03bac2
MD5 8204c42fb2487c8070ffe7c9865d2a0f
BLAKE2b-256 71481f3cb7d7679cad7ab7124c3f89795d7202ef967a323d8345ce31655eb864

See more details on using hashes here.

Provenance

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

Publisher: release-deribit.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