Skip to main content

Tribulnation SDK Deribit

Tribulnation SDK implementation for Deribit.

Public mainnet spot and linear perpetual Market data, read-only ledger reporting, wallet network methods and reward-bearing balances. The public Market expansion is available in Deribit 0.3.0 with SDK >=2.2.0; see the capability handoff.

from tribulnation.sdk import ReportSDK, accounts

reports = ReportSDK({'deribit': accounts.Deribit()})
async with reports.venue('deribit') as report:
  snapshot = await report.snapshot()
  async for record in report.history():
    print(record)
  1. Currency and subaccount lists are discovered automatically. Omitted history bounds select the last 30 days; explicit bounds are preserved. API history is best-effort, and assets removed from discovery may require file ingestion.
  2. Deposits, withdrawals and transfers are classified. Trades, mixed PnL/funding settlements and other events remain UnknownObservation with their signed cash change; they are not mislabelled as futures fills or funding payments.
  3. Snapshot balances are cash balances, not equity including the positions also listed. Position quantities use signed base units, and subaccounts use stable numeric ids.
  4. Wallet.new(public=True) exposes published networks. Withdrawal fees and required confirmations are currency-level figures; token contract addresses are unavailable.
  5. Earn.new(public=True) lists published seven-day SMA APRs on reward-bearing balances. These are not subscription products or account-eligibility guarantees.
  6. Use accounts.Deribit(venue='deribit_testnet') for testnet. It selects separate hosts and TEST_DERIBIT_CLIENT_ID / TEST_DERIBIT_CLIENT_SECRET defaults; mainnet never falls back to those test credentials.

Public accounts.Deribit(public=True) discovery uses spot and perp, preserving native instrument names. Books, tickers, streams, native index/mark and linear open interest require no credentials. Trade candles support 1m, 5m, 15m, 1h through validated WebSocket calls and aware half-open windows. Routed spot has no candles; 4h and native 08:00 UTC daily candles are unsupported. Rules, scheduled funding, private Market methods and trading remain explicit gaps. Inverse/dated/option/combo products are excluded. See Deribit Market.

Metadata

Release files for tribulnation-deribit 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tribulnation-deribit 0.7.1
File Size Uploaded Provenance Actions
tribulnation_deribit-0.7.1.tar.gz 14.1 kB With provenance Details for tribulnation_deribit-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-deribit 0.7.1
File Interpreter ABI Platform Actions
tribulnation_deribit-0.7.1-py3-none-any.whl Python 3 none any Details for tribulnation_deribit-0.7.1-py3-none-any.whl

Total release size: 31.5 kB

Release files / tribulnation_deribit-0.7.1.tar.gz

Download URL tribulnation_deribit-0.7.1.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7275a6c13f2a84e80fd9f399313993c2c9fa20c319870bbd3cb285af9ef3e0a4
BLAKE2b-256 checksum
How to use checksums
edfa5416579da3ccd4dd0b76b20be6c0c4061854ffc64c4fc1533cdbc0fa2c87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / tribulnation_deribit-0.7.1-py3-none-any.whl

Download URL tribulnation_deribit-0.7.1-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17f96944124180b46739090d5c7f4cc76b9a1f05ff7295cfb9a45c7fefda3c3e
BLAKE2b-256 checksum
How to use checksums
271aa886e78a983b00763fb2cb70e8d12e917cce39abfcde1032e1974cd2437c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for tribulnation-deribit 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tribulnation_deribit-0.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page