Professional Documents
Culture Documents
The statements, views and opinions expressed in this article are my own
and do not necessarily reflect those of my employer, JPMorgan Chase & Co.,
its affiliates, other employees or clients.
1
Contents
1. Foundations
Exposure and Credit Risk Mitigation
2. Valuation
CVA and other Metrics
3. Modelling
Scenario Simulation and Trade Pricing
Default Probabilities and Recoveries
4. Appendix: Advanced Topics
CVA Charging and Allocation
CVA Risk Management
Performance Optimization
2
Foundations:
Introduction
What is Counterparty Risk?
… the risk that the counterparty to a transaction could default before the final
settlement of the transaction’s cash flows.
Quantifying Counterparty Risk:
Credit Exposure
Loss given default of a counterparty in a future market scenario
3
Portfolio Value Scenarios
Foundations: 0.4
0.3
Exposure 0.2
0.1
EE(t)
0
Exposure 0 1 2 3 4 5 6
-0.1
Exposure 0.2
0.1
EE(t)
0
Exposure 0 1 2 3 4 5 6
-0.1
5
Foundations:
Risk Mitigation: Netting
Close-out Netting
Contractual agreement allowing the value of multiple trades with one counterparty
to be added prior to making a default claim Value Exposure
6
Foundations:
Risk Mitigation: Collateral
Variation Margin
Effect of collateral on exposure
Collateral to cover daily mark-to-market (MtM) moves. 0.5
Typically posted/received bilaterally between counterparties
Retain “Cure period risk”: MtM moves between collateral posting and settlement: 0.4
+ +
𝐸 𝑡 = V 𝑡 − Collateral 𝑡 = V t −𝑉 t−Δ
CVA=𝔼𝑸 𝑫𝟎 𝝉 𝟏 − 𝑹𝑪 𝑬 𝝉 𝕀𝝉<𝑻
𝑇
𝐷𝑡 𝑇 = 𝑒 − 𝑡 𝑟𝑠 𝑑𝑠
is the stochastic discount factor with riskless rate 𝑟𝑡
𝜏 is the default time of the counterparty and T is the maturity of the derivative
𝕀 is the indicator function
𝔼𝑄 is the expectation in the risk neutral measure
9
Valuation:
CVA as Valuation Adjustment
Time Payoff 𝑽 > 𝟎 Payoff 𝑽 < 𝟎
CVA is an adjustment to the risk-free trade value 𝑽𝑹𝑭 Default time 𝜏 < 𝑇 𝑅𝐶 ∙ 𝑉𝑅𝐹 𝜏 𝑉𝑅𝐹 𝜏
𝑽𝒕𝒐𝒕𝒂𝒍 = 𝑽𝑹𝑭 − 𝑪𝑽𝑨 Maturity 𝜏 > 𝑇 𝑉 𝑇 = Φ(𝑇)
Allows separation of trading desk and CVA desk
V
Derivation for derivative with payoff Φ(𝑇) at maturity T:
𝑅𝐶 ∙ 𝑉𝑅𝐹 𝜏 + Φ(𝑇)
𝑄 𝑄 𝐶 + −
𝑉𝑡𝑜𝑡𝑎𝑙 = 𝔼 D0 T Φ 𝑇 𝕀𝜏>𝑇 + 𝔼 𝐷0 𝜏 (𝑅 𝑉𝑅𝐹 𝜏 − 𝑉𝑅𝐹 𝜏 )𝕀𝜏<𝑇
no default default −
𝜏 𝑇
−𝑉𝑅𝐹 𝜏
𝑄
𝑉𝑅𝐹 𝑡 = 𝔼t [Dt T Φ T ] and V − = −min(𝑉, 0)
𝑄 𝑄
𝔼𝑄 𝐷0 𝜏 𝔼𝜏 [D𝜏 𝑇 Φ 𝑇 ]𝕀𝜏<𝑇 =𝔼𝑄 𝔼𝜏 [𝐷0 𝜏 D𝜏 𝑇 Φ 𝑇 𝕀𝜏<𝑇 ] =𝔼𝑄 D0 T Φ 𝑇 𝕀𝜏<𝑇
10
Valuation:
CVA as Valuation Adjustment
Time Payoff 𝑽 > 𝟎 Payoff 𝑽 < 𝟎
CVA is an adjustment to the risk-free trade value 𝑽𝑹𝑭 Default time 𝜏 < 𝑇 𝑅𝐶 ∙ 𝑉𝑅𝐹 𝜏 𝑉𝑅𝐹 𝜏
𝑽𝒕𝒐𝒕𝒂𝒍 = 𝑽𝑹𝑭 − 𝑪𝑽𝑨 Maturity 𝜏 > 𝑇 𝑉 𝑇 = Φ(𝑇)
Allows separation of trading desk and CVA desk
V
Derivation for derivative with payoff Φ(𝑇) at maturity T:
𝑅𝐶 ∙ 𝑉𝑅𝐹 𝜏 + Φ(𝑇)
𝑄 𝑄 𝐶 + −
𝑉𝑡𝑜𝑡𝑎𝑙 = 𝔼 D0 T Φ 𝑇 𝕀𝜏>𝑇 + 𝔼 𝐷0 𝜏 (𝑅 𝑉𝑅𝐹 𝜏 − 𝑉𝑅𝐹 𝜏 )𝕀𝜏<𝑇
no default default −
𝜏 𝑇
−𝑉𝑅𝐹 𝜏
𝑄
𝑉𝑅𝐹 𝑡 = 𝔼t [Dt T Φ T ] and V − = −min(𝑉, 0)
𝑄 𝑄
𝔼𝑄 𝐷0 𝜏 𝔼𝜏 [D𝜏 𝑇 Φ 𝑇 ]𝕀𝜏<𝑇 =𝔼𝑄 𝔼𝜏 [𝐷0 𝜏 D𝜏 𝑇 Φ 𝑇 𝕀𝜏<𝑇 ] =𝔼𝑄 D0 T Φ 𝑇 𝕀𝜏<𝑇
11
Valuation:
CVA as a stream of CDS
CVA can be valued as the contingent leg of a CDS with time varying notional
CVA=𝔼𝑄 𝐷0 𝜏 1 − 𝑅𝐶 𝐸 𝜏 𝕀𝜏<𝑇 CDS flows Default payment (1-R)N
𝑇
CVA= 1 − 𝑅𝐶 0 𝔼𝑄 𝐷0 𝑡 𝐸 𝑡 |𝜏 = 𝑡 𝑃𝐶 𝜏 = 𝑡 𝑑𝑡 contingent leg
𝜏
𝑪 𝑻 𝑪 fee leg
CVA= 𝟏 − 𝑹 𝑩 𝟎 𝟎, 𝒕 𝑬𝑬 𝒕 𝑷 𝝉 = 𝒕 𝒅𝒕 Coupon payments cN
Where:
𝐵 0, 𝑡 = 𝔼𝑄 𝐷0 𝑡 is the zero-coupon bond price
𝐷0 𝑡
𝐸𝐸 𝑡 = 𝔼𝑄 𝐸 𝑡 |𝜏 = 𝑡 = 𝔼𝐹 𝐸 𝑡 |𝜏 = 𝑡 is the expected exposure
𝐵 0,𝑡
• In each scenario and a selection of future dates value all trades for all portfolios
Pricing
• For each path and date compute exposure incorporating collateral and netting
Aggregation
17
Modelling:
Simulation IR
• Two factor mean reverting short rate model e.g.
Hull-White
High level model requirements: • Capture curve moves
• Capture Smile. Stochastic vol?
Require cross-asset model for all relevant
risk factors FX
• E.g. Geometric Brownian motion
Use models consistent with Line-of-Business • Capture Smile. Stochastic vol?
(LOB) pricing models where possible
Equites
preserve martingale property
• E.g. Geometric Brownian motion
Low factor diffusion models typically • Factor model
sufficient • Stochastic vol for option products
Introduce factor structure to deal with large Credit
number of risk factors
• E.g. stochastic spread model
Correlate Brownian drivers of major factors • Capture default dependency with copula or jumps
Use backtesting to validate simulation model Commodities
adequacy
• E.g. mean reverting model capturing seasonality
18
Modelling:
Calibration
Risk Neutral Portfolio Long
Measure Level Horizon
Calibrate to market implied Cannot optimize calibration to
data where available target particular product types
Liquid option data is limited
•Includes most volatilities •E.g. short horizon vs. long horizon,
moneyness…
19
Modelling:
Pricing
All portfolio trades need to be valued in all simulated scenarios
Discretize timeline out to the final portfolio maturity and value at chosen exposure points
Key pricing requirement is match to LOB valuations
Trade pricing is critical compute constraint
Need to find optimum balance between accuracy and efficiency
• For exotic trades priced using Monte Carlo or PDEs, exact pricing is expensive
•Use parametric or non-parametric •Use the trade payoff as well as the •Estimate pricing function by using
techniques to regress trade values scenario MC simulation to estimate LOB valuation as training data
against the main market drivers and trade values using AMC techniques 20
time
Modelling:
Spreads and Recoveries
Default Probabilities
Use market implied counterparty default
probabilities for valuation
Bootstrap probabilities from CDS spreads if
available
Spread = 1 − 𝑅 𝜆
Few counterparties will have liquid CDS
Use “proxy” spreads
Related counterparties
Indices
Or interpolate spreads using:
Rating, industry & sectorial classifications
Bond data. Equity?
Use regression or ML techniques
Risk management will rely on indices or proxy
CDS (macro hedging) 21
Modelling:
Spreads and Recoveries
Default Probabilities Recovery rates
Use market implied counterparty default Market credit spreads typically imply a fixed
probabilities for valuation recovery of around 40%.
Bootstrap probabilities from CDS spreads if Market recovery rate should be used for
available bootstrapping default probabilities
Spread = 1 − 𝑅 𝜆 Market recovery rates refer to bond recoveries
Few counterparties will have liquid CDS 𝑇 𝑡 𝐶
CVA= 1 − 𝑅𝐶 0 𝐵 0, 𝑡 𝐸𝐸 𝑡 𝜆𝐶 𝑡 𝑒 − 0 𝜆 𝑠 𝑑𝑠
𝑑𝑡
Use “proxy” spreads
Recovery rate for derivative may be different
Related counterparties
Derivatives are bilateral instruments and typically
Indices pari-passu with loans
Or interpolate spreads using:
Rating, industry & sectorial classifications
Bond data. Equity?
Use regression or ML techniques
Risk management will rely on indices or proxy
CDS (macro hedging) 22
Conclusion
23
Advanced Topics: Client X
Client Y
Desk A
Manage risk free
MtM
To capture portfolio level collateral terms and
benefit from netting:
Calculate CVA at counterparty level Default insurance CVA charge
CVA VaR and Stress: quantile in CVA distribution or CVA in specific stress scenario
Spread Risk:
Market Risk
• Large number of risk factors. Each risk factor sensitivity requires full re-valuation
• Equivalent to exotic derivative hedging
• Very expensive if not optimized e.g. using analytic sensitivities (AAD)
• Focus on key risk drivers, e.g. IR, FX. Hedge using swaps and options 25
Advanced Topics:
Performance
Credit Exposure calculations are highly compute intensive.
E.g. 1M trades, 10k paths, 100 time points -> 1Trillion evaluations
Assume 1ms per trade -> require 275k CPU hours
Require cutting edge compute architecture:
27
Advanced Topics:
Wrong-Way-Risk: Spread relatedness
Derive relatedness between counterparty spreads and market factor:
𝐸𝐸 𝑡 = 𝔼∗ 𝐸 𝑡 𝜏 = 𝑡 = 𝜔𝑑 𝑡 = 𝜏 𝜔 𝑃 𝑡 𝐸
Bayes rule: 𝑃 𝜔 𝜏 = 𝑡 P(𝜏 = 𝑡) = P 𝜏 = 𝑡 𝜔 𝑃 𝜔
1 1
𝐸𝐸 𝑡 = 𝐸 𝑡 P 𝜏 = 𝑡 𝜔 𝑃 𝜔 𝑑𝜔 = 𝔼∗ [E t P(𝜏 = 𝑡|𝜔)]
𝑃(𝜏=𝑡) 𝑃(𝜏=𝑡)
Make assumption that market factors only depend on the counterparty default via
the spread s.
Assume standard “Cox process” for default intensity 𝜆 (conditional independence):
𝑡
𝑃 𝜏 = 𝑡 𝜔 = 𝜆 𝑡; 𝜔 exp − 0 𝜆 𝑠; 𝜔 𝑑𝑠
This can be calculated on each Monte Carlo path if we have a joint simulation of
credit spreads and market factors
28
Advanced Topics:
Margin
Initial Margin is increasingly common due to introduction of Regulatory margin
requirements: SIMM
In presence of initial margin, counterparty risk is largely eliminated
CVA will be close to zero
To receive margin benefit for regulatory capital and to model stress exposure a
model for IM is needed. Also needed for funding cost calculations
Require projection of IM amortization over portfolio lifetime
Modelling options:
Deterministic projection: e.g. flat or straight-line amortization
Risk based projection: estimate future margin as function of portfolio risk calculated
using the exposure simulation. Can used regression or ML techniques
Full re-valuation: Re-value IM exactly for each scenario and timeline point
Underestimation of received IM is conservative
29
Advanced Topics:
Hedging in a Crisis
Covid crisis resulted in extreme credit spreads together with large
market swings. Unique challenge for risk management
Rapid market moves required intra-day re-hedging and hence
sensitivity re-valuation
Require sensitivity predicts e.g. with second order Greeks
CDS liquidity insufficient for large volume of hedging required across
industry
Increases bid-offer and results in negative feedback for spread levels
Index (macro) hedges not closely coupled to single name performance. Most
risk in smaller firms
Require wider range of alternative credit hedging instruments
What about defaults?
Increased number of defaults due to crisis
Concentrated in particular sectors, e.g. energy, aviation
Macro hedging does not provide full protection for the idiosyncratic risk
Make use of diversification and systemic hedges
30