cex_io_ohlcv: cex_io_ohlcv

View source: R/cex_io.R

cex_io_ohlcvR 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)

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.