backtest_var
Performs walk-forward Value-at-Risk backtesting with Kupiec proportion-of-failures, Christoffersen independence/conditional coverage tests, and Basel traffic-light zone classification. Supports historical or parametric methods.
Instructions
Walk-forward VaR backtest (no look-ahead): Kupiec proportion-of-failures,
Christoffersen independence/conditional-coverage tests, and the Basel
traffic-light zone. method is 'historical' or 'parametric'. Needs more
than window+30 observations; omit returns to use the demo portfolio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| method | No | historical | |
| window | No | ||
| returns | No |