MiniCTRMSearch

MiniCTRM - Build Tutorial 602: Market risk: sensitivities, historical-simulation VaR, stress tests and limits

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

Delta by index and month found by bumping each curve month through the valuation engine, historical-simulation VaR from the stored closes with the worst days and each deal's contribution, stress scenarios kept as data and run on the book, risk limits checked on every run with every breach recorded, and a risk dashboard that links to each report.

  • Four questions, four measures – Sensitivities, VaR, stress tests and limits - what each answers, and the two rules every risk number obeys.
  • Delta, and a run that is kept – Position by index and month, the delta of every curve month through the engine, and a risk run as a job with a history.
  • Value at Risk from your own closes – What VaR is in plain words, why historical simulation, and the run that replays the last 250 days.
  • Stress tests – A scenario as data a firm edits, run on the whole book, the loss per scenario and per deal.
  • Limits and the dashboard – A limit is a number a firm sets on a measure; every run checks every limit; one morning page reads them all.
  • Ship it – /ship, with the risk tests among the rest.
  • How MiniCTRM did it – Sensitivities, Value at Risk, Stress Tests, Risk Limits and the Risk Dashboard, live.

Before you start

The lessons this one builds on: 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

Which way, and how much

1 / 15
Which way, and how much
Four questions, four measures

Four questions, four measures

2 / 15
Four questions, four measures
Four questions, four measures

One pricer, one stored run

3 / 15
One pricer, one stored run
Delta, and a run that is kept

Position, then delta

4 / 15
Position, then delta
Delta, and a run that is kept

A risk run as a job

5 / 15
A risk run as a job
Value at Risk from your own closes

What Value at Risk is, in plain words

6 / 15
What Value at Risk is, in plain words
Value at Risk from your own closes

Historical-simulation VaR

7 / 15
Historical-simulation VaR
Stress tests

Stress tests: a scenario is data

8 / 15
Stress tests: a scenario is data
Limits and the dashboard

Limits are data, and warnings

9 / 15
Limits are data, and warnings
Limits and the dashboard

Risk limits, checked on every run

10 / 15
Risk limits, checked on every run
Limits and the dashboard

The risk dashboard

11 / 15
The risk dashboard
Ship it

Ship it

12 / 15
Ship it
How MiniCTRM did it

Sensitivities, Value at Risk and Stress Tests

13 / 15
Sensitivities, Value at Risk and Stress Tests
How MiniCTRM did it

Risk Limits and the Risk Dashboard

14 / 15
Risk Limits and the Risk Dashboard
What you have now

What you have now

15 / 15
What you have now

You have finished lesson 602, Market risk: sensitivities, historical-simulation VaR, stress tests and limits.

Where next?

← → move · N notes · Home / End