Analyses the price history of the coin selected in the
Timeseries tab with volatility_analysis(), once per coin, and shows it in
words and as a chart. The CSV file, named like
bitcoin-btc-volatility-2026-11-06.csv, holds volatility_csv(): a row
per day, the days of the forecast included.
Arguments
- id
Character. Module namespace id, must match the id used in
mod_volatility_ui().- history
Reactive returning the price history of the selected coin, from
mod_timeseries_server().- dark_mode
Reactive returning
"light"or"dark", the mode of the app.
Examples
if (FALSE) { # \dontrun{
# inside app_server():
function(input, output, session) {
dark_mode <- reactive(input$dark_mode)
history <- mod_timeseries_server("timeseries", coins, dark_mode)
mod_volatility_server("volatility", history, dark_mode)
}
} # }