compute_portfolio_var
Computes regulatory Value-at-Risk and Expected Shortfall (CVaR) for portfolio market risk over specified holding periods and confidence levels.
Instructions
Computes regulatory Value-at-Risk (VaR) and Expected Shortfall (CVaR) for market risk across specified holding periods and confidence intervals.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"portfolio_value": "<portfolio_value>",
"daily_volatility": "<daily_volatility>"
},
"name": "compute_portfolio_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizon_days | No | Holding period in days (e.g. 10 for Basel Market Risk) | |
| portfolio_value | Yes | Total market value of the portfolio in USD | |
| confidence_level | No | Statistical confidence level (e.g. 0.99 for 99%) | |
| daily_volatility | Yes | 1-day standard deviation of portfolio returns |