Value at Risk
Value at Risk (VaR) is the loss that will not be exceeded with a given confidence over a given horizon; a 1-day 99% VaR of ₹3 crore means losses should exceed ₹3 crore on only about 1 day in 100.
Three ways to compute it
Parametric (variance-covariance)
Assume returns are normal with volatility :
with and .
Historical simulation
Revalue today’s portfolio under each of the last, say, 500 daily market moves, sort the 500 profit-and-loss outcomes, and read off the loss at the chosen percentile. At 99% with 500 scenarios, VaR is the 5th-worst loss. No normality assumption, but it only knows the past.
Monte Carlo simulation
Simulate thousands of possible market moves from a model (which can include fat tails and non-linear instruments such as options), revalue, and read the percentile.
import numpy as np
rng = np.random.default_rng(7)
value = 100.0 # ₹ crore
daily_vol = 0.012
pnl = value * rng.standard_t(df=4, size=100_000) * daily_vol / np.sqrt(2) # fat-tailed, scaled to the same volatility
var_99 = -np.percentile(pnl, 1)
print(f"1-day 99% VaR: ₹{var_99:.2f} crore")
With fat tails (a t-distribution with 4 degrees of freedom), the 99% VaR comes out somewhat higher than the normal ₹2.79 crore.
| Method | Strength | Weakness |
|---|---|---|
| Parametric | Fast, simple | Assumes normality; poor for options |
| Historical | No distribution assumption | Blind to anything not in the window |
| Monte Carlo | Flexible, handles complex products | Only as good as the model; slow |