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



Similar documents
Introduction to Fixed Income (IFI) Course Syllabus

Contents. Bibliografische Informationen digitalisiert durch

ARMS Counterparty Credit Risk

Swaps: complex structures

EDF CEA Inria School Systemic Risk and Quantitative Risk Management

Risk and Investment Conference Brighton, June

Managing Currency Mismatch. May 2010

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

Pricing of cross-currency interest rate derivatives on Graphics Processing Units

INTEREST RATES AND FX MODELS

YIELD CURVE GENERATION

Master of Mathematical Finance: Course Descriptions

Trading the Yield Curve. Copyright Investment Analytics

Basel Committee on Banking Supervision. Basel III counterparty credit risk - Frequently asked questions

Note 10: Derivative Instruments

Modelling Corporate Bonds

Third Edition. Philippe Jorion GARP. WILEY John Wiley & Sons, Inc.

Note 8: Derivative Instruments

IFRS Practice Issues for Banks:

Risk Management for Fixed Income Portfolios

Bootstrapping the interest-rate term structure

Legal aspects of investing in EMD

LIBOR vs. OIS: The Derivatives Discounting Dilemma

CALYPSO ENTERPRISE RISK SYSTEM

Enterprise Risk Management

Fixed Income Training Seminar Asset Management Experience

Contents. List of Figures. List of Tables. List of Examples. Preface to Volume IV

Derivatives, Measurement and Hedge Accounting

New valuation and pricing approaches for derivatives in the wake of the financial crisis

DACT autumn diner workshop. Risk management, valuation and accounting

Cash-settled swaptions How wrong are we?

Tenor Adjustments for a Basis Swap

Capital preservation strategy update

OVERVIEW OF THE USE OF CROSS CURRENCY SWAPS

A Guide to Modelling Counterparty Credit Risk

1.2 Structured notes

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

CITIGROUP INC. BASEL II.5 MARKET RISK DISCLOSURES AS OF AND FOR THE PERIOD ENDED MARCH 31, 2013

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

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

Interest Rate Futures Pricing, Hedging, Trading Analysis and Applications

Equity-Based Insurance Guarantees Conference November 1-2, New York, NY. Operational Risks

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

INVESTMENT INCOME PROJECTION & FORECASTING

OpenGamma Quantitative Research Multi-curves Framework with Stochastic Spread: A Coherent Approach to STIR Futures and Their Options

Defining Treasury Success. Establishing and Automating Treasury Metrics

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

Managing Counterparty Credit Risk through CVA. Karin Bergeron Director, CVA Trading

Derivatives: Principles and Practice

With the derivative markets having changed dramatically since the 2008 financial crisis,

CVA, Hedging and Best Practices Denny Yu, CFA

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

Fixed Income Portfolio Management. Interest rate sensitivity, duration, and convexity

Robust software capable of performing either using the Free of License SQL Express or the Standard edition of Microsoft, when available.

Margin Calculation Methodology and Derivatives and Repo Valuation Methodology

American Monte Carlo for Bermudan CVA. Roland Lichters

This document introduces the principles behind LDI, how LDI strategies work and how to decide on an appropriate approach for your pension scheme.

Guidance for Bespoke Stress Calculation for assessing investment risk

Big Data & Analytics. Counterparty Credit Risk Management. Big Data in Risk Analytics

Exchange-traded Funds

Analytical Research Series

Condensed Interim Consolidated Financial Statements of. Canada Pension Plan Investment Board

Background. Discount rates for valuation, including taking account of liquidity. Seamus Creedon (Working Party Chairman)

Certification Program on Corporate Treasury Management

Condensed Interim Consolidated Financial Statements of. Canada Pension Plan Investment Board

Market-Consistent Valuation of the Sponsor Covenant and its use in Risk-Based Capital Assessment. Craig Turnbull FIA

Jornadas Economicas del Banco de Guatemala. Managing Market Risk. Max Silberberg

INTEREST RATES AND FX MODELS

Mortgage Backed Securities

SWAPTION PRICING OPENGAMMA QUANTITATIVE RESEARCH

Webinar #2. Introduction to IAS-39 hedge accounting with Fairmat. Fairmat Srl 18/07/2013

Fixed Income Performance Attribution

INTEREST RATE SWAP (IRS)

Seeking Alternatives. Senior loans an innovative asset class

You can find the Report on the SaxoTrader under the Account tab. On the SaxoWebTrader, it is located under the Account tab, on the Reports menu.

FX Strategies. In the Low Yield Environment. Eddie Wang Head of FX Structuring, Asia. Hong Kong October 2010

Counterparty Credit Risk Measurement Under Basel II. A presentation by ISDA Asia 2007

Risk Based Capital Guidelines; Market Risk. The Bank of New York Mellon Corporation Market Risk Disclosures. As of December 31, 2013

The International Investment Bank TREASURY INVESTMENT POLICY STATEMENT

FX Strategies. in the Post-Crisis World. Eddie Wang Head of FX Structuring, Asia. Hong Kong October 2009

How To Write A Credit Risk Book

ASSET LIABILITY MANAGEMENT Significance and Basic Methods. Dr Philip Symes. Philip Symes, 2006

Dataline A look at current financial reporting issues

Unconstrained Fixed Income

Contents. List of Figures. List of Tables. Acknowledgments PART I INTRODUCTION 1

Credit Risk Stress Testing

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

Collateral consistent derivatives pricing

Treasury Floating Rate Notes

Risk Management at a Leading Canadian Bank An Actuarial Science Graduate's View

Staying alive: Bond strategies for a normalising world

Best Practices in Asset Liability Management

Hedging Interest-Rate Risk: A Primer in Instruments. & Accounting. September 29, Presented by: Ruth Hardie

Matching Investment Strategies in General Insurance Is it Worth It? Aim of Presentation. Background 34TH ANNUAL GIRO CONVENTION

at ICAP: RESET & ReMATCH

Risk analysis with depth. Software, Services and. XVA Capital IM Limits Adjoint

Eric Ming Financial Markets Standard Chartered Bank (China) Limited May 2009

How a thoughtful FX strategy can give Fund Managers a competitive edge

Transcription:

Potential Future Exposure and Collateral Modelling of the Trading Book Using NVIDIA GPUs 19 March 2015 GPU Technology Conference 2015 Grigorios Papamanousakis Quantitative Strategist, Investment Solutions Aberdeen Asset Management Jinzhe Yang Quantitative Researcher, LDI Aberdeen Asset Management Grzegorz Kozikowski Researcher University of Manchester 0

Contents PFE Modelling explained Cash vs. No-Cash Collateral The impact of haircut on the valuation GPU implementation Q & A 1

Sketching the problem Consider the problem of calculating the potential Future Collateral Requirements of a large derivative book for a global asset manager Purpose: Provide a probabilistic approach of what may be the collateral requirements, on various granularity levels (fund level, counterparty level, division level, company level, etc.) and different time horizons, of clients portfolio Worse Case Scenario Time Horizon Collateral Requirement Fund level Division level Company level 90% 1w 1m 1y 60mln 45mln 40mln 70% 1w 1m 1y 30mln 23mln 20mln Average case 1w 1m 1y 18mln 12mln 10mln Additional information could be extracted as well. Collateral decomposition (Cash Collateral, Gov. Bonds, HY bonds, etc.), counterparty exposure, etc. Typically the portfolio will include interest rate swaps, swaptions, inflation swaps, cross currency swaps, equity options, CDSs, etc. 2

Basic Definitions Potential Future Exposure (PFE) is defined as the maximum expected credit exposure over a specified period of time calculated at some level of confidence. PFE is a measure of counterparty credit risk. Expected Exposure (EE) is defined as the average exposure on a future date Credit Valuation Adjustment (CVA) is an adjustment to the price of a derivative to take into account counterparty credit risk. Collateral can be considered any type of valuable liquid property that is pledged by the recipient as security against credit risk. 3

PFE Modelling Explained What do we need to built a standard market PFE Model? A consistent simulation framework to project forward in time the interest rate curves. This will typically have 100-120 time-steps and around 100k -1mln scenarios Multiple stochastic processes to simulate the FX exposure for every different currency in the portfolio, aligned with the time steps and the number of simulations of the interest rate scenarios. The same idea applies for the inflation rates but with less time steps Correlate all the Brownian motions calibrating on the market data and use the Cholesky decomposition to form multivariate normal random variables and project forward in time on every scenario Re-evaluate every position, on every time step, for every scenario and aggregate per netting set to calculate the Expected Exposure - EE Calculate the collateral changes based on the CSA agreement with every counterparty and available collateral on our pool 4

Rates Example Yield Curve Evolution Yield Curve Evolution 0.09 0.08 0.07 0.06 0.05 0.04 Jan22 Jan21 Jan20 Jan19 Jan18 Jan17 Jan16 Jan15 Jan14 Observation Date 50 100 150 200 Tenor (Months) 250 300 350 5

Portfolio Value ( mln) Exposure ( mln) Example Portfolio Value / Collateral Exposure over time Total MTM Portfolio Value for All Scenarios 100 Collateral Exposure for All Scenarios 120 80 60 100 40 80 20 0 60-20 -40 40-60 20-80 -100 Jan14 Jan16 Jan18 Jan20 Jan22 Simulation Dates 0 Jan14 Jan16 Jan18 Jan20 Jan22 Simulation Dates 6

Exposure ( mln) Example Cash Collateral Exposure Distribution 95% & 80% Confidence level 45 40 35 Portfolio Collateral Exposure Profiles Max Exp Collateral Exp (95%) Collateral Exp (80%) Exp Exposure (EE) 30 25 20 15 10 5 0 Jan14 Jan16 Jan18 Jan20 Jan22 Simulation Dates 7

Dimensionality of the problem The need for GPU acceleration For every interest rate curve we will typically have 120+ simulation steps (50 year horizon) To construct the full term structure on every simulation step we need 20-25 tenor points We simulate different forward and discount curves in order to capture the stochastic credit spreads between the two curves (e.g. Sonia and Libor) The same applies for every currency in our portfolio along with a stochastic process to simulate the FX exposure Depending the degree of convergence we want to achieve we simulate 100k-1mln scenarios So for the simulation the dimensionality of the problem is: nsim x nsteps x ntenors x ncurves x ncurrencies 1mln x 120 x 25 x 15 For valuation purposes we have to take under consideration on top of that the size of the portfolio as well as the NO-Cash collateral 8

Contents PFE Modelling explained Cash vs. No-Cash Collateral The impact of haircut on the valuation GPU Implementation Q & A 9

CSA-dependent Valuation Trading with broker/fund-specific CSA Credit-risky collateral requires a haircut to be applied on the notional amount (10%- 30% depending on the credit quality, the broker and the fund) For Bond Collateral we have to re-finance our position frequently, on every coupon payment Additional management cost and liquidity issues Repo markets to generate cash involves extra operations and costs and an agreed legal framework known as GMRA (global master repurchase agreement) For more complex collateral products (CDSs / MBSs / Equities) the daily valuation is more complicated and more difficult to monitor Foreign currency collateral implies cross-currency bootstrapping, incorporating crosscurrency basis 10

Cash vs Bond Collateral Introducing the collateral pool on a multi-curve framework We assume that the fund on the previous example has a collateral pool with 15mln Cash 10mln of Gilts with 10% haircut 10mln of AAA Bonds with 20% haircut 20mln of HY Bonds with 30% haircut We now model a dynamic collateral portfolio that changes over time We re-evaluate the collateral on every time step, assuming there is no credit migration on the collateral posted Reconstruct the new collateral portfolio and simulate forward (additional computational complexity) 11

Exposure ( mln) Bond Collateral Exposure Profiles - Results 60 50 40 Bond Collateral Exposure Profiles Max Bond Collateral Exp (95%) Bond Collateral Exp (95%) Max Cash Collateral Exp (95%) Cash Collateral Exp (95%) Bond Collateral Exp (80%) Cash Collateral Exp (80%) Exp Exposure (EE) 30 20 10 0 Jan14 Jan16 Jan18 Jan20 Jan22 Simulation Dates 12

Computational Impact When we include No-Cash collateral instruments in our collateral pool the complexity of problem increases exponentially We now have a dynamic portfolio that changes continuously, adding an optimization depending collateral decision on every step we re-evaluate the portfolio The moment that the first No-Cash Collateral is been posted either from us or our counterparty, we need to start simulating the credit migration risk associated with that bond This is clearly an computational intensive exercise, ideal for parallelization and acceleration using GPUs 13

Contents PFE Modelling explained Cash Collateral vs. No-Cash Collateral The impact of haircut on the valuation GPU Implementation Q & A 14

15 NVIDIA GPU Computing: Graphical Processing Units

Decomposing the problem Preprocessing the portfolio Fetch all the interest rate curve / FX data live from Bloomberg / Thomson Reuters Read the portfolio and construct all the asset classes and projected cash-flows Preprocess the portfolio for different calendars, payment/receive/reset frequencies Mainly a task we use only CPUs for portfolios with less than 10000 derivatives. Banks with larger portfolios may consider parallelize this step as well. Monte Carlo simulation Perform the simulation for the various stochastic processes and construct the full term structure for every simulation step Post process the portfolio Re-Evaluate the portfolio on every scenario and simulation step adjusting for the collateral posted from either us or our counterparties Acceleration using GPUs is essential! 16

Term structure k Tenor Points GPU Implementation Four GPU kernels (parallelized dimensions) Interest rate path generation (1mln paths) Rates conversion (number of paths x number of tenors) Zero rates (number of paths x cash flow dates) Forward rates (number of paths x cash flow dates) Number of paths per thread block: 1024 / number of tenors Number of thread blocks per thread grid: paths x tenors / 1024 Monte Carlo simulation evolution N time steps T 1 T 2 T 3 T N-2 T N-1 T N r 1 (T 1 ) r 2 (T 1 ) r 2 (T 2 ) r 3 (T 1 ) r 3 (T 2 ).. r k-1 (T 1 ) r k-1 (T 2 ) r k-1 (T 3 ) r k-1 (T N-2 ) r k-1 (T N-1 ) r k-1 (T N ) r k (T 1 ) r k (T 2 ) r k (T 3 ) r k (T N-2 ) r k (T N-1 ) r k (T N ) 17

Parallel Architecture Interest Rate(0, 0) (Shared Memory) Interest Rate(0, 1) (Shared Memory) Interest Rate(path, step) (Shared Memory) Generation (Write) Valuation (Read) Generation (Write) Valuation (Read) Generation (Write) Valuation (Read) Thread (0, 0) Thread (0, 1) Thread (path, step) Tenor 0... Tenor N Tenor 0... Tenor N Tenor 0... Tenor N Portfolio Valuation Portfolio Valuation Portfolio Valuation 18

Acceleration Results CPU execution times & Speedup Test Environment: CPU: an Intel Xeon Sandybridge X5650 2.66 Ghz (16 cores) an NVIDIA Tesla K40 Number of paths Total CPU time (seconds) Total GPU time (seconds) Speed-up (Total) 10000 5.1 22.8-20000 8.8 19.6-30000 13.1 21.4-40000 17.2 21.7-50000 21.5 20.2 1x 100000 43.3 22.8 2x 500000 251.8 20.2 12.5x 1000000 503.6 22.2 25x 19

Conclusions Multi-curve modelling is here to stay Impact varies, but dual curve discounting is essential for accurate pricing No-Cash Collateral management is not trivial Multiple broker/fund specific CSA agreements Haircuts do have a significant impact on collateral and fund s liquidity The dynamic portfolio grows the computational complexity exponentially Monte Carlo framework provides a sensible solution High Performance Computing using GPUs is essential Significant increases the performance of Monte-Carlo simulation Memory allocation and data transfer problems have to be taken under consideration Total cost of ownership Solution depends on the business case In-house development has significant Person Risk Outsourcing? 20

Thank you / Any questions? 21

References 1. Amin, A. (2010). Calibration, simulation and hedging in a Heston Libor market model with stochastic basis 2. Andersen, L. and Piterbarg, V. (2010). Interest rate modelling, in three volumes. Atlantic Financial Press 3. Brigo, D. and Mercurio, F. (2006). Interest Rate Models, Theory and Practice. Springer Finance. 4. Crepey, S. Grbac, Z. Ngor, N. Skovmand, D. A Levy HJM multiple-curve model with application to CVA computation 5. Henrad, M. (2007) The irony in derivatives discounting. Wilmott Magazine 6. Henrad, M. (2013). Multi-curves Framework with Stochastic Spread: A Coherent Approach to STIR Futures and Their Options. OpenGamma Quant Research 7. Kenyon, C. (2010). Post-shock short-rate pricing. Risk 8. Mercurio, F. and Xie, Z. (2012). The basis goes stochastic basis. Risk, Dec 2012 9. Mercurio, F. (2010). A LIBOR market model with stochastic basis 10. Moreni, N. and Pallavicini, A. (2010). Parsimonious HJM modelling for multiple yieldcurve dynamics. Working paper 22

For professional investors only Not for public distribution Past performance is not a guide to future returns. The value of investments, and the income from them, can go down as well as up and your clients may get back less than the amount invested. The views expressed in this presentation should not be construed as advice on how to construct a portfolio or whether to buy, retain or sell a particular investment. The information contained in the presentation is for exclusive use by professional customers/eligible counterparties (ECPs) and not the general public. The information is being given only to those persons who have received this document directly from Aberdeen Asset Management (AAM) and must not be acted or relied upon by persons receiving a copy of this document other than directly from AAM. No part of this document may be copied or duplicated in any form or by any means or redistributed without the written consent of AAM. The information contained herein including any expressions of opinion or forecast have been obtained from or is based upon sources believed by us to be reliable but is not guaranteed as to the accuracy or completeness. Issued by Aberdeen Asset Managers Limited which is authorised and regulated by the Financial Conduct Authority in the United Kingdom. 23