finds.dev← search

// the find

danpaquin/coinbasepro-python

★ 1,849 · Python · MIT · updated Jul 2023

The unofficial Python client for the Coinbase Pro API

Unofficial Python client for the Coinbase Pro REST and WebSocket APIs. Coinbase Pro was shut down in 2022–2023 and replaced by Coinbase Advanced Trade, so this library targets a dead API. It's archived history at this point, not something you'd adopt today.

- Generator-based pagination is the right call — callers iterate naturally without manually tracking cursors or making multiple explicit requests

- WebSocket client uses a clean subclassing pattern (on_open, on_message, on_close) that keeps user logic separate from connection management

- Public/authenticated split is sensible — one client inherits the other so you only initialize what you need

- Covers the full API surface including order book, fills, deposits, and stop orders — not just the happy-path endpoints

- The exchange is dead. Coinbase Pro was deprecated in 2022 and shut down; this client has no practical use unless you're building against a frozen API snapshot for historical data replay

- No async support anywhere — the WebSocket runs in a raw thread and the REST client is synchronous. Anything latency-sensitive in trading needs asyncio, and retrofitting it here would be a rewrite

- MongoDB is wired directly into WebsocketClient as a constructor parameter — a storage backend has no business being coupled to a network client at that level

- The test suite is described as 'under development' twice in the README and the tests directory is nearly empty; sandbox credentials required for any authenticated test means CI almost certainly never ran those paths

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →