Value-at-Risk for a basket, and the name driving it
Value-at-Risk (VaR) — the loss threshold exceeded only at the stated confidence level — computed from historical returns and by Monte-Carlo simulation, alongside Expected Shortfall (CVaR), the mean loss on the days that breach VaR. Both use the weights shown on each name: equal by default, or supplied weights normalized to 100%. Marginal VaR attributes that risk to individual holdings.
Value-at-Risk & Expected Shortfall
| Horizon | VaR 95% | ES 95% | VaR 99% | ES 99% |
|---|---|---|---|---|
| Monte-Carlo · 1d | 2.62% | 3.29% | 3.74% | 4.21% |
| Monte-Carlo · 10d | 8.29% | 10.39% | 11.83% | 13.30% |
| Historical · 1d | 2.44% | 3.68% | 4.52% | 5.55% |
| Historical · 10d | 7.72% | 11.63% | 14.30% | 17.56% |
| Parametric · 1d | 2.67% | — | 3.77% | — |
Method agreement (1-day): VaR 95% spans 2.44%–2.67% across 3 methods; VaR 99% spans 3.74%–4.52% across 3 — the methods differ moderately; the range is the uncertainty band of the estimate.
VaR 95% = the loss threshold exceeded on 1 day in 20; ES/CVaR = the mean loss on those days. Monte-Carlo = 20,000correlated Gaussian scenarios drawn from the sample covariance; Historical = the observed return days (502) replayed at current weights; Parametric = z × portfolio sigma (VaR only). Gaussian simulation understates rare extremes relative to the historical replay. All figures use the weights shown on the basket chips above (equal by default)
Marginal VaR — which holding drives the risk
Each holding's share of portfolio Value-at-Risk; shares sum to 100%. (Use "portfolio" for the risk object throughout; "basket" may remain for the ticker input list.)
Risk glossary
- VaR
- Value-at-Risk — a loss threshold you expect to breach only (1 − confidence) of the time.
- Expected Shortfall (CVaR)
- The average loss GIVEN that you have already breached VaR — the mean of the worst tail.
- Monte-Carlo VaR
- Simulating 20,000 correlated scenarios from the estimated covariance (via Cholesky) and reading the tail.
- Cholesky
- A way to factor the covariance matrix (L·Lᵀ = Σ) so independent random draws come out correlated like your real assets.
- Marginal / Component VaR
- Each asset's share of total VaR (Euler allocation); the shares sum to 100% of VaR.
- √h rule
- Multiply a 1-day risk figure by the square root of the horizon in days to scale it.