Basic Prerequisites: Multivariable Calculus (only the idea of a partial derivative - no options knowledge required at this entry point; the Pillar-3 Greeks are developed/utilised from 02 · Delta, Gamma & Vega onward). (these are the folder-level prerequisites for pages 02–06; page 01 states its own, smaller, entry requirements)


1. Intuition & Practical Objective

A risk manager never sees the future. What she can see is how her book’s value responds to a small change in each thing that can move. That response is a sensitivity: a derivative of portfolio value with respect to a risk factor. This folder is about turning a portfolio into a vector of sensitivities, and using that vector as the primary instrument of risk control.

The pivot from Pillar 3 is deliberate and sharp:

Pillar 3 derives the Greeks - it asks what is ? - because it needs them to replicate an option and thereby price it. Pillar 4 uses the Greeks - it asks given these sensitivities, how much can the book lose, and where must I stop? - because risk management needs a map from positions to P&L, not a price.

The practical objective of this page is the lookup table (job #1 of this pillar): every sensitivity a desk or a risk system quotes, its definition, its units convention, and a numerically verified value. Six sub-pages then walk from raw intuition through option sensitivities, rate sensitivities, factor decomposition, failure modes, and the delta–gamma/limit extensions.

The one-sentence essence. “A portfolio is not a list of trades, it is a vector of exposures to risk factors; sensitivities are the linear map from factor moves to P&L, and every approximation failure in risk management is the second-order term you dropped.”


2. Mathematical Ground Truth & the Sensitivity Lookup

Quick-Reference Lookup (job #1). All formulas are transcribed from Hull Ch 19 (Greeks, verified) and Ch 22 (delta-normal, delta–gamma, duration mapping, verified), cross-checked against Haug §2 (the formula-authoritative Greeks) and RiskMetrics (1996). The numbers in the check column were re-executed and reproduced exactly from the reference implementation in §3 on the shared test book (Haug option ; book long 100 calls short 50 puts ; bond book a 5y and a 10y 5%-coupon bond on a flat 4% zero curve).

Notation: portfolio value, spot, volatility, time to expiry, rate, the zero rate at curve node , position vector, factor-loading matrix, .

SensitivityDefinitionUnits / market conventionVerified check (§3)
Delta shares of underlying (raw)Haug call
Gamma -change per $1 move in S$
Vega per 1 vol point raw
Theta per day raw
Rho per 1 rate point raw
DV01 (BPV)currency per basis point5y bond · 10y
Key-rate duration currency per bp at curve node ladder sums to DV01 exactly
Factor exposure currency per unit of factor
Delta-normal VaRcurrency (linear P&L)
Delta-gamma VaRCornish–Fisher on currency (quadratic P&L) (MC )

Critical scaling caveat (inherited from Pillar 3). Raw derivatives are per unit; screen values quote Vega/Rho per 1 point ( raw), Theta per day ( raw). A risk system that mixes raw and per-point units mis-sizes every limit by or . Every table in this folder states its convention in the header.

The risk-factor map (position risk factors P&L). This is the object a risk system actually stores:

PositionPrimary risk factorsFirst-order P&LSecond-order P&L
Cash equity (spot)-
Fixed-coupon bond (each curve node) (convexity)
Interest-rate swappar/zero curve nodesconvexity + curve twist
Vanilla option (eq/FX)
Option on a rate swap (swaption)swap curve nodes, swap vol-by-curve-node, volga
Bookthe union of the above

Delta-normal vs delta-gamma (Hull eq. 22.6–22.8). Mapping the book onto factors with exposures and factor covariance :

The quadratic term carries gamma (own-second derivative) and cross-gamma . With one equity factor and , the quadratic form becomes with , , giving exact closed-form moments

which feed the Cornish–Fisher quantile adjustment for non-normal VaR


3. Computational Implementation - the sensitivity engine

This runs on the standard library only (math.erf gives the exact normal CDF and density). It reproduces every verified number in §2: the Haug Greeks, the aggregated book sensitivities, the DV01/key-rate ladder, the factor-exposure decomposition, and the delta-normal/delta-gamma VaR comparison against full-revaluation Monte Carlo.

The single most important structural fact. Sensitivities are additive across positions but not across factors: the book’s delta is , but the book’s VaR depends on , where the covariance couples the factors. Aggregation without is a sum of risks that never diversifies.


4. Failure Modes & First-Principles Breakdowns

Hub signposts - the folder’s failure-mode analysis lives in 05 · Failure Modes & Practice. In one line each:

  1. Gamma risk is the second-order term you dropped. Any linear (delta-only) risk measure is wrong by ; on a down move of the shared test option the delta-only P&L is against a true - a error, and the delta-gamma error itself is ().
  2. Cross-greek interaction dominates in a crash. Price and vol move together: at , vol points, delta-gamma misses by and adding vega still misses by - the residual is vanna/volga, which no two-Greek system can hold.
  3. Beyond second order there is no limit. A third-order residual, a jump, or a regime change breaks any polynomial. Sensitivities are local; stress tests and full revaluation exist precisely because the local map is not global.

5. References

  • Hull, John C.: Options, Futures, and Other Derivatives (11th ed.)
  • Haug, Espen Gaarder: The Complete Guide to Option Pricing Formulas (2nd ed., 2006)
  • J.P. Morgan / RiskMetrics: *RiskMetrics
  • Alexander, Carol: Market Risk Analysis, Vol. III (Pricing, Hedging and Trading Financial Instruments) and Vol. IV (Value at Risk Models) (2008, Wiley)
  • Dowd, Kevin: Measuring Market Risk (2nd ed., 2005)
  • Fisher, R. A. & Cornish, E. A.: Moments and Cumulants in the Specification of Distributions, Biometrika 30(3–4):262–291 (1938)

6. Connected Graph Bridges

Beginner: start at 01 · Practitioner: start at 05