/godax

godax is an (unofficial) Coinbase Pro API client

Primary LanguageGoMIT LicenseMIT

coinbase pro logo

Godax

coinbase pro logo coinbase pro logo coinbase pro logo License License


Godax is an (unofficial) Coinbase Pro client. It is a work in progress and I've listed the remaining work needed for completion of their API. Generally speaking it could use more tests, as most are not testing error paths.


Docs: https://docs.pro.coinbase.com

Features:

  • ListAccounts
  • GetAccount
  • GetAccountHistory
  • GetAccountHolds
  • PlaceOrder
  • CancelOrderByID
  • CancelOrderByClientOID
  • CancelAllOrders
  • ListOrders
  • GetOrderByID
  • GetOrderByClientOID
  • ListFills
  • GetCurrentExchangeLimits
  • Stablecoin conversions
  • Payment methods
  • Coinbase accounts
  • Fees
  • User account
  • Profiles
  • Market Data: products
  • Market Data: currency
  • Market Data: time
  • Reports
  • Retry logic
  • Oracle
  • Margin

Still needs:

Development

Set the following environment variables which can point to either a live or sandbox coinbase pro account:

COINBASE_PRO_KEY=
COINBASE_PRO_SECRET=
COINBASE_PRO_PASSPHRASE=

Testing

go test ./...

Or with a bit of color

make test

Show your support

Give a ⭐ if this project was helpful in any way!