coincap_ohlc: Query for available markets from the CoinCap API

View source: R/query.R

coincap_ohlcR Documentation

Query for available markets from the CoinCap API

Description

Query for available markets from the CoinCap API

Usage

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

Arguments

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: 1528410925604)

end

UNIX time in milliseconds, omitting will return the most recent candles (ex: 1528411045604)

Value

data frame


southernt/rcoincap documentation built on May 21, 2022, 12:09 a.m.