get_global_marketcap: Extract Global Market Cap of Cryptocurrency Market

View source: R/global_metrics.R

get_global_marketcapR Documentation

Extract Global Market Cap of Cryptocurrency Market

Description

Extract Global Market Cap of Cryptocurrency Market

Usage

get_global_marketcap(currency = "USD", latest = TRUE, ...)

Arguments

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

Value

A dataframe with global market cap of Cryptocurrencies

Examples

## 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())


## End(Not run)

coinmarketcapr documentation built on March 18, 2022, 6:19 p.m.