View source: R/crypto_dot_com.R
crypto_dot_com_get_candlestick | R Documentation |
crypto_dot_com_get_candlestick
crypto_dot_com_get_candlestick(
instrument,
timeframe = "5m",
timeout_seconds = 60
)
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. |
returns a list which contains metadata about your query along with a dataframe containing your candlestick data.
crypto_dot_com_get_candlestick("BTC_USDT", timeout_seconds = 4.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.