Basic Prerequisites: 01 · From Zero and Black–Scholes–Merton (lognormal simulation).


1. Intuition & Practical Objective

CVA needs one input more than any other: the exposure profile - the expected positive value of the portfolio at every future date, conditional on the counterparty having survived so far. This page builds that profile from scratch and separates the four statistics a desk actually quotes:

The practical objective is the shape, because the shape is the answer. A forward’s exposure grows monotonically (the further out you look, the more the spot can move away from the strike). A swap’s exposure is humped - large in the middle, collapsing to zero at maturity, because near maturity there are few remaining payments to differ. Quantifying that shape is the job of a Monte Carlo over risk-factor paths.

Why simulation, not a formula? The exposure at date is where depends on the whole future path of rates/FX/vol and on collateral terms. EPE is an option-like quantity - and for a swap it is exactly a strip of co-terminal (“diagonal”) swaptions (Sorensen–Bollier 1994). That is the deep point: exposure quantification is at least as hard as pricing the instrument.


2. Mathematical Ground Truth & Derivations

2.1 Defining the profile and averaging it

For a grid :

For CVA the profile is taken discounted to today: replace by (Gregory §17.2.2, citing Jamshidian 1989 to avoid a convexity bias).

2.2 A tractable example: the at-the-money forward

Take a forward to buy the asset at at time , on a spot that follows geometric Brownian motion under :

Set (the no-arbitrage forward price, so the forward is struck at-the-money and worth zero today). The value at is the discounted forward gap

so and the forward has symmetric exposure. Because is lognormal, the expected positive exposure has a clean closed form:

(derivation: for lognormal with mean , with ).

Two immediate consequences, both visible in the numbers below:

  • EE(t) increases with - the profile of a forward is monotone, unlike a swap’s hump.
  • EE(t) increases with - exposure is manufactured by uncertainty. At the 5-year EE is roughly four times the value.

2.3 Why a swap looks different

An interest-rate swap’s exposure is humped because it is a portfolio of co-terminal swaptions: each future floating payment fixes against a forward that can move, so the value-to-be-replaced peaks in mid-life and goes to zero as the last payments wash out (Gregory §15.1.3). The forward above is the atom; a swap is a sum of such atoms with a decaying annuity weight.


3. Computational Implementation - an exposure profile by Monte Carlo

Simulate the ATM forward of §2.2, tabulate EE/ENE, compute the average EPE and the 95% PFE, and confirm the Monte Carlo against the closed form. Standard library only.

Three things to verify by eye: (i) the Monte Carlo EE tracks the closed form within sampling error (~0.5%); (ii) to within noise (symmetric ATM forward); (iii) the 95% PFE (133.7) is far above the average EPE (16.4) - a reminder that PFE answers a different question from EPE, and that most of the tail sits in a small fraction of paths.


4. Failure Modes & First-Principles Breakdowns

  1. Roll-off / grid misses. Exposure jumps exist at cash-flow dates, exercise dates, break clauses and resets. A coarse time grid that skips them understates EPE (Gregory §15.3.1 “roll-off risk”). Put critical dates into the grid or use look-back points.
  2. Parameter misestimation propagates linearly. EPE scales roughly with volatility; a volatility estimate that is 40% too low produces a CVA that is ~40% too low. Better to be conservative here than precise.
  3. Wrong measure. CVA/FVA are risk-neutral computations (market-implied vols and drifts); PFE/IMM are often physical. Mixing them in one Monte Carlo silently biases both (Gregory §15.3.3).
  4. The ATM-forward intuition does not generalise. A swap’s profile is humped and can be much larger than a forward’s; assuming monotone growth, or treating EPE as a constant, mis-states the mid-life peak that dominates CVA.
  5. Correlation = exposure too. For multi-currency or multi-asset portfolios the EPE depends on correlations, which are far harder to estimate than volatilities. Under-modelling correlation is the quiet source of exposure surprise (see 05 · Failure Modes).

5. References

  • Gregory, Jon: The xVA Challenge (5th ed., 2025)
  • Sorensen & Bollier (1994): the co-terminal-swaption representation of swap exposure (EPE = swaption payoff × risky duration).
  • Pykhtin & Zhu (2007): A Guide to Modeling Counterparty Credit Risk
  • Hull, Options, Futures, and Other Derivatives

6. Connected Graph Bridges