Outputs module server
mod_outputs_server.RdReacts to the fetch signal from mod_inputs_server(), downloads adjusted
price data via get_stock_prices(), computes daily log returns with
get_stock_returns(), and summarises performance metrics with
summarise_performance(). Renders all five tooltip-demo outputs (KPI
boxes, bslib, shinyhelper, prompter, shinyalert, reactable) and returns
the reactive performance-summary tibble for use by mod_download_server().
Arguments
- id
Module namespace id.
- inputs_r
Reactive list returned by
mod_inputs_server().
Value
A reactive tibble with columns symbol, ann_return, ann_vol,
and sharpe — the output of summarise_performance().
Details
Calls shinyhelper::observe_helpers() internally — do not call it
separately in app_server().