Coinbase SDK
Tribulnation SDK implementation for Coinbase.
Installation
pip install tribulnation-coinbase
Recommended account configuration
Coinbase is not a default MarketSDK account. Configure it explicitly and prefer
an authenticated accounts.Coinbase() account, especially for tickers():
authenticated quotes are batched in groups of up to 100 products.
Use accounts.Coinbase(public=True) to allow a credential-free fallback. The router
still prefers resolved credentials when available. Without credentials, tickers()
makes one public book request per selected product, so pass market IDs
to limit request volume. Authentication failures never trigger an automatic switch
to public endpoints.
Public perpetual funding history
INTX markets expose funding_rates(start=None, end=None) through Coinbase's
credential-free International Exchange API. SDK IDs remain Advanced Trade IDs,
such as BTC-PERP-INTX; the adapter resolves the corresponding native instrument
before reading history. Bounds are inclusive; omitted start walks the earliest
available history. Offset pages are not atomic, and repeated events are
deduplicated. Private funding payments and INTX portfolio access are separate.
Ticker quotes and product identity
spot represents Coinbase Advanced Trade spot products; intx represents
International Exchange perpetuals accessed through Advanced Trade. IDs remain
native Advanced Trade product IDs, such as BTC-USD and BTC-PERP-INTX.
Coinbase(public=True) supports spot and INTX market discovery, rules, tickers,
index prices and funding state without credentials. Public discovery uses the
complete default product response. A response indicating more pages, missing
completion metadata or duplicate IDs raises an error: live small-page sweeps can
omit products, so deduplication cannot guarantee completeness.
Authenticated bulk tickers combine catalogue last-trade prices and base volumes with the
best-bid/ask endpoint,
including quoted sizes. Quotes are fetched in bounded batches for the selected
products, under the caller's retry context. A missing book or empty side remains
None; request failures propagate. The two sources are separate observations,
not an atomic snapshot.
Public tickers use one public.book(limit=1) request per selected product to obtain
native bid/ask prices and sizes. Pass selected market IDs to limit request volume;
a full exchange sweep needs a book request for every product. Each request uses the
caller's retry context. Account fees, balances and trading still require credentials.
Release files for tribulnation-coinbase 0.2.2
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_coinbase-0.2.2.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tribulnation_coinbase-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.1 kB
Release files / tribulnation_coinbase-0.2.2.tar.gz
| Download URL | tribulnation_coinbase-0.2.2.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1675990967dbfcb2ad6172e35723ce03bf01cee1cfa5b3d26a29ae9d8d5c3f5
|
|
BLAKE2b-256 checksum How to use checksums |
a11edc0fb6653dce451b587dfd89b2ee14a0f045adc4c1dfd7575847fe39a008
|
| 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 18, 2026.
Transparency logRelease files / tribulnation_coinbase-0.2.2-py3-none-any.whl
| Download URL | tribulnation_coinbase-0.2.2-py3-none-any.whl |
|---|---|
| Size | 35.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
650713f4ef0c3f0aec6cb0179121552e93652fb60da1a00f2ccbbc4c36e4eea3
|
|
BLAKE2b-256 checksum How to use checksums |
15093df26f2e2db5d84c8cab9ce9a9e6ecbfd0834fbd5fa1495217e8406a684a
|
| 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 18, 2026.
Transparency log