Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 727 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 727 Bytes

gdax

gdax is a command line tool that allows the user to get snapshot or streaming quotes from Coinbase's GDAX exchange: https://www.gdax.com/trade/BTC-USD

Diagram

API Docs: https://docs.gdax.com/

Installation

Make sure you have Go installed: https://golang.org/doc/install

To install gdax run:

go get github.com/3cb/gdax

Make sure your PATH includes the $GOPATH/bin directory so the commands can be used:

export PATH=$PATH:$GOPATH/bin

Usage

For a snapshot quote simply run the binary from the command line:

gdax

For streaming quotes through a websocket connection run with the -s flag:

gdax -s

That's it!