value_at_risk
Calculate portfolio Value-at-Risk with a parametric method using configurable confidence level and holding period to estimate potential losses over 1 or N days.
Instructions
Calculate portfolio Value-at-Risk (VaR) using parametric method. Returns 1-day and N-day VaR at given confidence.
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": "value_at_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account ID | |
| lookbackDays | No | Historical lookback for vol estimation (default: 252) | |
| confidenceLevel | No | Confidence level (e.g., 0.95 for 95%) | |
| holdingPeriodDays | No | Holding period in days (default: 1) |