Closed awitherow closed 7 years ago
https://github.com/coinbase/gdax-node/issues/20
Apparently you have to create multiple clients.
const choiceCurrency = "USD" const coins = [`BTC`, 'ETH', 'LTC']; coins.map(coin => run(`coin-${choiceCurrency}`)); getSnapshot(coin) -> client[coin].getProductTicker(coinSnapshot) getAccount(coin) -> client[coin].getAccounts filter == coin run algorithm as normal.
woot! #28 closes this.
https://github.com/coinbase/gdax-node/issues/20
Apparently you have to create multiple clients.
psuedo implementation