Downloads the daily USD prices with crypto2::crypto_history(), in
requests of 400 days. A failed download is reported as a message instead
of an error.
Arguments
- coin
One row of
get_coins().- start_date
Date. The first day to download.
Value
The price history of the coin, as described in get_history(),
or NULL when nothing could be downloaded.
Examples
if (FALSE) { # \dontrun{
coins <- get_coins()
crypto:::download_history(coins[coins$name_symbol == "Bitcoin (BTC)", ], Sys.Date() - 30)
} # }