crypto_dot_com_get_candlestick {cryptotrackr} | R Documentation |
crypto_dot_com_get_candlestick
Description
crypto_dot_com_get_candlestick
Usage
crypto_dot_com_get_candlestick(
instrument,
timeframe = "5m",
timeout_seconds = 60
)
Arguments
instrument |
the instrument name which you want to query |
timeframe |
the timeframe which each candle represents. You can choose from the following options: '1m', '5m', '15m', '30m', '1h', '4h', '6h', '12h', '1D', '7D', '14D', '1M'. The defailt option is '5m'. |
timeout_seconds |
seconds until the query times out. Default is 60. |
Value
returns a list which contains metadata about your query along with a dataframe containing your candlestick data.
Examples
crypto_dot_com_get_candlestick("BTC_USDT", timeout_seconds = 4.5)
[Package cryptotrackr version 1.3.3 Index]