Created
December 16, 2017 04:10
-
-
Save troyscott/71da39353afb7bb8af2be0930166e347 to your computer and use it in GitHub Desktop.
Binance API Snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tickers = ['BNBBTC', 'BNBLTC']; | |
// For each ticker | |
tickers.forEach(function(item, index){ | |
binance.candlesticks(item[index], '1M', function(ticks, symbol) { | |
console.log(item); | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment