Value-at-Risk & Expected Shortfall
493 real daily returns · 20,000 Monte-Carlo paths| Horizon | VaR 95% | ES 95% | VaR 99% | ES 99% |
|---|
| Monte-Carlo · 1d | 2.61% | 3.28% | 3.74% | 4.20% |
| Monte-Carlo · 10d | 8.25% | 10.37% | 11.84% | 13.29% |
| Historical · 1d | 2.45% | 3.71% | 4.52% | 5.67% |
| Historical · 10d | 7.75% | 11.72% | 14.30% | 17.93% |
| Parametric · 1d | 2.68% | — | 3.79% | — |
Method agreement (1-day): VaR 95% spans 2.45%–2.68% across 3 methods; VaR 99% spans 3.74%–4.52% across 3 — the methods differ moderately — treat the range as how uncertain the estimate is.
MC VaR95 1d 2.61% · 493 real daily returns · 20,000 Gaussian draws from the sample covariance (Cholesky)Hist VaR95 1d 2.45% · 493 real daily returns · empirical replay — no distribution assumedParam VaR95 1d 2.68% · 493 real daily returns · z·σ, Gaussian closed form
VaR = loss threshold (19/20 days). ES/CVaR = average loss on the bad 1-in-20 day. Monte-Carlo = 20,000simulated days built from how these names have moved together; Historical = the observed days replayed (493 of them); Parametric = computed from the book's volatility (VaR only). A simulation understates rare extremes; the historical rows replay days that actually happened. All figures use the weights on the basket chips above (equal — the default; set your own in the weights box).
Marginal VaR — which holding drives the risk
AAPL24.62%
MSFT27.03%
NVDA · top driver48.35%
Each holding's share of the book's total Value-at-Risk; the shares sum to 100%.
19 days out of 20 this book should not lose more than 2.61% in a day; but on the bad 1-in-20 day the average loss is about 3.28%. Computed on 493 real daily returns — your decisions, your risk.
Below, the engine walks the tail one concept at a time — VaR, Expected Shortfall, historical vs Monte-Carlo, who owns the tail, and how it scales — so you can read your own risk.
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.
sealed · audit root 1108961981f5f327…
What is VaR, in one sentence?
Historical 1-day 95% VaR is 2.45% of the book; the Monte-Carlo estimate is 2.61%.
Value-at-Risk (VaR) at 95% over 1 day means: "on 19 out of 20 normal days you should not lose more than this." It is a loss threshold, not a worst case — 1 day in 20 you can lose MORE.
Why Expected Shortfall (ES / CVaR) matters more
On a 95% breach day you would lose about 3.71% on average (historical ES) — that is 1.51× the VaR threshold.
VaR tells you the threshold; it says nothing about HOW bad the bad days are. Expected Shortfall is the AVERAGE loss on the days you do breach VaR — the true "if it goes wrong, how wrong" number. ES is always at least as large as VaR, and regulators (FRTB) now prefer it.
Historical vs Monte-Carlo — two honest lenses
Here the two methods land within 0.16% of each other at 95% — close agreement, on 493 observations and 20,000 simulated paths.
Historical simulation replays exactly what happened to your book, so it captures real fat tails but can only show losses it has already seen. Monte-Carlo estimates the covariance between your assets, Cholesky-factorises it, and generates 20,000 NEW correlated scenarios — smoother, and able to imagine combinations that have not occurred yet. Agreement between the two is a confidence signal.
Who owns the tail? (marginal VaR)
The largest single contributor to tail risk is NVDA (48.35% of total VaR).
Total risk is not the sum of each position's standalone risk — correlations matter. Marginal (component) VaR splits the TOTAL VaR into the slice each asset is actually responsible for, and the slices sum exactly to the total. Trim the biggest slice to cut risk most efficiently.
Scaling to longer horizons
Your 10-day 95% VaR (8.25%) is the 1-day figure × √10.
A 1-day risk number is scaled to h days with the "square-root-of-time" rule (multiply by √h). It assumes returns are independent day-to-day; real markets trend or mean-revert, so treat multi-day figures as an approximation, not gospel.