// the find
rhettre/coinbase-advancedtrade-python
This is the unofficial Python client for the Coinbase Advanced Trade API. It allows users to interact with the API to manage their cryptocurrency trading activities on the Coinbase platform.
An unofficial Python wrapper around Coinbase's Advanced Trade API that layers trading helpers on top of the official coinbase-advanced-py SDK. Targets hobbyist bot builders who want fiat-denominated buy/sell calls without handling order sizing math themselves. Not a production-grade trading system.
The fiat-denominated order wrappers (fiat_limit_buy, fiat_limit_sell with price_multiplier) are genuinely useful — they hide the quote-to-base conversion that trips up beginners. The WebSocket workflow for waiting on a fill event rather than polling REST is the right pattern and saves a lot of rate-limit headaches. Built on top of the official SDK rather than reimplementing auth from scratch, so JWT rotation and Coinbase Cloud key format are handled correctly. Test coverage spans most services with real mock fixtures, which is more than most wrappers in this space.
Account balance caching is a flat 1-hour TTL with no invalidation — if you place an order and immediately query balance, you get stale data, which is a real bug in any bot that makes sizing decisions based on available funds. The Fear and Greed Index trading logic encodes hardcoded thresholds and assumes a simplistic 'buy fear, sell greed' strategy that will confidently lose money in trending markets. The volatility-targeted trend plan uses 365-day crypto annualization but returns a target notional with no guidance on position sizing relative to existing holdings, making it easy to over-allocate. No rate-limit handling beyond what the official SDK provides — high-frequency polling loops will hit Coinbase limits silently.