Skip to main content

Coinbase SDK

Tribulnation SDK implementation for Coinbase.

Installation

pip install tribulnation-coinbase

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.

Ticker quotes and product identity

spot represents Coinbase Advanced Trade spot products. IDs remain native Advanced Trade product IDs, such as BTC-USD. INTX perpetuals are not supported: Coinbase retires them on the Advanced Trade API on 2026-10-01, moving international derivatives to a Deribit-powered gateway (ADR 0031).

Coinbase(public=True) supports spot market discovery, rules and tickers 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.

Metadata

Release files for tribulnation-coinbase 0.6.0

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-coinbase 0.6.0
File Size Uploaded Provenance Actions
tribulnation_coinbase-0.6.0.tar.gz 20.5 kB With provenance Details for tribulnation_coinbase-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-coinbase 0.6.0
File Interpreter ABI Platform Actions
tribulnation_coinbase-0.6.0-py3-none-any.whl Python 3 none any Details for tribulnation_coinbase-0.6.0-py3-none-any.whl

Total release size: 49.0 kB

Release files / tribulnation_coinbase-0.6.0.tar.gz

Download URL tribulnation_coinbase-0.6.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b53dfa73b66e5a600b59462419341cea24ad3933d662c589eb6cc239d7bfea6e
BLAKE2b-256 checksum
How to use checksums
c7a0d080bd0e26854f3340ef21544bca3af1f2549509c68c8e568df40d6c2474
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 Oct 27, 2026.

Transparency log

Release files / tribulnation_coinbase-0.6.0-py3-none-any.whl

Download URL tribulnation_coinbase-0.6.0-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe343aaddf8bb63b4fc84cbf33853081e546b836b85ee914a57bb37f78728f14
BLAKE2b-256 checksum
How to use checksums
e97ecffe24479a723b87589bb951d8604710129a9eb91889c4a292ed8ecfa3f9
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 Oct 27, 2026.

Transparency log

Security for tribulnation-coinbase 0.6.0

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_coinbase-0.6.0.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 Oct 27, 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