MiniCTRMSearch

MiniCTRM - Build Tutorial 704: Parametric VaR: the closed form, its speed and its blind spots

→ 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

The delta-normal formula on lesson 602's gradient and lesson 703's covariance, with a hand-checked test; component and marginal VaR by deal, portfolio and curve that add up exactly; a what-if VaR on the ticket's preview in milliseconds that warns and never refuses; the three methods side by side with the model check and a backtest of each; an honesty page and the rules in CLAUDE.md.

  • Why MiniCTRM keeps it as a check – MiniCTRM's decision: historical simulation is the VaR, and the delta-normal figure is a model check beside it.
  • What you need first – Lesson 602's deltas and lesson 703's covariance, reused unchanged, and where this lesson sits in a build.
  • The formula and its blind spots – VaR = z times the square root of g transposed Sigma g times the square root of h, in words; what it cannot see; what it is good for.
  • Four prompts – The gradient and the formula; component and marginal VaR; the what-if on the ticket; three methods, a backtest, the honesty page and the rules.
  • Ship it – /ship, with the hand-checked tests among the rest.
  • How MiniCTRM did it – The Headline tab's model check, and the help topic that says what making it a method would take.

Before you start

The lessons this one builds on: 602 Market risk: sensitivities, historical-simulation VaR, stress tests and limits, 703 Monte Carlo VaR: ten thousand tomorrows on the same engine.

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

A number from a formula

1 / 12
A number from a formula
Why MiniCTRM keeps it as a check

Why MiniCTRM keeps it as a check

2 / 12
Why MiniCTRM keeps it as a check
What you need first

What you need first

3 / 12
What you need first
The formula and its blind spots

The formula and its blind spots

4 / 12
The formula and its blind spots
Four prompts

The gradient and the formula

5 / 12
The gradient and the formula
Four prompts

Component and marginal VaR

6 / 12
Component and marginal VaR
Four prompts

What-if VaR on the ticket

7 / 12
What-if VaR on the ticket
Four prompts

Three methods side by side, and the honesty page

8 / 12
Three methods side by side, and the honesty page
Ship it

Ship it

9 / 12
Ship it
How MiniCTRM did it

Value at Risk: the Headline model check

10 / 12
Value at Risk: the Headline model check
How MiniCTRM did it

Help → Parametric VaR

11 / 12
Help → Parametric VaR
What you have now

What you have now

12 / 12
What you have now

You have finished lesson 704, Parametric VaR: the closed form, its speed and its blind spots.

Where next?

← → move · N notes · Home / End