When 'CoinMarketCap' blocks the same request twice, crypto2 leaves its 400 days out of the download, which shows as a gap in the dates of a coin.
Arguments
- history
Price history from
download_history(), sorted by coin and date.
Examples
history <- data.frame(
name_symbol = "Alpha (A)",
timestamp = as.Date(c("2024-01-01", "2024-01-02", "2024-01-05"))
)
crypto:::has_gaps(history)
#> [1] TRUE