Auditsc9s/bbgo › Coinbase

Bot × exchange

Does bbgo work with Coinbase?

The bbgo README names Coinbase as a supported exchange (README scanned 2026-09-17). We did not run the bot against Coinbase: this page reports what the public code says and what the exchange itself publishes.

Coinbase facts

CoinGecko trust score
10 / 10 · rank 2
Country
United States
Established
2012
24h volume (BTC, normalized)
0
Puerto Rico residents
Not verified: the eligibility page returned an access error (HTTP 403) on the check date (source, 2026-09-17)
Derivatives
Regulated futures through Coinbase Financial Markets; global perpetuals since June 2026 (source, 2026-09-17)
Official API
Yes (Advanced Trade API); futures access for U.S. territories not confirmed (source, 2026-09-17)

Exchange data: CoinGecko public API and the exchange's own endpoints, 2026-09-17. More on the Coinbase page.

What the audit says about running it live

From the bbgo audit (2026-09-17), the controls that matter most once a live API key is connected:

ControlVerdictEvidence
API key permissionsNot verifieddoc/README.md index has no dedicated API-key-permissions/security guide; pkg/cmd/withdraw.go does not exist (HTTP 404)
Orphaned stop-lossPartialpkg/types/order.go (OrderTypeStopMarket, OrderTypeStopLimit, OrderTypeTakeProfitMarket, OrderTypeTrailingStopMarket); pkg/risk/riskcontrol/circuit_break.go and position.go (in-memory halt/reduce logic)
Websocket and data reconnectionPresentpkg/exchange/binance/stream.go (OnListenKeyExpired -> stream.Reconnect(), OnServerShutdownEvent -> stream.Reconnect(), handleDisconnect resets depth buffers)
Order rejection handlingPartialpkg/types/order.go (OrderStatusRejected); pkg/exchange/binance/stream.go (handleExecutionReportEvent)
Position reconciliation with the exchangePartialpkg/bbgo/environment.go (BindSync -> tradeWriterCreator/orderWriterCreator persist trades/orders to DB; futuresPositionWriterCreator calls SyncService.FuturesService.QueryPositionsAndInsert after each futures trade)

Before you connect a key