A picker for up to 10 coins, a start date, a button that downloads the normalized prices as CSV, and a chart of the coins' close prices normalized to 100.
Arguments
- id
Character. Module namespace id.
- coins
Data frame of coins from
get_coins(), whosename_symbollabels fill the picker.- top_coins
Coin labels sorted by market cap; the first three that are in
coinsare selected at start.
Examples
if (FALSE) { # \dontrun{
coins <- crypto:::get_coins()
shiny::fluidPage(crypto:::mod_compare_ui("compare", coins, c("Bitcoin (BTC)", "Ethereum (ETH)")))
} # }