cc_exchange_historical: cc_exchange_historical

View source: R/cc_exchange_historical.R

cc_exchange_historicalR Documentation

cc_exchange_historical

Description

cc_exchange_historical

Usage

cc_exchange_historical(
  symbol = NULL,
  start = NULL,
  end = NULL,
  exchange = NULL,
  currency = "USD",
  interval = c("daily", "hourly"),
  api_key = NULL
)

Arguments

symbol

character, the symbol of interest.

start

character or Date, the start date for importation.

end

character or Date, the end date for importation.

exchange

character, the exchange in which retrieve the information, if NULL it will be returned a mean between all the exchanges and denoted with "global".

currency

character, the currency in which convert the output.

interval

character, the frequency of the data, it can be "daily", "hourly".

api_key

character

Value

a tibble, with 7 columns (Date, Symbol, Currency, Exchange, VolumeTo, VolumeFrom, Volume)


beniamino98/cryptocompareR documentation built on June 19, 2024, 12:37 a.m.