Top Banner
© d-fine All rights reserved | 0 Choosing the Right Spread Consistent Modelling of Funding and Tenor Basis Sebastian Schlenkrich QuantLib Workshop Düsseldorf, December 4, 2014
38

Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

Jun 10, 2018

Download

Documents

dinhthu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 0

Choosing the Right Spread

Consistent Modelling of Funding and Tenor Basis

Sebastian Schlenkrich

QuantLib Workshop

Düsseldorf, December 4, 2014

Page 2: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 1

1. Refresher Multi-Curve Pricing

› Tenor- and Funding-Specific Yield Curves

› Why Do We Need to Model the Basis?

2. Modelling Deterministic Tenor and Funding Basis

› Continuous Compounded Funding Spreads

› Simple and Continuous Compounded Tenor Spreads

3. Consistent Payoff-Adjustments for Multiple Funding Curves

› Why Not Just Substitute Discount Curves?

› What Can Go Wrong with Simple Compounded Spreads?

4. Deterministic Tenor and Funding Basis in QuantLib

› Where Is the “Best” Place to Model the Basis?

› Instruments, Models or Pricing Engines

5. Summary and References

Agenda

2014-12-04 | Choosing the Right Spread

Page 3: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 2

Refresher Multi-Curve Pricing

› Tenor- and Funding-Specific Yield Curves

› Why Do We Need to Model the Basis?

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

Page 4: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 3

Pre-Crisis Yield Curve Modelling In

tere

st R

ate

Maturity

Single-Curve Setting » Discount Factors

𝑃 𝑡, 𝑇 = 𝑒− 𝑓 𝑡,𝑠 𝑑𝑠𝑇𝑡 = 𝑒−𝑧 𝑇 𝑇

» Forward Libor Rates

𝐿 𝑡, 𝑇′, 𝑇 =𝑃(𝑡, 𝑇′)

𝑃(𝑡, 𝑇)− 11

Δ

» (Discounted) Libor Coupons

𝐿 𝑡, 𝑇′, 𝑇 ⋅ Δ ⋅ 𝑃(𝑡, 𝑇) = 𝑃(𝑡, 𝑇′) - 𝑃(𝑡, 𝑇)

» Derivative payoffs are expressed in terms of single interest rate curve

» Term structure models describe single interest rate curve dynamics, e.g. in terms of

› Continuous compounded forward rate 𝑓 𝑡, 𝑇 ,

› Short rate 𝑟 𝑡 = 𝑓 𝑡, 𝑡 , or

› Simple compounded (Libor) forward rate 𝐿(𝑡, 𝑇′, 𝑇)

Yield Curve with 𝑃(𝑡, 𝑇)

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(1/6)

Page 5: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 4

Inte

rest

Rat

e

Maturity

Differentiating Forwarding and Discounting Curves

Incorporate Tenor Forwarding Curve (e.g. 3M/6M Libor Curves)

» (Pseudo) Discount Factors 𝑃Δ 𝑡, 𝑇

» Forward Libor Rates

𝐿Δ 𝑡, 𝑇′, 𝑇 =𝑃Δ(𝑡, 𝑇′)

𝑃Δ(𝑡, 𝑇)− 11

Δ

» (Discounted) Libor Coupons

𝐿Δ 𝑡, 𝑇′, 𝑇 ⋅ Δ ⋅ 𝑃(𝑡, 𝑇)

» Derivative payoffs are expressed in terms of two interest rate curves

› Discount Curve

› Tenor-specific Forwarding Curve

» Often some deterministic spread assumption is applied to allow using available models

Discount Curve with 𝑃(𝑡, 𝑇)

Forwarding Curve with 𝑃Δ(𝑡, 𝑇)

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(2/6)

Page 6: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 5

Inte

rest

Rat

e

Maturity

Differentiating Funding Curves

Incorporate Funding-specific Discounting Curve (e.g. Cross-Currency Funding)

» Forward Libor Rates 𝐿Δ 𝑡, 𝑇′, 𝑇

» Cash Collateralizes Discounting with

𝑃𝑂𝐼𝑆 𝑡, 𝑇

» Cross-Currency Collateralizes

Discounting with 𝑃𝑋𝐶𝑌(𝑡, 𝑇)

» Use Case:

› Calibrate model to cash collateralized (Eonia/OIS discounting) swaptions based on 6M

Euribor Forwards

› Use model to price a USD cash collateralized (XCY discounting) derivative

» Discounting spread could also originate from uncollateralised discounting or credit spread

OIS Discounting Curve with 𝑃𝑂𝐼𝑆(𝑡, 𝑇)

Forwarding Curve with 𝑃Δ(𝑡, 𝑇)

XCY Discounting Curve with 𝑃𝑋𝐶𝑌(𝑡, 𝑇)

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(3/6)

Page 7: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 6

Inte

rest

Rat

e

Maturity

Why Do We Need to Model the Basis?

Linear Products (e.g. Swaps)

» Only need 𝐿Δ 𝑡, 𝑇′, 𝑇 , 𝑃𝑂𝐼𝑆 𝑡, 𝑇 ,

𝑃𝑋𝐶𝑌(𝑡, 𝑇)

» Require multi-curve bootstrapping

» Relation between curves irrelevant

Classical Term Structure Models

» Describe dynamics of only one curve

» Payoffs of Exotics may depend on various curves

OIS Discounting Curve with 𝑃𝑂𝐼𝑆(𝑡, 𝑇)

Forwarding Curve with 𝑃Δ(𝑡, 𝑇)

XCY Discounting Curve with 𝑃𝑋𝐶𝑌(𝑡, 𝑇)

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(4/6)

Relation between curves required to evaluate exotic rate option payoffs

Page 8: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 7

Inte

rest

Rat

e

Maturity

Tenor and Funding Basis Spreads

OIS Discounting Curve with 𝑃𝑂𝐼𝑆(𝑡, 𝑇)

Forwarding Curve with 𝑃Δ(𝑡, 𝑇)

XCY Discounting Curve with 𝑃𝑋𝐶𝑌(𝑡, 𝑇)

Backbone curve

Tenor basis spread

Funding basis spread

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(5/6)

Multi-curve modelling via backbone curve plus basis spreads

Page 9: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 8

Inte

rest

Rat

e

Maturity

Our Focus: Relation Between Tenor and Funding Basis Spreads

Backbone curve

Tenor basis spread

Funding basis spread

Tenor “plus” funding

spread

2014-12-04 | Choosing the Right Spread | Refresher Multi-Curve Pricing

(6/6)

Multi-curve modelling requires consistent treatment of basis spreads

Page 10: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 9

Modelling Deterministic Tenor and Funding Basis

› Continuous Compounded Funding Spreads

› Simple and Continuous Compounded Tenor Spreads

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

Page 11: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 10

Inte

rest

Rat

e

Maturity

Continuous Compounded Funding Basis

OIS Discounting Curve with 𝑃𝑂𝐼𝑆(𝑡, 𝑇)

XCY Discounting Curve with 𝑃𝑋𝐶𝑌(𝑡, 𝑇)

Funding basis spread

Discount Factors

𝑃𝑂𝐼𝑆 𝑡, 𝑇 = 𝑒− 𝑓𝑂𝐼𝑆 𝑡,𝑠 𝑑𝑠𝑇𝑡

𝑃𝑋𝐶𝑌 𝑡, 𝑇 = 𝑒− 𝑓𝑋𝐶𝑌 𝑡,𝑠 𝑑𝑠𝑇𝑡

Continuous Compounded Funding Spread

𝒔 𝒕, 𝑻 = 𝒇𝑿𝑪𝒀 𝒕, 𝑻 − 𝒇𝑶𝑰𝑺 𝒕, 𝑻

Multiplicative Discount Factor Relation

𝑃𝑋𝐶𝑌 𝑡, 𝑇 =𝑃𝑂𝐼𝑆 𝑡, 𝑇 ⋅ 𝐷(𝑡; 𝑡, 𝑇) with

𝐷 𝑡; 𝑇′, 𝑇 = 𝑒− 𝑠 𝑡,𝑠 𝑑𝑠𝑇𝑇′

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(1/9)

Page 12: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 11

Deterministic Funding Basis

Continuous Compounded Funding Spread

𝑠 𝑡, 𝑇 = 𝑓𝑋𝐶𝑌 𝑡, 𝑇 − 𝑓𝑂𝐼𝑆 𝑡, 𝑇

Assumption: 𝒔(𝒕, 𝑻) is a deterministic function of t for all T

Forward Rate Modelling Relation

𝑑𝑓𝑋𝐶𝑌 𝑡, 𝑇 = 𝑑𝑓𝑂𝐼𝑆 𝑡, 𝑇 +𝜕𝑠 𝑡, 𝑇

𝜕𝑡𝑑𝑡

» Equivalent forward rate volatility for OIS and XCY curve

» Equivalent volatilities of OIS and XCY zero coupon bonds 𝑃𝑂𝐼𝑆 𝑡, 𝑇 and 𝑃𝑋𝐶𝑌 𝑡, 𝑇

» 𝑇-forward meassure associated to numerairs 𝑃𝑂𝐼𝑆 𝑡, 𝑇 and 𝑃𝑋𝐶𝑌 𝑡, 𝑇 coincide, i.e.,

𝑬𝑻,𝑿𝑪𝒀 ⋅ = 𝑬𝑻,𝑶𝑰𝑺[⋅]

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(2/9)

No convexity adjustment for switching between OIS and XCY discounting

Page 13: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 12

Term Structure Models Using Deterministic Funding Basis

Forward Rate Modelling Relation

𝑑𝑓𝑂𝐼𝑆 𝑡, 𝑇 = ⋅ 𝑑𝑡 + 𝜎 𝑡, 𝑇 𝑑𝑊(𝑡)

𝑑𝑓𝑋𝐶𝑌 𝑡, 𝑇 = 𝑑𝑓𝑂𝐼𝑆 𝑡, 𝑇 +𝜕𝑠 𝑡, 𝑇

𝜕𝑡𝑑𝑡

Model Calibration

» Model OIS curve 𝑓𝑂𝐼𝑆 𝑡, 𝑇

» Calibrate OIS curve based model

parameters

» In particular vol structure 𝜎 𝑡, 𝑇

Derivative Pricing

» Model XCY curve 𝑓𝑋𝐶𝑌 𝑡, 𝑇

» Use OIS curve based vol structure

𝜎 𝑡, 𝑇

» Substitute 𝑓𝑂𝐼𝑆 = 𝑓𝑋𝑌𝐶 + 𝑠

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(3/9)

Model parameters can be reused under deterministic funding basis assumption

Page 14: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 13

Inte

rest

Rat

e

Maturity

Simple Compounded Tenor Basis

OIS Discounting Curve with 𝑃𝑂𝐼𝑆(𝑡, 𝑇)

Forward Libor Rates

𝐿Δ 𝑡, 𝑇′, 𝑇 =𝑃Δ(𝑡, 𝑇′)

𝑃Δ(𝑡, 𝑇)− 11

Δ

OIS Forwards

𝐿OIS 𝑡, 𝑇′, 𝑇 =𝑃OIS(𝑡, 𝑇′)

𝑃OIS(𝑡, 𝑇)− 11

Δ

Simple Compounded Tenor Spread

𝑩 𝒕, 𝑻 = 𝑳𝚫 𝒕, 𝑻′, 𝑻 − 𝑳𝑶𝑰𝑺 𝒕, 𝑻′, 𝑻

Assumption: 𝑩(𝒕, 𝑻) is a deterministic function of t for all T

Payoff adjustment at event date 𝑡𝑒

𝐿Δ 𝑡𝑒 , 𝑇′, 𝑇 = 𝐿OIS 𝑡𝑒 , 𝑇

′, 𝑇 + 𝐵 𝑡𝑒 , 𝑇

Forwarding Curve with 𝑃Δ(𝑡, 𝑇)

Tenor basis spread

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(4/9)

Tenor basis results in static payoff adjustment, e.g. shift in strike for caplets

Page 15: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 14

Inte

rest

Rat

e

Maturity

Simple Compounded Tenor Basis with XCY Discounting

Tenor Basis

𝐵 𝑡, 𝑇 = 𝐿Δ 𝑡, 𝑇′, 𝑇 − 𝐿𝑂𝐼𝑆 𝑡, 𝑇′, 𝑇

Funding Basis

𝑃𝑋𝐶𝑌 𝑡, 𝑇 =𝑃𝑂𝐼𝑆 𝑡, 𝑇 ⋅ 𝐷(𝑡; 𝑡, 𝑇)

Payoff adjustment at event date 𝑡𝑒

𝐿Δ 𝑡𝑒 , 𝑇′, 𝑇 = 𝐿OIS 𝑡𝑒 , 𝑇

′, 𝑇 + 𝐵 𝑡𝑒 , 𝑇

= 𝐷 𝑡𝑒 , 𝑇′, 𝑇 ⋅ 𝐿XCY 𝑡𝑒 , 𝑇

′, 𝑇 + 𝐵 𝑡𝑒 , 𝑇 +𝐷 𝑡𝑒 , 𝑇

′, 𝑇 − 1

Δ

Tenor “plus” funding spread

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(5/9)

Both tenor and funding basis required for static payoff adjustment

Page 16: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 15

Continuous Compounded Tenor Forward Rates

𝑓Δ 𝑡, 𝑇 = −𝜕

𝜕𝑇ln 𝑃Δ(𝑡, 𝑇)

Continuous Compounded Tenor Spread

𝒃 𝒕, 𝑻 = 𝒇𝚫 𝒕, 𝑻 − 𝒇𝑶𝑰𝑺 𝒕, 𝑻

Assumption: 𝒃(𝒕, 𝑻) is a deterministic function of t for all T

Multiplicative Discount Factor Relation

𝑃Δ 𝑡, 𝑇 = 𝑃OIS 𝑡, 𝑇 ⋅ 𝐷𝑏 𝑡, 𝑡, 𝑇−1 with 𝐷𝑏 𝑡, 𝑡, 𝑇 = 𝑒

𝑏 𝑡,𝑢 𝑑𝑢𝑇𝑇′

Payoff adjustment at event date 𝑡𝑒

𝐿Δ 𝑡𝑒 , 𝑇′, 𝑇 = 𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐿OIS 𝑡𝑒 , 𝑇′, 𝑇 +𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 − 1

Δ

Continuous Compounded Tenor Basis

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(6/9)

Payoff adjustment results in affine transformation of OIS forwards

Page 17: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 16

Inte

rest

Rat

e

Maturity

Continuous Compounded Tenor Basis with XCY Discounting

Tenor Basis

𝑃Δ 𝑡, 𝑇 = 𝑃OIS 𝑡, 𝑇 ⋅ 𝐷𝑏 𝑡, 𝑡, 𝑇−1

Funding Basis

𝑃𝑋𝐶𝑌 𝑡, 𝑇 =𝑃𝑂𝐼𝑆 𝑡, 𝑇 ⋅ 𝐷(𝑡; 𝑡, 𝑇)

Payoff adjustment at event date 𝑡𝑒

𝐿Δ 𝑡𝑒 , 𝑇′, 𝑇 = 𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐿OIS 𝑡𝑒 , 𝑇′, 𝑇 +𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 − 1

Δ

= 𝐷𝑏 𝑡𝑒 , 𝑇′, 𝑇 ⋅ 𝐷 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐿XCY 𝑡𝑒 , 𝑇′, 𝑇 +𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐷 𝑡𝑒 , 𝑇′, 𝑇 − 1

Δ

Tenor “plus” funding spread

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(7/9)

Affine transformation payoff adjustment structure is preserved

Page 18: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 17

Continuous Compounded Tenor Basis with XCY Discounting (2)

Payoff adjustment at event date 𝑡𝑒

𝐿Δ 𝑡𝑒 , 𝑇′, 𝑇 = 𝐷𝑏,𝑋𝐶𝑌 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐿XCY 𝑡𝑒 , 𝑇′, 𝑇 +𝐷𝑏,𝑋𝐶𝑌 𝑡𝑒 , 𝑇

′, 𝑇 − 1

Δ

with

𝐷𝑏,𝑋𝐶𝑌 𝑡𝑒 , 𝑇′, 𝑇 = 𝐷𝑏 𝑡𝑒 , 𝑇

′, 𝑇 ⋅ 𝐷 𝑡𝑒 , 𝑇′, 𝑇

= 𝑒 𝑏 𝑡,𝑢 𝑑𝑢𝑇𝑇′ ⋅ 𝑒− 𝑠 𝑡,𝑢 𝑑𝑢

𝑇𝑇′

= 𝑒 𝑓Δ 𝑡,𝑢 −𝑓𝑂𝐼𝑆 𝑡,𝑢 𝑑𝑢

𝑇𝑇′ ⋅ 𝑒− 𝑓

𝑋𝐶𝑌 𝑡,𝑢 −𝑓𝑂𝐼𝑆 𝑡,𝑢 𝑑𝑢𝑇𝑇′

= 𝑒 𝑓Δ 𝑡,𝑢 −𝑓𝑋𝐶𝑌 𝑡,𝑢 𝑑𝑢

𝑇𝑇′

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(8/9)

Cont. Compounded Spread payoff adjustment is independent of OIS curve

Page 19: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 18

Summary Funding and Tenor Basis Payoff Adjustments

2014-12-04 | Choosing the Right Spread | Modelling Deterministic Tenor and Funding Basis

(9/9)

Funding Basis 𝑃𝑋𝐶𝑌 = 𝑃𝑂𝐼𝑆 ⋅ 𝐷

Spread Convention Simple Compounded Continuous Compounded

Tenor Basis

𝐿Δ = 𝐿𝑂𝐼𝑆 + 𝐵 𝐿Δ = 𝐷𝑏 ⋅ 𝐿OIS +𝐷𝑏 − 1

Δ

𝐿Δ = 𝐷 ⋅ 𝐿XCY +𝐵 +𝐷 − 1

Δ 𝐿Δ = 𝐷𝑏,𝑋𝐶𝑌 ⋅ 𝐿

XCY +𝐷𝑏,𝑋𝐶𝑌 − 1

Δ

Page 20: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 19

Consistent Payoff-Adjustments for Multiple Funding Curves

› Why Not Just Substitute Discount Curves?

› What Can Go Wrong with Simple Compounded Spreads?

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

Page 21: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 20

Modelling Funding Basis vs. Modelling Individual Discount Curves

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(1/9)

Inte

rest

Rat

e

Maturity

Δ

𝑂𝐼𝑆

𝑋𝐶𝑌

Inte

rest

Rat

e

Maturity

Δ

𝑂𝐼𝑆

Inte

rest

Rat

e

Maturity

Δ

𝑋𝐶𝑌

Ten

or

an

d

Fu

nd

ing

Basis

Dis

co

un

tin

g

an

d T

en

or

Basis

OIS discounting (e.g. calibration) XCY discounting (e.g. pricing)

Page 22: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 21

Consistently Modelling Individual Discount Curves

Consistent Model Dynamics

𝑑𝑓𝑂𝐼𝑆 𝑡, 𝑇 = ⋅ ⋅ 𝑑𝑡 + 𝜎𝑂𝐼𝑆 ⋅ 𝑑𝑊 𝑡

𝑑𝑓𝑋𝐶𝑌 𝑡, 𝑇 = 𝑑𝑓𝑂𝐼𝑆 𝑡, 𝑇 +𝜕𝑠 𝑡, 𝑇

𝜕𝑡𝑑𝑡

= ⋅ ⋅ 𝑑𝑡 + 𝜎𝑂𝐼𝑆 𝜎𝑋𝐶𝑌

⋅ 𝑑𝑊 𝑡

» Invariant Volatility structure (with deterministic shift)

𝜎𝑋𝐶𝑌 𝑓𝑋𝐶𝑌 𝑡, 𝑇 ; 𝑡, 𝑇 = 𝜎𝑂𝐼𝑆 𝑓𝑂𝐼𝑆 𝑡, 𝑇 − 𝑠(𝑡, 𝑇); 𝑡, 𝑇

» In particular unchanged short rate volatility and mean reversion for Hull White model

Uniform Payoff Adjustment Function

OIS discounting 𝐿Δ = 𝐺 𝐿𝑂𝐼𝑆 , 𝑓𝑂𝐼𝑆 , 𝑓Δ

XCY discounting 𝐿Δ = 𝐺 𝐿𝑋𝐶𝑌, 𝑓𝑋𝐶𝑌 , 𝑓Δ

» Depends on spread compounding convention

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(2/9)

Page 23: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 22

Recall Funding and Tenor Basis Payoff Adjustments

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(3/9)

Funding Basis

𝑃𝑋𝐶𝑌 = 𝑃𝑂𝐼𝑆 ⋅ 𝐷

Spread Convention Simple Compounded Continuous Compounded

Tenor

Basis

𝑃𝑂𝐼𝑆 𝐿Δ = 𝐿𝑂𝐼𝑆 + 𝐵 𝐿Δ = 𝐷𝑏 ⋅ 𝐿OIS +𝐷𝑏 − 1

Δ

𝑃𝑋𝐶𝑌 𝐿Δ = 𝐷 ⋅ 𝐿XCY +𝐵 +𝐷 − 1

Δ 𝐿Δ = 𝐷𝑏,𝑋𝐶𝑌 ⋅ 𝐿

XCY +𝐷𝑏,𝑋𝐶𝑌 − 1

Δ

Simple compounded tenor basis spreads do not yield uniform payoff adjustment function

Page 24: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 23

Enforcing Uniform Tenor Basis Payoff Adjustments

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(4/9)

Funding Basis

𝑃𝑋𝐶𝑌 = 𝑃𝑂𝐼𝑆 ⋅ 𝐷

Spread Convention Simple Compounded Continuous Compounded

Tenor

Basis

𝑃𝑂𝐼𝑆 𝐿Δ = 𝐿𝑂𝐼𝑆 + 𝐵 𝐿Δ = 𝐷𝑏 ⋅ 𝐿OIS +𝐷𝑏 − 1

Δ

𝑃𝑋𝐶𝑌 𝑳𝜟 = 𝑳𝑿𝑪𝒀 + 𝑩𝑿𝑪𝒀 𝐿Δ = 𝐷𝑏,𝑋𝐶𝑌 ⋅ 𝐿XCY +𝐷𝑏,𝑋𝐶𝑌 − 1

Δ

Assume a deterministic basis 𝐵𝑋𝐶𝑌 in addition to deterministic terms 𝐵 and 𝐷

Page 25: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 24

Contradiction of Simultanously Deterministic Terms 𝐷, 𝐵 and 𝐵𝑋𝐶𝑌

We have

𝐿𝑋𝐶𝑌 𝑡, 𝑇′, 𝑇 − 𝐿𝑂𝐼𝑆 𝑡, 𝑇′, 𝑇 =𝑃𝑋𝐶𝑌 𝑡, 𝑇′

𝑃𝑋𝐶𝑌 𝑡, 𝑇−𝑃𝑂𝐼𝑆 𝑡, 𝑇′

𝑃𝑂𝐼𝑆 𝑡, 𝑇

1

Δ= 𝐵 𝑡, 𝑇 − 𝐵𝑋𝐶𝑌(𝑡, 𝑇)

It follows

𝑒 𝑓𝑋𝐶𝑌 𝑡,𝑢 𝑑𝑢

𝑇𝑇′ − 𝑒 𝑓

𝑂𝐼𝑆 𝑡,𝑢 𝑑𝑢𝑇𝑇′ = 𝐵 𝑡, 𝑇 − 𝐵𝑋𝐶𝑌 𝑡, 𝑇 ⋅ Δ

Solving for the funding spread yields

𝑠 𝑡, 𝑇 = 𝑓𝑋𝐶𝑌 𝑡, 𝑇 − 𝑓𝑂𝐼𝑆 𝑡, 𝑇 =𝜕

𝜕𝑇ln 1 +

𝐵 𝑡, 𝑇 − 𝐵𝑋𝐶𝑌 𝑡, 𝑇 ⋅ Δ

𝑒 𝑓𝑂𝐼𝑆 𝑡,𝑢 𝑑𝑢

𝑇𝑇′

Though 𝐵 𝑡, 𝑇 − 𝐵𝑋𝐶𝑌 𝑡, 𝑇 ⋅ Δ deterministic, 𝑠 𝑡, 𝑇 depends on future forward rates 𝑓𝑂𝐼𝑆 𝑡,⋅

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(5/9)

Simple compounded tenor basis vs. XCY may only yield approximate payoff adjustment

Page 26: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 25

Example: XCY Cash Collateralized Caplet with Simple Comp. Tenor Basis

We have

𝐶𝑝𝑙𝑂𝐼𝑆 𝑡 = 𝑃𝑂𝐼𝑆 𝑡, 𝑇 𝐸𝑂𝐼𝑆 𝐿 𝑇′, 𝑇′, 𝑇 − 𝑘 + ⋅ Δ

𝐶𝑝𝑙𝑋𝐶𝑌 𝑡 = 𝑃𝑋𝐶𝑌 𝑡, 𝑇 𝐸𝑋𝐶𝑌 𝐿 𝑇′, 𝑇′, 𝑇 − 𝑘 + ⋅ Δ

From 𝐸𝑋𝐶𝑌 ⋅ = 𝐸𝑂𝐼𝑆 ⋅ follows model-independent that

𝐶𝑝𝑙𝑋𝐶𝑌 𝑡 = 𝐷 𝑡; 𝑡, 𝑇 ⋅ 𝐶𝑝𝑡𝑂𝐼𝑆(𝑡)

Rewriting OIS caplet payoff as zero coupon bond put option and Hull White model

𝐶𝑝𝑙𝑂𝐼𝑆 𝑇′ = 1 + 𝑘 − 𝐵 𝑇 Δ ⋅1

1 + 𝑘 − 𝐵 𝑇 Δ− 𝑃𝑂𝐼𝑆 𝑇′, 𝑇

+

𝐶𝑝𝑙𝑂𝐼𝑆 𝑡 = 𝑃𝑂𝐼𝑆 𝑡, 𝑇′ ⋅ 1 + 𝑘 − 𝐵 𝑇 Δ ⋅ 𝐵76𝑃𝑂𝐼𝑆 𝑡, 𝑇′

𝑃𝑂𝐼𝑆 𝑡, 𝑇,

1

1 + 𝑘 − 𝐵 𝑇 Δ, 𝜎𝑃 , −1

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(6/9)

Discount

Factor

Notional Black

Formula

Forward

ZCB

Strike Bond

Vol

Put

Flag

Page 27: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 26

Correct vs. Simplified Payoff Adjustment XCY Cash Collateralized Caplet

We have

Correct 𝐶𝑝𝑙𝑋𝐶𝑌 𝑇′ = 1 + 𝑘 − 𝐵 𝑇 Δ ⋅𝐷 𝑇′,𝑇

1+ 𝑘−𝐵 𝑇 Δ− 𝑃𝑋𝐶𝑌 𝑇′, 𝑇

+

Variance Notional Variance Strike

Simplified 𝐶𝑝𝑙𝑋𝐶𝑌 𝑇′ = 1 + 𝑘 − 𝐵𝑋𝐶𝑌 𝑇 Δ ⋅1

1+ 𝑘−𝐵𝑋𝐶𝑌 𝑇 Δ− 𝑃𝑋𝐶𝑌 𝑇′, 𝑇

+

Relative Valuation Error

𝑒𝑟𝑟𝑁𝑡𝑙 =1 + 𝑘 − 𝐵𝑋𝐶𝑌 𝑇 Δ

1 + 𝑘 − 𝐵 𝑇 Δ− 1 ≈ 𝐿𝑋𝐶𝑌 − 𝐿𝑂𝐼𝑆 Δ

𝑒𝑟𝑟𝐵76 =𝐵76𝑃𝑋𝐶𝑌 𝑡, 𝑇′

𝑃𝑋𝐶𝑌 𝑡, 𝑇,𝐷 𝑇′, 𝑇

1 + 𝑘 − 𝐵 𝑇 Δ, 𝜎𝑃 , −1

𝐵76𝑃𝑋𝐶𝑌 𝑡, 𝑇′

𝑃𝑋𝐶𝑌 𝑡, 𝑇,𝐷 𝑇′, 𝑇

1 + 𝑘 − 𝐵 𝑇 Δ, 𝜎𝑃 , −1

− 1

≈Φ𝜎𝑃2

2Φ𝜎𝑃2− 1⋅𝐿𝑋𝐶𝑌 − 𝐿𝑂𝐼𝑆 Δ

1 + Δ𝐿𝑋𝐶𝑌 1 + Δ𝐿𝑂𝐼𝑆⋅ 𝑘 − 𝐿Δ

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(7/9)

Page 28: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 27

Numerical Example XCY Cash Collateralized Caplet

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(8/9)

» Yield curves for OIS/XCY/6M Forward flat at 100BP/50BP/200BP respectively

» Black caplet volatility 65%

Page 29: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 28

Summary Consistent Payoff Adjustment

Continuous Compounded Tenor Basis

» Uniform payoff adjustment formula for OIS and XCY discounting

» Consistent multi-curve pricing with Hull White model by substituting discount curve

Simple Compounded Tenor Basis

» Different payoff adjustment formula for OIS and XCY discounting

» Approximations in multi-curve pricing with Hull White model by substituting discount curve

» Valuation error depends on cross currency basis and strike

2014-12-04 | Choosing the Right Spread | Consistent Payoff-Adjustments for Multiple Funding Curves

(9/9)

Page 30: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 29

Deterministic Tenor and Funding Basis in QuantLib

› Where Is the “Best” Place to Model the Basis?

› Transforming Instruments

› Generalising Models vs. Pricing Engines

2014-12-04 | Choosing the Right Spread | Deterministic Tenor and Funding Basis in QuantLib

Page 31: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 30

QuantLib Object Model (Simplified)

Instrument

European-Swaption

PricingEngine

HullWhiteEngine HullWhiteModel

1

1

Model

Where Is the “Best” Place to Model the Basis?

2014-12-04 | Choosing the Right Spread | Deterministic Tenor and Funding Basis in QuantLib

(1/4)

Page 32: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 31

Generalising Models

European-Swaption

HullWhiteEngine HullWhiteModel

discTermStructure_

forwTermStructure_

europSwaption()

Model simple

compounded Basis

Model continuous

compounded Basis

HullWhiteModelS

europSwaption()

HullWhiteModelC

europSwaption()

» Keep modelling assumptions and details in one place

» Manage forwTermStructure_ consistent to EuropeanSwaption→Index→TermStructure

2014-12-04 | Choosing the Right Spread | Deterministic Tenor and Funding Basis in QuantLib

(2/4)

Page 33: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 32

Generalising Pricing Engines

European-Swaption

HullWhiteEngine HullWhiteModel

termStructure_

couponBondOption() swaption2BondOption()

HullWhiteEngineS

swaption2BondOption()

HullWhiteEngineC

swaption2BondOption()

Model simple

compounded Basis

Model continuous

compounded Basis

» By design knows forwarding and discounting term structure (no redundant information)

» Holding modelling assumptions out of the pricing model mixed up with instrument data

2014-12-04 | Choosing the Right Spread | Deterministic Tenor and Funding Basis in QuantLib

(3/4)

Page 34: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 33

Transforming Instruments

European-Swaption

HullWhiteEngine HullWhiteModel

termStructure_

couponBondOption()

Model simple and

continuous

compounded Basis

BondOption

BondOption( EuropSwaption s, TermStructure discTS, SpreadMethod m )

» Disentangle spread modelling from existing yield curve modelling and pricing

» Requires consistency of discounting curves between BondOption construction and

HullWhiteModel

2014-12-04 | Choosing the Right Spread | Deterministic Tenor and Funding Basis in QuantLib

(4/4)

Page 35: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 34

Summary and Reference

2014-12-04 | Choosing the Right Spread | Summary and Reference

Page 36: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 35

Modelling Deterministic Tenor and Funding Basis

» Interdependencies of tenor and funding spreads

» Payoff adjustments for simple and continuous compounded tenor spreads

» Consistency for payoff adjustments with multiple funding curves

Continuous compounded spreads appear more favourable

Integrating Tenor and Funding Basis into QuantLib

» Modifying Instrument, PricingEngine or Model classes

Best practice has yet to emerge

Further Reading

S. Schlenkrich, A. Miemiec. Choosing the Right Spread. SSRN Preprint

http://ssrn.com/abstract=2400911. 2014.

Summary and Reference

2014-12-04 | Choosing the Right Spread | Summary and Reference

(1/1)

Page 37: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only

© d-fine — All rights reserved | 36

d-fine GmbH

Frankfurt

München

London

Wien

Zürich

Zentrale

d-fine GmbH

Opernplatz 2

D-60313 Frankfurt/Main

T. +49 69-90737-0

F: +49 69-90737-200

www.d-fine.com

Dr. Sebastian Schlenkrich

Manager

Tel +49 89-79086-170

Mobile +49 162-263-1525

E-Mail [email protected]

Dr. Mark W. Beinker

Partner

Tel +49 69-90737-305

Mobile +49 151-14819305

E-Mail [email protected]

Page 38: Choosing the Right Spread - quantlib.org · » Require multi-curve bootstrapping » Relation between curves irrelevant Classical Term Structure Models » Describe dynamics of only