Skip to main content

Tribulnation SDK Binance

Tribulnation SDK implementation for Binance.

Installation

pip install tribulnation-binance

Public market data

BinanceMarket.new(public=True) discovers spot and usdm. Both serve candles and tickers; usdm also serves funding history, next funding and perp_stats. Its bulk snapshots include actively trading perpetuals, not dated futures. Perp stats combine bulk pricing/funding with a public open-interest request per market, limited to five concurrent requests. These are separate observations, not an atomic snapshot. No futures account credentials are required.

Reporting

Reporting is explicitly spot-side: snapshots contain Spot, Funding and Simple Earn balances; history contains spot fills, deposits/withdrawals and Spot ↔ Funding transfers. Futures, margin, options and Portfolio Margin are not inspected or represented as zero balances. No Futures permission or scope configuration is needed. Failures on supported reads propagate instead of becoming empty results. The underlying Typed futures APIs and existing public futures market data are unchanged.

Reporting.history(start=None, end=None) accepts omitted bounds. end defaults to UTC now. When start is omitted, deposits/withdrawals start 90 days before end and Spot/Funding transfers six calendar months before it. These are default query horizons, not completeness guarantees; explicit bounds are preserved and split into legal endpoint windows.

Spot fill history discovers and sweeps the venue's published spot symbols. No spot_markets or usdm_markets configuration is required or accepted. Spot fills walk retained trade ids, filtering any supplied time bounds locally. Discovery does not use current balances or open positions, so closing a position does not remove its market from the sweep. A full sweep can require many requests.

API history is best-effort. Delisted symbols absent from discovery, venue retention and records beyond an inseparable endpoint cap may leave gaps for file ingestion.

Metadata

Release files for tribulnation-binance 0.9.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-binance 0.9.1
File Size Uploaded Provenance Actions
tribulnation_binance-0.9.1.tar.gz 23.5 kB With provenance Details for tribulnation_binance-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-binance 0.9.1
File Interpreter ABI Platform Actions
tribulnation_binance-0.9.1-py3-none-any.whl Python 3 none any Details for tribulnation_binance-0.9.1-py3-none-any.whl

Total release size: 56.2 kB

Release files / tribulnation_binance-0.9.1.tar.gz

Download URL tribulnation_binance-0.9.1.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9d6c13a9e4eeac4daf1dd9c76fd17ebb92bfd5cfc048ffa59fbc21db333f46ef
BLAKE2b-256 checksum
How to use checksums
a6b3bd499786c7284799c67c0eb642fa3e79d4f66d7660e9c6dcbfb7222407d7
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_binance-0.9.1-py3-none-any.whl

Download URL tribulnation_binance-0.9.1-py3-none-any.whl
Size 32.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b5f411a7528d0e0a5e901d1f074841a441f355cd9f5070970c93e2a543f86e7
BLAKE2b-256 checksum
How to use checksums
e9c28f2d64e10f96fa8866b69c5d3b258bc06bf0a248db6aaed58ccae92b13b8
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-binance 0.9.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_binance-0.9.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