powered by
cex_io_ohlcv
cex_io_ohlcv(date, symbol_1, symbol_2, timeout_seconds = 60)
returns a list containing open, high, low, close, volume data for the past minute, hour, and day
the date for which to retrieve data
the first currency in your pair
the second currency in your pair
seconds until the query times out. Default is 60.
date <- '20220927' symbol_1 <- 'btc' symbol_2 <- 'usd' cex_io_ohlcv(date, symbol_1, symbol_2, 4.5)
Run the code above in your browser using DataLab