coincap_ohlc | R Documentation |
Query for available markets from the CoinCap API
coincap_ohlc( base_id = "bitcoin", quote_id = "tether", granularity = "one_day", exchange = "binance", start_tm = Sys.time() - (coincap_ohlc_iter_adj(granularity)/1000L), end_tm = Sys.time() )
base_id |
base id |
quote_id |
quote id |
exchange |
exchange id |
interval |
candle interval |
start |
UNIX time in milliseconds, omitting will return the most recent candles (ex: |
end |
UNIX time in milliseconds, omitting will return the most recent candles (ex: |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.