Know these first
- L2.5.09: Stress testing
By the end you will be able to
- 1Run historical stress tests on a trading book by replaying a past episode on today's positions.
- 2Design hypothetical scenarios that move all risk factors consistently, and revalue the book in full.
- 3Find the most likely scenario that causes a given loss (a reverse stress test) and read what it reveals.
- 4Explain why full revaluation, the replay window and the correlation assumptions change the answer.
Why it matters
The desk's one-day 99% VaR is £1.94m. Its worst day in three years of history lost £4.98m, and its worst run of ten days £7.44m. VaR says how often a bad day comes; it says nothing about how bad the worst ones can be, or about the day the desk's hedges stop working. Stress tests answer those questions, and banks run them routinely on every trading desk.
Core explanation
Three ways to break a book
Illustrative dataRiskAtoms Bank plc's Markets desk
The module's trading book: eight positions in four books (Equities, Rates, FX and commodities, Credit) driven by eight risk factors, with 750 days of seeded factor moves that include a stressed spell (days 480 to 539) and four jump days. Every position is revalued in full. The numbers are made up for teaching, in pounds, on one valuation day; they are not market data.
Historical: replay the stressed spell
A historical scenario takes the factor moves of a real episode and applies them to today's book. Its strength is that nobody had to imagine it: the correlations really happened. The desk's history has a stressed spell from day 480 to day 539.
| Episode | Full revaluation | Sensitivity estimate | Puts' P&L |
|---|---|---|---|
| Day 486: the sharp risk-off day | −£2.34m | −£3.24m | +£2.78m |
| Day 488: the worst single day | −£4.98m | −£5.92m | +£2.58m |
| Days 515 to 524: worst 10 days | −£7.44m | −£16.18m | +£13.15m |
| Days 480 to 539: the whole spell | +£6.18m | −£7.14m | +£16.74m |
Three things stand out. On day 486, a 6% equity fall with volatility up 7 points, the puts earned £2.78m and cut the loss to £2.34m. Over the worst ten days, the sensitivity estimate (−£16.18m) is more than twice the true loss: with the UK index down 22%, the puts' gamma dominates, so full revaluation is not optional for a book with options. And the whole 60-day spell, applied in one go, makes £6.18m, because rates fell more than 240bp and the gilt and the puts gained more than equities lost. Replaying a long window can net out its worst stretch; replay the worst sub-periods too.
Hypothetical: write the story, then the numbers
History holds only what has happened. A hypothetical scenario starts with a story and turns it into a move for every factor, keeping them consistent: if the story is inflation, short rates rise more than long ones, equities and credit suffer and oil rallies. The risk team, the desk and economists agree the stories; the risk team owns the numbers. Guess each one's sign before you look:
Four designed scenarios. Profit or loss for the desk?
| Position | Disorderly risk-off | Inflation shock | Gilt sell-off | Oil supply shock |
|---|---|---|---|---|
| UK index futures (long £60m) | −£9.00m | −£4.80m | −£1.80m | −£2.40m |
| US equity basket ($39m) | −£3.16m | −£0.93m | +£1.91m | −£0.31m |
| UK index puts (1,000 contracts) | +£8.44m | +£3.43m | +£1.02m | +£1.50m |
| 10-year gilt (£100m face) | +£2.42m | −£7.59m | −£9.03m | −£1.19m |
| 2-year swap, pay fixed (£300m) | −£2.28m | +£6.95m | +£4.20m | +£1.13m |
| Sell $26m forward | −£1.05m | −£0.62m | −£1.28m | −£0.41m |
| Brent futures (200,000 barrels) | −£2.59m | +£3.17m | £0.00m | +£5.02m |
| Corporate bonds (£80m) | −£1.32m | −£5.12m | −£4.04m | −£1.13m |
| Desk | −£8.53m | −£5.51m | −£9.01m | +£2.22m |
The gilt sell-off is the worst, at −£9.01m, and it is the least dramatic story for global markets. It hits the desk's biggest single exposure, the long 10-year gilt, while the pound's fall barely helps. A scenario hurts in proportion to what the book holds, not to how frightening it sounds. The risk-off scenario, by contrast, is cushioned by the gilt rally and the puts; the oil shock makes money on the Brent futures.
Reverse: start from the loss
A reverse stress test fixes the loss the desk cannot accept, say £10m, and asks which scenarios cause it. Infinitely many do, so pick the most plausible: the one closest to today in Mahalanobis distance, which counts standard deviations while allowing for correlations. For a linear book the answer has a closed form (the formal section derives it): move every factor in proportion to its covariance with the desk's P&L.
For the desk, the most likely £10m loss is 12.0 standard deviations away under calm markets, and 4.9 under the stressed spell's covariance. The first is effectively impossible in the model; the second is a bad week in a crisis. Read the scenario, not just its distance: UK equities −9.9%, US −10.3%, 2y +20bp, 10y +44bp, GBP/USD +0.8%, Brent −12.9%, vol +5.9 pts, IG +17bp. Equities fall and gilt yields rise. The desk is safe as long as government bonds rally when stocks fall; the reverse stress test points straight at that assumption.
The formal version
The most likely scenario. Let be the vector of factor moves, their covariance matrix and the desk's sensitivities, so the linear P&L is . Among all scenarios that lose , find the one with the smallest Mahalanobis distance. Use a Lagrange multiplier, as in L3.1.07: Mean-variance optimisation:
Each factor moves in proportion to , its covariance with the desk's P&L, the same vector that gives marginal VaR in L3.2.09: Parametric VaR for a portfolio. The distance is the loss divided by the P&L's standard deviation: the same number of sigmas as a one-factor problem.
Back to full revaluation. The book is not linear, so scale the scenario, , until the full revaluation loses exactly . A book that is long options (positive gamma) needs ; the second-order term from L3.2.06: Option Greeks across a book, , works in its favour. A full non-linear search over all directions is a job for an optimiser; scaling the linear answer is the usual first step.
Try it
Start from any preset, then move one factor at a time. Try the gilt sell-off with the 10-year rate set to zero: most of the loss disappears. Then take the risk-off scenario and push equities to −30%: watch the puts' bar grow faster than the futures' and the gap between full revaluation and the sensitivity tick widen.
Try itStress the desk
Start from
Bars: full revaluation. Upright tick: the sensitivity (delta) estimate.
Worked example
A reverse stress test for £10m
From an unacceptable loss to the scenario behind it
Step 1 of 5- 1
The desk's P&L volatility
a day with the calm covariance (L3.2.09: Parametric VaR for a portfolio).
Day 486, three times over
Regulatory lens
Banks that use internal models for market risk have been required to run regular, rigorous stress tests since the 1996 Market Risk Amendment. The Basel Committee's Stress testing principles (October 2018) ask for scenarios that are severe but plausible, cover the firm's material risks, are reviewed and challenged, and feed into decisions, and they name reverse stress testing as one of the tools. The trading book also carries a stressed VaR or stressed expected shortfall, measured over a period of significant stress (L2.5.07: Historical VaR). Supervisory stress tests run by the Bank of England, the EBA and the Federal Reserve are in M4.9: Supervision, stress testing and disclosure.
Spark Atoms
Spark AtomBlack Monday
Spark AtomThe spell that made money
Key takeaways
- Stress tests fix a scenario and ask for the loss; VaR fixes a probability and asks for the loss. Desks need both.
- Historical scenarios replay real moves on today's positions; take the worst sub-periods, not only whole episodes.
- Hypothetical scenarios start from a story and move every factor consistently; the worst is the one that hits what the book holds.
- Revalue in full: on the worst 10 days the sensitivity estimate is more than twice the true loss because of the puts.
- The most likely scenario for a loss L is x* = −LΣδ/(δ′Σδ), L/σ standard deviations away. Read it for the assumption it breaks.
Reaction
Check what stuck
Question 1 · objective 1
Which question does a stress test answer that a 99% VaR does not?
Question 2 · objective 2
In the disorderly risk-off scenario the full revaluation loss is £8.53m. Multiplying sensitivities by the moves gives a loss of how much, in £m (two decimals)?
Question 3 · objective 3
The desk's daily P&L standard deviation is £0.836m. In the linear model, how many standard deviations away is the most likely scenario that loses £10m (one decimal)?
Question 4 · objective 3
The reverse stress test finds equities down 10% with gilt yields up 44bp. What does that tell the desk?
Question 5 · objective 2
Applied in one go, the 60-day stressed spell makes the desk +£6.18m. Its worst 10 days lose £7.44m. What is the lesson?
Glossary
- Historical scenario
- A stress test that replays the factor moves of a real past episode on today's positions.
- Hypothetical scenario
- A stress test built from a story about what could happen, with each factor's move chosen to fit the story.
- Reverse stress test
- A stress test that starts from an unacceptable loss and searches for the scenarios that would cause it.
- Mahalanobis distance
- A distance that measures a scenario in standard deviations, allowing for the volatilities and correlations of the factors: √(x′Σ⁻¹x).
- Full revaluation
- Pricing every position again at the stressed market levels, rather than multiplying sensitivities by the moves.
- Instantaneous shock
- A shock applied in one go to today's positions, with no time for the desk to trade or hedge.
Deep Dives & Origins
Deep Dives
- T. Breuer, M. Jandačka, K. Rheinberger and M. Summer, “How to find plausible, severe and useful stress scenarios”, International Journal of Central Banking 5(3), 2009, pp. 205–224. Advanced.
- P. Jorion, Value at Risk, 3rd ed., McGraw-Hill, 2007, the chapter on stress testing. Intermediate.
Origins
- Basel Committee on Banking Supervision, Stress testing principles, October 2018.
- Basel Committee on Banking Supervision, Amendment to the capital accord to incorporate market risks, January 1996.
Watch this lesson
Video version
Prefer to watch? The same lesson as a 12-minute video will sit here, made from this page's script.