Deribit SDK
Read-only ledger reporting, wallet network methods and reward-bearing balances. The Market prototype is not yet a supported package surface.
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)
- 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.
- Deposits, withdrawals and transfers are classified. Trades, mixed PnL/funding
settlements and other events remain
UnknownObservationwith their signed cash change; they are not mislabelled as futures fills or funding payments. - Snapshot balances are cash balances, not equity including the positions also listed. Position quantities use signed base units, and subaccounts use stable numeric ids.
Wallet.new(public=True)exposes published networks. Withdrawal fees and required confirmations are currency-level figures; token contract addresses are unavailable.Earn.new(public=True)lists published seven-day SMA APRs on reward-bearing balances. These are not subscription products or account-eligibility guarantees.- Use
accounts.Deribit(venue='deribit_testnet')for testnet. It selects separate hosts andTEST_DERIBIT_CLIENT_ID/TEST_DERIBIT_CLIENT_SECRETdefaults; mainnet never falls back to those test credentials.
Metadata
Release files for tribulnation-deribit 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tribulnation_deribit-0.2.1.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tribulnation_deribit-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / tribulnation_deribit-0.2.1.tar.gz
| Download URL | tribulnation_deribit-0.2.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25cf8f8a6d463f1fb9f91ca5cfa7f891ba9b8496c798f0b09f2fc1a12af7c608
|
|
BLAKE2b-256 checksum How to use checksums |
46e32706341ba919c5336002aa23da5d0908a6f75e8f612a3f18e02463e6c463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 17, 2026.
Transparency logRelease files / tribulnation_deribit-0.2.1-py3-none-any.whl
| Download URL | tribulnation_deribit-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
faa7cee2f3f8dd667a05af598ca7478b0f9aef009f445e56da5bb8ceb6542f41
|
|
BLAKE2b-256 checksum How to use checksums |
a336aac2a54fef3c7be263fecf8619d1f632262bb8f5678313eae03a884a7eb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 17, 2026.
Transparency log