ORE Applied: Dynamic Initial Margin and MVA

Similar documents
Cash Settled Swaption Pricing

Cross Asset CVA Application

Modelling Counterparty Exposure and CVA An Integrated Approach

Modern Derivatives. Pricing and Credit. Exposure Anatysis. Theory and Practice of CSA and XVA Pricing, Exposure Simulation and Backtest!

Calculating Counterparty Exposures for CVA

2nd Order Sensis: PnL and Hedging

ORE User Guide. Quaternion Risk Management. 7 December 2017

RISKMETRICS. Dr Philip Symes

FINCAD s Flexible Valuation Adjustment Solution

Callability Features

Strategic Integration of xva, Margining and Regulatory Risk Platforms

Risk e-learning. Modules Overview.

Advances in Valuation Adjustments. Topquants Autumn 2015

CVA in Energy Trading

Market Risk Analysis Volume IV. Value-at-Risk Models

INTEREST RATES AND FX MODELS

OIS and Its Impact on Modeling, Calibration and Funding of OTC Derivatives. May 31, 2012 Satyam Kancharla SVP, Client Solutions Group Numerix LLC

Standardised Risk under Basel 3. Pardha Viswanadha, Product Management Calypso

Calculating VaR. There are several approaches for calculating the Value at Risk figure. The most popular are the

FINCAD XL and Analytics v11.1 Release Notes

IFRS 13 The Impact on Derivative Valuation, Hedge Accounting and Financial Reporting. 24 September 2013 Dan Gentzel & Peter Ahlin

Multi-Curve Pricing of Non-Standard Tenor Vanilla Options in QuantLib. Sebastian Schlenkrich QuantLib User Meeting, Düsseldorf, December 1, 2015

Market risk measurement in practice

Financial Engineering with FRONT ARENA

Credit Valuation Adjustment and Funding Valuation Adjustment

IFRS 13 - CVA, DVA AND THE IMPLICATIONS FOR HEDGE ACCOUNTING

Discounting. Jeroen Kerkhof. 22 September c Copyright VAR Strategies BVBA 1 / 53

Razor Risk Market Risk Overview

Counterparty Risk - wrong way risk and liquidity issues. Antonio Castagna -

Efficient Lifetime Portfolio Sensitivities: AAD Versus Longstaff-Schwartz Compression Chris Kenyon

Model Risk Assessment

Recent developments in. Portfolio Modelling

Counterparty Credit Risk Simulation

Implementing a cross asset class CVA and xva Framework

Economic Scenario Generator: Applications in Enterprise Risk Management. Ping Sun Executive Director, Financial Engineering Numerix LLC

(J)CIR(++) Hazard Rate Model

Impact of negative rates on pricing models. Veronica Malafaia ING Bank - FI/FM Quants, Credit & Trading Risk Amsterdam, 18 th November 2015

HANDBOOK OF. Market Risk CHRISTIAN SZYLAR WILEY

Challenges in Counterparty Credit Risk Modelling

Counterparty Credit Risk under Basel III

Adjust your perspective.

Challenges In Modelling Inflation For Counterparty Risk

Avantage Reply FRTB Implementation: Stock Take in the Eurozone and the UK

FINANCE, INVESTMENT & RISK MANAGEMENT CONFERENCE. SWAPS and SWAPTIONS Interest Rate Risk Exposures JUNE 2008 HILTON DEANSGATE, MANCHESTER

IEOR E4602: Quantitative Risk Management

Market interest-rate models

Point De Vue: Operational challenges faced by asset managers to price OTC derivatives Laurent Thuilier, SGSS. Avec le soutien de

Strategies For Managing CVA Exposures

A Bloomberg Professional Services Offering ADJUST YOUR PERSPECTIVE.

Return dynamics of index-linked bond portfolios

Portfolio Credit Risk II

CTM - Treasury Analytics

Collateral Management & CSA Discounting. Anna Barbashova Product Specialist CrossAsset Client Solutions Group, Numerix December 11, 2013

MVA, KVA: modelling challenges

Oracle Financial Services Market Risk User Guide

OTC Derivatives Valuation and Data Services Technology-enabled solutions for derivatives and complex instruments

Risk Measures Overview

Practical application of Liquidity Premium to the valuation of insurance liabilities and determination of capital requirements

Oracle Financial Services Market Risk User Guide

CTM - Treasury Analytics

Managing Temperature Driven Volume Risks

Principles of Scenario Planning Under Solvency II. George Tyrakis Solutions Specialist

Credit Risk Modelling This course can also be presented in-house for your company or via live on-line webinar

Credit Risk Modelling This in-house course can also be presented face to face in-house for your company or via live in-house webinar

Bloomberg. Portfolio Value-at-Risk. Sridhar Gollamudi & Bryan Weber. September 22, Version 1.0

Credit and Funding Risk from CCP trading

Callable Libor exotic products. Ismail Laachir. March 1, 2012

WHITE PAPER THINKING FORWARD ABOUT PRICING AND HEDGING VARIABLE ANNUITIES

Prudent Valuation. Dirk Scevenels Head MRMB Trading Quantitative Analytics, ING. Amsterdam - 12 November 2014

palgrave Shipping Derivatives and Risk Management macmiuan Amir H. Alizadeh & Nikos K. Nomikos

Basel Committee on Banking Supervision

Pricing and Trading CVA

Counterparty Credit Risk

Handbook of Financial Risk Management

Accelerated Option Pricing Multiple Scenarios

Counterparty Credit Exposure in the Presence of Dynamic Initial Margin

The Next Steps in the xva Journey. Jon Gregory, Global Derivatives, Barcelona, 11 th May 2017 Copyright Jon Gregory 2017 page 1

A Hybrid Commodity and Interest Rate Market Model

Counterparty Credit Risk in OTC Derivatives under Basel III

CITI GLOBAL INTEREST RATES STRATEGY 10 INDEX FUND

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Essential Learning for CTP Candidates NY Cash Exchange 2018 Session #CTP-08

Risk Modeling: Lecture outline and projects. (updated Mar5-2012)

XVA Metrics for CCP Optimisation

Statistical Models and Methods for Financial Markets

With Examples Implemented in Python

REPORTING PACKAGE FOR SS&C ADVENT SOFTWARE CLIENTS

Counterparty Risk and CVA

Oracle Financial Services Market Risk User Guide

NATIONAL UNIVERSITY OF SINGAPORE DEPARTMENT OF MATHEMATICS SEMESTER 2 EXAMINATION Investment Instruments: Theory and Computation

FINANCIAL DERIVATIVE. INVESTMENTS An Introduction to Structured Products. Richard D. Bateson. Imperial College Press. University College London, UK

RunnING Risk on GPUs. Answering The Computational Challenges of a New Environment. Tim Wood Market Risk Management Trading - ING Bank

Credit Risk in Derivatives Products

Basel 2.5 Model Approval in Germany

New Developments in MATLAB for Computational Finance Kevin Shea, CFA Principal Software Developer MathWorks

Credit Risk in Derivatives Products

SELL-SIDE SURVEY FINCAD Sell-Side Survey

Milliman STAR Solutions - NAVI

Session 3B, Stochastic Investment Planning. Presenters: Paul Manson, CFA. SOA Antitrust Disclaimer SOA Presentation Disclaimer

Transcription:

ORE Applied: Dynamic Initial Margin and MVA Roland Lichters QuantLib User Meeting at IKB, Düsseldorf 8 December 2016

Agenda Open Source Risk Engine Dynamic Initial Margin and Margin Value Adjustment Conclusion and Next Steps

Agenda Open Source Risk Engine Dynamic Initial Margin and Margin Value Adjustment Conclusion and Next Steps 2017 Quaternion Risk Management Ltd. Roland Lichters 3

Released 7 October 2016 Web site, FAQ, Forum: http://www.opensourcerisk.org Code base: https://github.com/opensourcerisk/engine https://github.com/opensourcerisk/dashboard 2017 Quaternion Risk Management Ltd. Roland Lichters 4

opensourcerisk.org 2017 Quaternion Risk Management Ltd. Roland Lichters 5

github.com/opensourcerisk/engine 2017 Quaternion Risk Management Ltd. Roland Lichters 6

Analytics Scope Portfolio pricing and cash flow projection Derivative portfolio analytics based on a Monte Carlo simulation framework Credit exposure evolution with netting and collateral (EE, EPE, EEPE, PFE) supporting regulatory capital charge calculation under internal model methods Collateral modeling with Dynamic Initial Margin (DIM) Derivative value adjustments (CVA, DVA, FVA, COLVA, MVA) Market risk measures 2017 Quaternion Risk Management Ltd. Roland Lichters 7

Roadmap Analytics: SA-CCR, the new standard for derivatives capital Sensitivity analysis and stress testing Parametric VaR and initial margin methods Asset classes and simulation models: Credit simulation, credit derivatives and loan products Default risk modeling and credit portfolio analysis Inflation simulation and inflation derivatives Equity simulation, equity derivatives Commodity simulation, commodity derivatives 2017 Quaternion Risk Management Ltd. Roland Lichters 8

Data Flow Portfolio Loading Curve Building Model Calibration t 0 Pricing Market Simulation Forward Pricing Aggregation Collateral Modeling Exposure Analytics Trade data (xml) Market data Configuration (xml) NPV Report Cashflow Report NPV Cube Exposure Reports XVA Reports Net NPV Cube Processing Input Output Interactive Visualisation: Evolution of Exposure and NPV distributions 2017 Quaternion Risk Management Ltd. Roland Lichters 9

Components Basic%Applica>on/Launchers% Risk%Analy>cs% Interfaces%and%Data%Management% QuantLib% QL%Extension% Boost%Libraries% 2017 Quaternion Risk Management Ltd. Roland Lichters 10

Agenda Open Source Risk Engine Dynamic Initial Margin and Margin Value Adjustment Conclusion and Next Steps 2017 Quaternion Risk Management Ltd. Roland Lichters 11

Initial Margin The introduction of Initial Margin (IM) posting in non-cleared OTC derivatives business reduces residual credit exposures and associated value adjustments, CVA/DVA. On the other hand, it introduces additional funding cost. The value of the latter is referred to as MVA (Margin Value Adjustment). To quantify these two effects one needs to model IM under future market scenarios, Dynamic Initial Margin (DIM). 2017 Quaternion Risk Management Ltd. Roland Lichters 12

Margin Value Adjustment Given the state-dependent dynamic initial margin DIM(t), we can compute the associated MVA in analogy to CVA/DVA: MVA = n (f b s I ) δ i S C (t i ) S B (t i ) E N [DIM(t i ) D(t i )] i=1 with borrowing spread f b as in FVA calculation spread s I received on initial margin S B,C (t) cumulative survival probability of the two parties D(t) stochastic discount factor and both spreads relative to the cash collateral rate. 2017 Quaternion Risk Management Ltd. Roland Lichters 13

DIM via Regression Consider the netting set values NPV(t) and NPV(t + ) one margin period of risk apart. Let F(t, t + ) denote cumulative netting set cash flows between time t and t +, converted into the NPV currency. Let X(t) then denote the clean netting set value change during the margin period of risk, i.e. excluding cash flows, in that period: X(t) = NPV(t + ) + F(t, t + ) NPV(t) ignoring discounting/compounding over the margin period of risk. 2017 Quaternion Risk Management Ltd. Roland Lichters 14

DIM via Regression Task: Find the distribution of X(t) and pick a high (99%) quantile to determine the Initial Margin amount for each time t and conditional on the state of the world at time t. Simplify: Estimate the conditional variance of X(t), V(t) = E t [X 2 ] E 2 t [X], by regression Assume a normal distribution of X(t) Scale the standard deviation of X(t) to the desired quantile Which regressors? Which basis functions? 2017 Quaternion Risk Management Ltd. Roland Lichters 15

DIM via Regression: Simple Swap Simple swap pricing, notional 1: with Duration NPV = n c e z t i + e z t n 1 i=1 NPV NPV z z NPV n = c t i e z t i t n e z t n z NPV z D(z) = i=1 = D(z) (NPV + 1) n i=1 c t i e z t i + t n e z t n n i=1 c e z ti + e z tn weakly depending on z (if n > 1) and when z is in a realistic range 2017 Quaternion Risk Management Ltd. Roland Lichters 16

DIM via Regression: Simple Swap Variance and Standard Deviation of NPV moves: ( ) 2 NPV V[ NPV] V[ z] z }{{} =σ 2 t D 2 (1 + NPV) 2 σ 2 t The main z-dependence is in NPV(z) = D 2 (1 + 2NPV + NPV 2 ) σ 2 t 2017 Quaternion Risk Management Ltd. Roland Lichters 17

DIM via Regression: Recipe The Swap example suggests first or second order polynomials as basis functions. For a single currency Swap, NPV may work as regressor, but we rather use a rate instead, for the following reason: Extension to multi-currency portfolios (of Swaps) then by multi-dimensional regression extending the list of regressors to several rates (one for each economy) and relevant FX spot rates 2017 Quaternion Risk Management Ltd. Roland Lichters 18

Demo Run Swap DIM/MVA example (Example_13) 2017 Quaternion Risk Management Ltd. Roland Lichters 19

Validation: Dynamic Delta-Gamma VaR (ORE+) Methodology: Compute sensitivities (deltas and gammas) under scenarios, analytically during instrument pricing Compute model-consistent covariance matrix (in ORE s evolution model just time-dependent, not scenario-dependent) Delta-Normal VaR under scenarios, quantile estimate via simple scaling Delta-Gamma VaR under scenarios, quantile estimate using Cornish-Fisher expansion using first four moments 2017 Quaternion Risk Management Ltd. Roland Lichters 20

DIM via Regression: EUR Swap ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 21

DIM via Regression: EUR Swap ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 22

DIM via Regression: EUR Swap ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 23

DIM via Regression: EUR Swap ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 24

Dynamic Delta VaR ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 11 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 25

Dynamic Delta Gamma VaR ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 1 11 11 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 26

Evolution of Expected DIM ATM Vanilla Swap in EUR, 10Y maturity, flat market, regression in 4Y 1 1 1 11 11 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 27

Evolution of Expected DIM: USD Swap Vanilla Swap in USD, 10Y maturity Two Regressors: USD/EUR FX, USD-LIBOR-3M (since NPV in EUR) 1 1 1 11 11 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 28

Evolution of Expected DIM: USD/EUR CC Swap Cross Currency EUR/USD Swap, 10Y maturity 3 Regressors: USD/EUR FX, USD-LIBOR-3M, EUR-EURIBOR-3M 1 1 1 11 11 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 29

Evolution of Expected DIM: European Swaption European Swaption in EUR, 10Y expiry, physical, 10 year swap One Regressor: EUR-EURIBOR-3M 1 1 1 11 11 1 1 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 30

DIM Regression: European Swaption European Swaption in EUR, regression in 4Y (before expiry) One Regressor: EUR-EURIBOR-3M 1 1 1 1 11 11 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 31

DIM Regression: European Swaption European Swaption in EUR, regression in 12Y (beyond expiry) One Regressor: EUR-EURIBOR-3M 1 1 1 1 11 11 1 1 1 1 1 1 2017 Quaternion Risk Management Ltd. Roland Lichters 32

DIM Regression Preliminary summary (work in progress): ORE supports DIM/MVA via single- and multi-dimensional regression Regression DIM validated with Dynamic Delta(-Gamma) VaR in ORE+ Excellent agreement for single currency and cross currency Swaps with first and second order polynomials as basis functions Reasonable agreement for European Swaptions before expiry, second order polynomials better than first order Discrepancy from Dynamic Delta VaR increases beyond expiry in case of physical settlement, similar performance of first and second order polynomials 2017 Quaternion Risk Management Ltd. Roland Lichters 33

DIM Regression Preliminary summary (work in progress): ORE supports DIM/MVA via single- and multi-dimensional regression Regression DIM validated with Dynamic Delta(-Gamma) VaR in ORE+ Excellent agreement for single currency and cross currency Swaps with first and second order polynomials as basis functions Reasonable agreement for European Swaptions before expiry, second order polynomials better than first order Discrepancy from Dynamic Delta VaR increases beyond expiry in case of physical settlement, similar performance of first and second order polynomials SSRN paper to appear shortly with further benchmarking results. 2017 Quaternion Risk Management Ltd. Roland Lichters 34

Agenda Open Source Risk Engine Dynamic Initial Margin and Margin Value Adjustment Conclusion and Next Steps 2017 Quaternion Risk Management Ltd. Roland Lichters 35

Conclusion ORE is available now, free, open source 2017 Quaternion Risk Management Ltd. Roland Lichters 36

Conclusion ORE is available now, free, open source ORE provides exposure simulation and almost all XVAs 2017 Quaternion Risk Management Ltd. Roland Lichters 37

Conclusion ORE is available now, free, open source ORE provides exposure simulation and almost all XVAs Next: complete asset class coverage, extend the analytics scope 2017 Quaternion Risk Management Ltd. Roland Lichters 38

Conclusion ORE is available now, free, open source ORE provides exposure simulation and almost all XVAs Next: complete asset class coverage, extend the analytics scope Get it, use it, comment on it, add to it 2017 Quaternion Risk Management Ltd. Roland Lichters 39

Next Step: Q1 Release 1 Equity products 2 Inflation products 3 Market Risk Sensitivity analysis Stress testing Parametric and Historical Simulation VaR/Expected Shortfall 2017 Quaternion Risk Management Ltd. Roland Lichters 40

Thank you 2017 Quaternion Risk Management Ltd. Roland Lichters 41

Firm locations and details Quaternion Risk Management is based in four locations: Ireland London USA Germany 54 Fitzwilliam Square, 29th floor 24th floor Maurenbrecherstrasse 16 Dublin 2, Canada Square, World Financial Centre, 47803 Krefeld, Ireland, Canary Wharf, 200 Vesey Street, Germany. London E14 5DY. NY 10281-1004. +353 1 678 7922 +44 2077121645 +1 646 952 8799 +49 2151 9284 800 quaternion.com Quaternion is a sponsor of opensourcerisk.org along with Columbia University and Tullet Prebon Information DISCLAIMER: This document is presented on the basis of information that is not publicly available. Quaternion is not liable for its contents. The presentation is for the named recipient only and is private, confidential and commercially sensitive. 2017 Quaternion Risk Management Ltd. Roland Lichters 42