Files
f/tests
gmp d5a7bb70b0 Statistics tab: fix benchmark alignment + rf-adjusted Sharpe/Sortino/alpha
- Pass the benchmark's DAILY price series to metrics.summary() instead of
  a month-end-resampled one; summary() derives daily returns and
  annualizes with 252d, so the old resample made beta/alpha regress the
  fund's month-end daily returns against whole-month benchmark returns
  (and skewed ann_return_bench).
- New sidebar setting 'Risk-free rate %' (default 4%, persisted) passed
  through to summary(), so Sharpe, Sortino and CAPM alpha are computed
  in excess of rf; noted in the page caption and stats help.
2026-09-02 06:53:36 -04:00
..