nexus_var_calculator
Compute Value-at-Risk and Conditional VaR for a portfolio with optional stress testing. Enter portfolio value and annual volatility to get risk metrics.
Instructions
Compute parametric Value-at-Risk (VaR), Conditional VaR (CVaR), and optional stress test scenarios for a portfolio.
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": {
"portfolioValue": "<portfolioValue>",
"annualVolatility": "<annualVolatility>"
},
"name": "nexus_var_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portfolioValue | Yes | Total portfolio value in the given currency | |
| annualVolatility | Yes | Annual volatility as decimal (e.g. 0.18 for 18%) | |
| holdingPeriodDays | No | Holding period in days (default: 10) | |
| confidenceLevel | No | Confidence level (default: 0.95) | |
| currency | No | Currency code (default: USD) | |
| includeStress | No | Include 5-scenario stress test (default: true) | |
| includeMatrix | No | Include VaR sensitivity matrix (default: false) |