getCoins: Load multiple cryptocurrencies

View source: R/getCoins.R

getCoinsR Documentation

Load multiple cryptocurrencies

Description

Returns common sample of historical prices of given portfolio of cryptocurrencies.

Usage

getCoins(
  symbols,
  period = "daily",
  interval = NULL,
  market = "USD",
  key = "premium"
)

Arguments

symbols

list of cryptocurrency symbols to look up

period

"daily", "weekly", "monthly", "yearly", or "intraday"

interval

NULL for anything but intraday otherwise "1min", "5min", "15min", "30min", "60min"

market

currency to quote in, "USD", "CNY", "EUR", etc

key

"premium" or "free"; the type of API key obtained from AV

Value

xts


shill1729/ravapi documentation built on June 1, 2025, 6:05 p.m.