Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 557 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 557 Bytes

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')