Description Usage Arguments Value Author(s) Examples
View source: R/coingecko_price.R
Get historical data from the CoinGecko web api for a given Id (not Symbol) https://www.coingecko.com/en/api/documentation
1 | get_coingecko_history(id = NULL, cur = "usd", days = "max")
|
id |
string Id |
cur |
string currency (defaults to 'usd') |
days |
integer (1/7/14/30/90/180/365) or string "max" |
data.frame of date, price, market_cap, volume, Id, and epoch (unix time)
Roger J. Bos, roger.bos@gmail.com
1 2 | tmp <- get_coingecko_history("cardano", days = 30)
tmp <- get_coingecko_history("bitcoin", days = "max")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.