get_global_marketcap: Extract Global Market Cap of Cryptocurrency Market

Description Usage Arguments Value Examples

View source: R/global_metrics.R

Description

Extract Global Market Cap of Cryptocurrency Market

Usage

1
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

1
2
3
4
5
6
7
8
## 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)

trafficonese/coinmarketcap_v2 documentation built on Nov. 5, 2019, 10:57 a.m.