{
  "tool": "msc-risk--actuarial.parametric_var_es",
  "name": "Parametric value at risk and expected shortfall (CDU-BUS-RSK-900)",
  "answers": "Under a normal model, what loss is exceeded only with probability 1 − c over the horizon, and what is the average loss beyond it?",
  "degree": {
    "id": "competency:msc-risk--actuarial",
    "code": "CDU-BUS-RSK-900",
    "name": "MSc Risk & Actuarial",
    "version": "1.0.0"
  },
  "reference": "J.P. Morgan/Reuters RiskMetrics Technical Document (1996): parametric VaR, square-root-of-time scaling; BCBS (2019) market risk framework: expected shortfall at 97.5%",
  "endpoint": "/faculty/msc-risk--actuarial/parametric_var_es",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "portfolioValue",
      "dailyVolatility",
      "horizonDays",
      "confidence"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "portfolioValue": {
        "type": "number",
        "description": "Current portfolio value",
        "minimum": 0.01
      },
      "dailyVolatility": {
        "type": "number",
        "description": "Standard deviation of daily returns",
        "minimum": 0.000001,
        "maximum": 1
      },
      "horizonDays": {
        "type": "number",
        "description": "Holding period in days",
        "minimum": 1,
        "maximum": 250
      },
      "confidence": {
        "type": "number",
        "description": "Confidence level, 0.9–0.999",
        "minimum": 0.9,
        "maximum": 0.999
      },
      "dailyMeanReturn": {
        "type": "number",
        "description": "Expected daily return",
        "minimum": -0.1,
        "maximum": 0.1,
        "default": 0
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "z",
      "valueAtRisk",
      "expectedShortfall"
    ],
    "properties": {
      "z": {
        "type": "number",
        "description": "Standard normal quantile at the confidence level"
      },
      "valueAtRisk": {
        "type": "number",
        "description": "VaR over the horizon"
      },
      "expectedShortfall": {
        "type": "number",
        "description": "ES over the horizon"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "portfolioValue": 10000000,
    "dailyVolatility": 0.012,
    "horizonDays": 10,
    "confidence": 0.99,
    "dailyMeanReturn": 0
  }
}