powered by
huobi_candles
huobi_candles(period, size, symbol, timeout_seconds = 60)
returns a dataframe containing Huobi candle data
the period of each candle. The following are acceptable options: "1min", "5min", "15min", "30min", "60min", "4hour", "1day", "1mon", "1week", "1year"
the number of datapoints to return. This should fall between 1 and 2000.
the trading symbol to query.
seconds until the query times out. Default is 60.
period <- '1day' size <- '200' symbol <- 'btcusdt' huobi_candles(period, size, symbol, 4.5)
Run the code above in your browser using DataLab