coins_chart: Charts

Description Usage Arguments Value

View source: R/coins.R

Description

Get historical market data include price, market cap, and 24h volume (granularity auto).Minutely data will be used for duration within 1 day, Hourly data will be used for duration between 1 day and 90 days, Daily data will be used for duration above 90 days.

Usage

1
coins_chart(id, currency, days = 30)

Arguments

id

Character. The id of the coin. refers to /coins/list.

currency

Character. The target currency of market data (usd, eur, jpy, etc.)

days

Integer. How many days of data to retreive.

Value

list.


SamBuckberry/CoinGeckoR documentation built on Dec. 18, 2021, 12:55 p.m.