Monte Carlo exposure & CVA
A browser version of the workbench's core idea. It simulates the mark-to-market of a swap-like trade, applies a CSA threshold, and computes Expected Exposure (EE), 95% Potential Future Exposure (PFE), and unilateral CVA.
Illustrative only · synthetic data · simplified model, not a pricing tool
Notional 100 · 2,000 paths · LGD 60% · discount rate 3% · 5-day margin period of risk ignored for clarity.
CVA (% of notional)
–
Peak EE
–
Peak PFE 95%
–
Default prob. over tenor
–
━ sample MtM paths━ EE━ PFE 95%┅ CSA threshold H░ default-weighted EE (drives CVA)