cex_io_ohlcv {cryptotrackr}R Documentation

cex_io_ohlcv

Description

cex_io_ohlcv

Usage

cex_io_ohlcv(date, symbol_1, symbol_2, timeout_seconds = 60)

Arguments

date

the date for which to retrieve data

symbol_1

the first currency in your pair

symbol_2

the second currency in your pair

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a list containing open, high, low, close, volume data for the past minute, hour, and day

Examples

date <- '20220927'
symbol_1 <- 'btc'
symbol_2 <- 'usd'
cex_io_ohlcv(date, symbol_1, symbol_2, 4.5)

[Package cryptotrackr version 1.3.3 Index]