bcp (Bayesian change points; posterior probs),changepoint (PELT on mean/variance),ecp (Matteson’s non-parametric energy change
points).Fires a hedge signal only when disturbance is detected (you control thresholds).
Sizes the hedge with EVT (evir) on
the left tail (losses), then applies Dembo’s
minimax-regret rule:
\[ \alpha^*=\frac{G}{G+D},\qquad R^*=\frac{GD}{G+D} \]