Market Risk: VaR, Expected Shortfall & Stress Testing
Measure how much a trading book can lose: historical, parametric and Monte Carlo VaR, expected shortfall, backtesting and the stress tests regulators ask for.
Start the free previewLabs run in your browser. No installs.
What you will be able to do
- Compute VaR three ways and explain their differences
- Compute expected shortfall and say why Basel moved to it
- Backtest VaR with exceedance counts and the Kupiec test
- Design historical and hypothetical stress scenarios, including FX shocks
Tools
- Python
- NumPy
- pandas
- Excel
Syllabus — 5 modules
Value at Risk three ways
VaR answers “how much could we lose on a bad day?” at a confidence level. Historical, parametric and Monte Carlo VaR give different answers for good reasons.
Historical simulation · Parametric (variance–covariance) VaR · Monte Carlo VaR · Scaling to longer horizons
Expected shortfall
VaR says nothing about how bad the bad days are. Expected shortfall averages the losses beyond VaR and is coherent.
Expected shortfall (CVaR) · Coherent risk measures · Tail estimation · Why Basel FRTB adopted ES
Backtesting VaR
Count the days losses exceeded VaR. Too many means the model is wrong; the Kupiec test says whether the count is surprising.
Exceedances · Kupiec proportion-of-failures test · Traffic-light approach · Clustering of exceedances
Stress testing and scenarios
Some disasters are not in the data. Stress tests ask “what if the naira fell 40% and yields rose 5 points?” and price the book under that world.
Historical scenarios (2016, 2020, 2023 FX moves) · Hypothetical and reverse stress tests · Factor shocks and revaluation · CBN prudential stress-testing expectations
Risk reporting and limits
Risk numbers matter only if they change decisions: limits, escalation and a daily report a trader and a board can both read.
Risk limits and utilisation · Risk attribution by desk and factor · Daily risk report design · Model risk and validation (SR 11-7)
How you are assessed
Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.
Where it sits in the Financial Engineering track
- Quantitative Finance Foundations Beginner
- Fixed Income & Yield Curves Intermediate
- Derivatives & Options Pricing Intermediate
- Stochastic Calculus & Monte Carlo Advanced
- Market Risk: VaR, Expected Shortfall & Stress Testing (this course) Advanced
- Portfolio Construction & Asset Pricing Advanced
- Credit Risk Modelling Advanced
- FX, Rates & Hedging in African Markets Advanced
- Algorithmic Trading & Backtesting Advanced
- Machine Learning for Finance Advanced
Part of these career paths
Questions and answers
- How long does the Market Risk: VaR, Expected Shortfall & Stress Testing course take?
- About 18 hours across 5 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
- Is Market Risk: VaR, Expected Shortfall & Stress Testing free?
- The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
- Do I get a certificate for Market Risk: VaR, Expected Shortfall & Stress Testing?
- Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
- What should I know before starting Market Risk: VaR, Expected Shortfall & Stress Testing?
- It follows Stochastic Calculus & Monte Carlo in the Financial Engineering track. If Financial Engineering is new to you, start with Quantitative Finance Foundations.
- What will I be able to do after Market Risk: VaR, Expected Shortfall & Stress Testing?
- Compute VaR three ways and explain their differences; Compute expected shortfall and say why Basel moved to it; Backtest VaR with exceedance counts and the Kupiec test.