R/global_metrics.R
get_global_marketcap.Rd
Extract Global Market Cap of Cryptocurrency Market
get_global_marketcap(currency = "USD", latest = TRUE, ...)
currency | currency code - Default is 'USD' |
---|---|
latest | If `TRUE` (default), only the latest data is retrieved, otherwise historical data is returned. (NOTE: Historic Data require higher API rights) |
... | Further arguments can be passed to historical data. Further information can be found in the API documentation |
A dataframe with global market cap of Cryptocurrencies
# NOT RUN { get_global_marketcap('AUD') get_global_marketcap('EUR') get_global_marketcap(latest = FALSE, count = 10, interval = "yearly", time_start = Sys.Date()-180, time_end = Sys.Date()) # }