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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "backtest_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| method | No | historical | |
| window | No | ||
| returns | No |