Golang sample project for testing Coinbase FIX API.
-
Read Coinbases FIX API documentation
-
Read Go quickfix documentation
-
Export the required env vars:
export COINBASE_API_KEY=""
export COINBASE_API_KEY_PASSPHRASE=""
export COINBASE_API_KEY_SECRET=""
- Create FIX configuration file and update fiel values based on Coninbase API key:
cp config/client.cfg.template config/client.cfg
- Install application dependencies:
go mod install
- Run application:
go run ./cmd/app.go