Please Set 5 environment variables as mentioned for following
2 OS environment variable For Binance:
BINANCE_KEY="xxxx"
BINANCE_SECRET="xxxx"
2 OS environment variable For Coinbase:
COINBASE_KEY="xxxx"
COINBASE_SECRET="xxxx"
1 OS environment variable for Log path without ending trailing slash like below
LOG_PATH="/home/centos/go/src/cryptocoin"
user@centos:coinbase$ go build -ldflags "-s -w" main.go
user@centos:coinbase$
user@centos:coinbase$ ./main
after the file has completed the process, it will store all the exchange pair and data on 2 file names:
1. binance-pair-price.txt
2. coinbase-pair-price.txt
Thanks
Happy Trading :)