cap: Global cryptocurrency market cap

Description Usage Arguments Details Value See Also Examples

Description

Obtain global cryptocurrency market cap data from coinmarketcap.com.

Usage

1
cap(crypto = NULL, convert = "USD")

Arguments

crypto

character, integer or NULL, may be a vector. See details.

convert

character, may be a vector. Currencies to convert crypto value. These may be fiat or cryptocurrencies.

Details

Return all tracked cryptocurrencies if crypto = NULL. Return global aggregate market cap if crypto = "global". If an integer, return the top crypto cryptocurrencies by market cap. Otherwise crypto should be a vector of cryptocurrency ticker symbols, e.g., BTC. This function is a partial wrapper around ticker (when crypto = "global").

Value

a data frame.

See Also

ticker

Examples

1
2
3
4
5
6
## Not run: 
cap()
cap(crypto = "global")
cap(crypto = c("ETH", "LTC"), convert = c("EUR", "GBP", "BTC"))

## End(Not run)

leonawicz/rockchain documentation built on May 29, 2019, 3:39 a.m.