/binancer

R client to Binance API

Primary LanguageR

binancer

An R client to some Cryptocurrency exchanges:

Example on getting data from Binance on the most recent Bitcoin/USDT changes:

library(binancer)
binance_klines('BTCUSDT', interval = '1m')

Extend this to multiple pairs:

rbindlist(lapply(c("ETHBTC", "LTCBTC"), binance_klines, interval = "1d", limit = 200))

Same on Huobi:

huobi_klines('btcusdt')