Skip to contents

Downloads the list of the active coins tracked by 'CoinMarketCap' and keeps it on disk for a day (see disk_cache()). When the download fails, the kept list is used. Its name_symbol column holds the labels, such as "Bitcoin (BTC)", that pick coins in get_history().

Usage

get_coins()

Value

The crypto2::crypto_list() data frame, with a name_symbol column.

Examples

if (FALSE) { # \dontrun{
coins <- get_coins()
head(coins$name_symbol)
} # }