PricingofAccreting Swaptions using QuantLib. Dr. André Miemiec, 13./14. Nov. 2013



Similar documents
American Monte Carlo for Bermudan CVA. Roland Lichters

Cash-settled swaptions How wrong are we?

OpenGamma Quantitative Research Adjoint Algorithmic Differentiation: Calibration and Implicit Function Theorem

Explaining the Lehman Brothers Option Adjusted Spread of a Corporate Bond

Art of Yield Curve Modelling: Joint Consistency of Russian Government Bond Quotes

Pricing CMS-Spread Options with QuantLib

INTEREST RATES AND FX MODELS

Margin Calculation Methodology and Derivatives and Repo Valuation Methodology

OR/MS Today - June Financial O.R. A Pointer on Points

MONEY MARKET SUBCOMMITEE(MMS) FLOATING RATE NOTE PRICING SPECIFICATION

Swaps: complex structures


Analytical Research Series

Replicating Life Insurance Liabilities

INTEREST RATES AND FX MODELS

Hedging at Your Insurance Company

Massachusetts State Treasurer s Office (STO) Guidelines for Current and Advance Refundings

We first solve for the present value of the cost per two barrels: (1.065) 2 = (1.07) 3 = x =

The Two-Factor Hull-White Model : Pricing and Calibration of Interest Rates Derivatives

MULTIPLE DEFAULTS AND MERTON'S MODEL L. CATHCART, L. EL-JAHEL

How To Understand The Latest Features Of F3 Excel Edition 4.3.3

SWAPTION PRICING OPENGAMMA QUANTITATIVE RESEARCH

On the Valuation of Power-Reverse Duals and Equity-Rates Hybrids

Bootstrapping the interest-rate term structure

Playing the Mortgage Game Like a Professional

Package RQuantLib. December 3, 2015

Interest Rate Risk Management for the Banking Book: Macro Hedging

How To Sell A Callable Bond

Training Agenda. Structuring and Pricing Derivatives using Numerix CrossAsset XL, CrossAsset SDKs & CAIL (C++/Java/C#)

t j-1 t j t n-1 t n period j

Interest rate Derivatives

Module VII: SWAPS PRODUCT TRAINING FOR INTERNAL USE ONLY NOT TO BE DISTRIBUTED EXTERNALLY MORGAN STANLEY

Some Applications of Mathematics in Finance

The new ACI Diploma. Unit 2 Fixed Income & Money Markets. Effective October 2014

Derivatives Interest Rate Futures. Professor André Farber Solvay Brussels School of Economics and Management Université Libre de Bruxelles

GN47: Stochastic Modelling of Economic Risks in Life Insurance

Yields, Swaps, &CorporateFinance

Pension Protection Fund Consultation: Guidance for the Bespoke Investment Risk Calculation

The Single Name Corporate CDS Market. Alan White

Interest Rate Swaps. Key Concepts and Buzzwords. Readings Tuckman, Chapter 18. Swaps Swap Spreads Credit Risk of Swaps Uses of Swaps

Investment Portfolio Management Techniques for Fixed Income, Equity and Alternative Investments

Replicating portfolios revisited

Net Present Value (NPV)

Methodology. Discounting. MVM Methods

Perspectives September

How To Understand The Financial Market For Insurers In Swissitzerland

Learning Curve An introduction to the use of the Bloomberg system in swaps analysis Received: 1st July, 2002

Disclosure of European Embedded Value as of March 31, 2015

SUPER COMPUTER CONSULTING INC.

Single Name Credit Derivatives:

IL GOES OCAL A TWO-FACTOR LOCAL VOLATILITY MODEL FOR OIL AND OTHER COMMODITIES 15 // MAY // 2014

Beyond preferred stock valuation of complex equity and hybrid instruments

Pricing Interest Rate Derivatives Using Black-Derman-Toy Short Rate Binomial Tree

Long-Term Debt Pricing and Monetary Policy Transmission under Imperfect Knowledge

Interest Rate and Currency Swaps

A Day in the Life of a Trader

Contents. Bibliografische Informationen digitalisiert durch

MCEV reporting with mg-alfa

Risk and Investment Conference Brighton, June

Potential Future Exposure and Collateral Modelling of the Trading Book Using NVIDIA GPUs

Options On Credit Default Index Swaps

Chapter 8. Step 2: Find prices of the bonds today: n i PV FV PMT Result Coupon = 4% ? Zero coupon ?

Guidance for Bespoke Stress Calculation for assessing investment risk

How To Understand A Rates Transaction

Swaps. You can drag and drop the push pin on the top right corner to Excel to download data.

Open issues in equity derivatives modelling

Application of Interest Rate Swaps in Indian Insurance Industry Amruth Krishnan Rohit Ajgaonkar Guide: G.LN.Sarma

1.2 Structured notes

Learning Curve September Understanding the Z-Spread Moorad Choudhry*

Guaranteed Annuity Options

Lecture 2 Bond pricing. Hedging the interest rate risk

Pricing Variable Annuity With Embedded Guarantees. - a case study. David Wang, FSA, MAAA May 21, 2008 at ASHK

Financial Markets elearning learn inform inspire

2. Determine the appropriate discount rate based on the risk of the security

Head, Quantitative Finance R&D Bloomberg LP. 16th February 2006

Advanced Fixed Income Analytics Lecture 6

ALM Seminar June 12-13, ALM Attribution Analysis. Moderator Robert Reitano

Effective Stress Testing in Enterprise Risk Management

Interest rate risk and how to manage it. University of Economics, 16/10/2014 Vladimir Sosovicka

Master Thesis in Financial Economics

Master of Mathematical Finance: Course Descriptions

CHAPTER 16: MANAGING BOND PORTFOLIOS

Introduction to swaps

A Flexible Benchmark Relative Method of Attributing Returns for Fixed Income Portfolios

Interest Rate Volatility

Trading the Yield Curve. Copyright Investment Analytics

ROYAL LONDON ABSOLUTE RETURN GOVERNMENT BOND FUND

Embedded Value Report

Numeraire-invariant option pricing

Agenda. Introduction Re pricing Gap Analysis and Earnings Risk Modeling Implementation Sample Reports Governance and Market Risk Exposure

An exact formula for default swaptions pricing in the SSRJD stochastic intensity model

Using the SABR Model

Transcription:

PricingofAccreting Swaptions using QuantLib Dr. André Miemiec, 13./14. Nov. 2013

Agenda 1. Introduction 2. Model Description 3. Implementation in QuantLib 4. Pricing Quality

Introduction Origin of the problem: Valuation of Multicallable Accreting Swaptions Elementary Observations: Picture removed

Introduction Reason must be traced back to the model choice or calibration, respectively Quality of Models Black 1F Short-Rate Market Model Properties: -easy to impl. - easy to integrate - applicable to single callables only HK-Pricer Properties: -depends on parallel shifts of yc, only - nested calibration required Properties: - best achievable price - lots of choices in calibrating the modell Amortising swaptions are most sensitive to parallel moves in the yield curve, so a single factor model is sufficient LGM

Introduction QuantLibdoes not provide a LGM implementation but posseses an unsatisfactory implementation of Hull-White Calibration Issue: Accreters are calibrated to coinitial not coterminal swaptions HW is unable to cope with this requirement. I had to decide between two alternatives: do a proper LGM implementation or do the calibration otherwise. Made the second choice because the method selected combines the best properties of the Black and 1F-Short-Rate Models.

Agenda 1. Introduction 2. Model Description 3. Implementation in QuantLib 4. Pricing Quality

Model Description Irregular swap and its decomposition into a basket of regular swaps N n _ N 2 N 1 coinitial swaps Hagan * : Want to exercise all basket swaps at the same time, i.e. put them equally far (λ) from ATM (K i ) R i = K i + λ * The corresponding reference can be found at the end of the talk.

Model Description Bond model of a accreting swaption: Fixed Leg: Float Leg: Basket of standard swaps with par-rates {K i } i=1..n and notionals {A i } i=1..n Matching the floating leg:

Model Description Basket decomposition: Hunt-Kennedy ** : Select r* such that: Select R i such that: Then This decomposition works pretty well, if Hagan s R i are actually used. Typical deviation to a properly calibrated LGM modell some $100 ** The corresponding reference can be found at the end of the talk.

Agenda 1. Introduction 2. Model Description 3. Implementation in QuantLib 4. Pricing Quality

Implementation in QuantLib Basic structure of the algorithm Instruments IrrSwap IrrSwptn PricingEngine HaganIrregularSwaptionEngine void calculate() const; Real HKPrice (Basket&,H) const; MarketData SwptnVol YTStruct Basket Disposable<Array> compute(rate lambda = 0.0) const; Mutuable Real lambda_; SVD Black76 Bisection

Implementation in QuantLib Final Pricing Function: Real HKPrice(Basket& basket,boost::shared_ptr<exercise>& exercise) const { boost::shared_ptr<pricingengine> blackswaptionengine = boost::shared_ptr<pricingengine>( new BlackSwaptionEngine(termStructure_,volatilityStructure_)); Disposable<Array> weights = basket.weights(); Real npv = 0.0; for(size i=0; i<weights.size(); ++i){ boost::shared_ptr<vanillaswap> pvswap_ = basket.component(i); Swaption swaption = Swaption(pvSwap_,exercise); swaption.setpricingengine(blackswaptionengine); npv += weights[i]*swaption.npv(); } return npv; }

Implementation in QuantLib Side remark on standard QL-Classes: Observation: Implementation of Swaption-Instrument is tightly bound to the implementation of a VanillaSwap-Instrument Suggestion: Need for a Constructor of class VanillaSwap, who allows for all sorts of schedules Future developments regarding this piece of code: automatic calibration of a bermudan swaption (get rid of tedious nested calibration) Full fledged LGM model with all sorts of calibrations

Agenda 1. Introduction 2. Model Description 3. Implementation in QuantLib 4. Pricing Quality

Pricing Quality: Example Callable Zerobond IRR = 4,1055% today 20Mio call date 6 call dates call date 100Mio 12 15 22 1. With original calibration from FO-System: 47 52 From FO-System: PV-FO-System: 6.. Benchmarking: PV-QuantLib: 6.. PV01: 100k PV 0.2 bp

Pricing Quality: Example Callable Zerobond 2. Comparison against market prices with own calibration from QuantLib: Picture removed

Pricing Quality Main Result: improved fitness of prices to market Reason for the observed effects: Because the HK-Prices of Accreting Swaptions are pretty close to the corresponding LGM Prices the new calibration is more consistent than the result of a calibration based on a weighted vol (Black) approach. ~ The End ~

References P.S. Hagan, Methodology for Callable Swaps and Bermudan Exercise into Swaptions P.J. Hunt, J.E. Kennedy, Implied interest rate pricing models, Finance Stochast. 2, 275 293 (1998) A. Miemiec, QuantLib Code on SourceForge, (2013)