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

Similar documents
Credit Valuation Adjustment

Fundamental Review Trading Books

CVA in Energy Trading

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

Traded Risk & Regulation

Derivative Contracts and Counterparty Risk

CVA. What Does it Achieve?

From Financial Risk Management. Full book available for purchase here.

Risk e-learning. Modules Overview.

Pillar 3 Regulatory Disclosure (UK) As at 31 December 2012

Preparing for the Fundamental Review of the Trading Book (FRTB)

Regulatory Capital Disclosures Report. For the Quarterly Period Ended March 31, 2014

Pricing Counterparty Risk in Today s Market: Current Practices

Calculating Counterparty Exposures for CVA

Counterparty Credit Risk

Traded Risk & Regulation

Modelling Counterparty Exposure and CVA An Integrated Approach

Razor Risk Market Risk Overview

Basel 2.5 Model Approval in Germany

Strategies For Managing CVA Exposures

In various tables, use of - indicates not meaningful or not applicable.

FINCAD s Flexible Valuation Adjustment Solution

Basel III Pillar 3 disclosures 2014

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

Pillar 3 Disclosure (UK)

Challenges in Counterparty Credit Risk Modelling

Market Risk Capital Disclosures Report. For the Quarterly Period Ended June 30, 2014

Basel II Pillar 3 disclosures

Basel II Pillar 3 disclosures 6M 09

CVA Capital Charges: A comparative analysis. November SOLUM FINANCIAL financial.com

Multi-level Stochastic Valuations

WHITE PAPER THINKING FORWARD ABOUT PRICING AND HEDGING VARIABLE ANNUITIES

Basel II Pillar 3 disclosures

Market Risk Disclosures For the Quarterly Period Ended September 30, 2014

Subject: NVB reaction to BCBS265 on the Fundamental Review of the trading book 2 nd consultative document

Market Risk Disclosures For the Quarter Ended March 31, 2013

In various tables, use of indicates not meaningful or not applicable.

Implementing a cross asset class CVA and xva Framework

Hedging Strategy Simulation and Backtesting with DSLs, GPUs and the Cloud

Basel II to Basel III The Way forward

HPC IN THE POST 2008 CRISIS WORLD

Risk Management anil Financial Institullons^

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

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

Centrality-based Capital Allocations *

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

The Basel Committee s December 2009 Proposals on Counterparty Risk

Liability hedging in a world without risk-free assets

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

CVA Risk Management Working Group Report -Towards the Introduction of Market-based CVA-

Risk Sensitive Capital Treatment for Clearing Member Exposure to Central Counterparty Default Funds

The Impact of Initial Margin

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

CVA / DVA / FVA. a comprehensive approach under stressed markets. Gary Wong

ORE Applied: Dynamic Initial Margin and MVA

Monte-Carlo Pricing under a Hybrid Local Volatility model

Advances in Valuation Adjustments. Topquants Autumn 2015

REGULATORY CAPITAL DISCLOSURES MARKET RISK PILLAR 3 REPORT

Challenges in Managing Counterparty Credit Risk

Supplementary Notes on the Financial Statements (continued)

Bank of Japan Workshop - Credit Value Adjustment Trends. 14 th June 2010

Hedging CVA. Jon Gregory ICBI Global Derivatives. Paris. 12 th April 2011

RISKMETRICS. Dr Philip Symes

Interim financial statements (unaudited)

Oracle Financial Services Market Risk User Guide

Managing Capital and Stress Testing for Traded Book Assets. Abinash Arulanandam, Alexis Hamar and Roshni Patel Thursday 4 October 2018

Funding Value Adjustments and Discount Rates in the Valuation of Derivatives

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

Handbook of Financial Risk Management

On Credit Valuation Adjustment (CVA) under Article 456(2) of Regulation (EU) No 575/2013 (Capital Requirements Regulation CRR)

A Bloomberg Professional Services Offering ADJUST YOUR PERSPECTIVE.

Oracle Financial Services Market Risk User Guide

Effective Computation & Allocation of Enterprise Credit Capital for Large Retail and SME portfolios

Applications of Dataflow Computing to Finance. Florian Widmann

Advanced Concepts in Capturing Market Risk: A Supervisory Perspective

CREDIT RATINGS. Rating Agencies: Moody s and S&P Creditworthiness of corporate bonds

Counterparty Risk and CVA Survey Current market practice around counterparty risk regulation, CVA management and funding

Contents. Supplementary Notes on the Financial Statements (unaudited)

Accelerating Quantitative Financial Computing with CUDA and GPUs

Specific Issues of Economic Capital Management: Economic vs. Regulatory Capital and Business Risk

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

Quantitative and Qualitative Disclosures about Market Risk.

Citi UK FSA regulated legal vehicles. Pillar 3 Disclosures

Model Risk Assessment

Credit Risk Management: A Primer. By A. V. Vedpuriswar

Basel III Pillar 3 disclosures

Quantifying credit risk in a corporate bond

Managing Counterparty Credit Risk

Guideline. Capital Adequacy Requirements (CAR) Chapter 4 - Settlement and Counterparty Risk. Effective Date: November 2017 / January

BBVA COMPASS BANCSHARES, INC. MARKET RISK DISCLOSURES

Supplementary Regulatory Capital Disclosure

2006 Bank Indonesia Seminar on Financial Stability. Bali, September 2006

Standard Initial Margin Model (SIMM) How to validate a global regulatory risk model

TopQuants. Integration of Credit Risk and Interest Rate Risk in the Banking Book

REGULATORY CAPITAL DISCLOSURES MARKET RISK PILLAR 3 REPORT

FRTB: an industry perspective on the IT changes needed October 2015

Citigroup Global Markets Limited Pillar 3 Disclosures

Transcription:

RunnING Risk on GPUs Answering The Computational Challenges of a New Environment Tim Wood Market Risk Management Trading - ING Bank Nvidia GTC Express September 19 th 2012 www.ing.com

ING Bank Part of ING Group Leading Commercial Bank in the Benelux and CEE Top 10 global player in Structured Finance Around 68,000 employees worldwide Approximately 37 million customers ING Bank Headquarters Amsterdam, Netherlands ING Home Markets ING Commercial Banking presence Alliance Banking (with SEB) 2

Agenda Section 1 Financial market risk managment for trading, and how the crisis of 2008 changed the landscape Section 2 The computational challenges of a new environment and how they can be addressed with GPUs Section 3 The challenges of taking GPUs into production 3

Financial Market Risk Managment for Trading Quantifying and managing financial exposure to market risk factors Value at risk Sensitivity analysis Scenario analysis and stress testing Valuation and P/L decomposition Valuation and risk managing complex instruments 4

Banking Crisis of 2008 Implications of the Crisis The realisation of previously hidden risks drove the failures The revalation of hidden risk demands that banks must perform more and deeper analysis to quantify and manage these Changed all valuation and risk management models Regulatory Response Introduction of new risk measures to better capture formally hidden exposures Complex models, much more computation The underlying technology must support business requirements Growing workloads may be unachieveable with traditional infra 5

GPUs in Computational Finance Many specific cases Solving relevant calcs Pricing specific instruments In Risk Management we are interested portfolio level analysis Many positions Different products types Different asset classes Double Precision: NVIDIA GPU Double Precision: x86 CPU NVIDIA GPU (ECC off) x86 CPU 6

The Birth of GPU Computing at ING Execution Time (m) Case: Portfolio Analysis for HVaR Plain vanilla and Exotic Portfolios 260 historical scenarios 500 7h 26 min 450 400 Hardware 2 GPUs Cost $1200 each In-house Installation Findings Data to computation ratio important Very promising results 350 300 250 200 150 100 50 0 8.5 min 4.3 min CPU GPU 2 GPUs 7

Section 2 Computational Challenges of a New Market Environment 8

Challenges Basel 2.5: Stressed VaR, Incremental Risk Charge (IRC) Credit Value Adjustment (CVA) Basel 3: VaR of CVA Multicurve framework

Incremental Risk Charge (IRC) Part of Basel 2.5 Capture losses from the credit migration or default of issuers of bonds in trading books Characteristics* Emphasis on Stressed Markets Long liquidity horizon Very high confidence level (99.9%) Constant level of Risk * Guidelines for computing capital for incremental risk in the trading book, bcbs159 2009 Y 1 Per issuer r = c X r c. r c Z c = def Per Liquidity horizon Per year 10

Incremental Risk Charge (IRC) AAA 1 AA 3 A BBB BB 2 3 B CCC 4 D 1 2 4 Rebalance Rebalance Rebalance Rebalance 1 2 3 4 1 2 3 4 Issuer starts with rating A Upgrade to AAA, with positive spread impact. Downgrade to BBB, with negative spread impact. No migration, no financial impact. Default impact = EAD - Fx(1 LGD). Issuer starts with rating CCC Default impact = EAD - Fx(1 LGD) No migration, no impact. Upgrade to B, positive impact. Second default, impact = EAD - Fx(1 LGD).

Incremental Risk Charge (IRC) 12

IRC GPU Performance Execution Time (s) 20M Simulated Capital Horizon (1yr) Multiple Liquidity Horizons 1000+ Issuers 800 Billion trials for base run Sensitivities per issuer Breakdown per Location Industry sector Geographic region Approx 1,200 nightly runs 350 300 250 200 150 100 50 0 5 min 1m 15 sec 5 sec 1 CPU Core Quad Core CPU GPU (c1060) 13

Credit Value Adjustment (CVA) Credit value adjustment (CVA) is the difference between the risk-free portfolio value and the true portfolio market value that takes into account the possibility of a counterparty s default. In other words, CVA is the market value of counterparty credit risk. Essentially two-sided: Both the counterparty and Bank can default. DVA is the CVA that the counterparty has on us. Two-sided or Bilateral CVA is thus BVA = CVA DVA NPV Risky derivative = NPV Risk-free derivative - BVA CVA magnitude depends on The probability of default of the counterparty The possible exposure in the future (only if it is positive!) The loss given default (loss after recovery) By definition the most complex derivative risk a bank has to manage. Function of the underlying risk-factors of the derivative (both current mark to market and future profile ), the credit risk of the counterparty, bank and their correlation. 14

Credit Value Adjustment (CVA) 15

CVA on the GPU High dimensionality of CVA calculation offers many options for parallelisation Many contracts Many Scenarios, even more threads Time Nature of CVA as application lends itself to distribution Task granularity at netting set level 16

CVA Wrong/Right Way Risk Wrong way risk Where counterparty exposure is adversely correlated with the credit quality of that counterparty Wrong way risk Example A cross-currency swap with an emerging market counterparty, where the counterparty pays foreign currency and receives local currency. Right way risk Example Call option on a company stock issued by an oil producer in times of increasing oil prices Right/Wrong Way Risk is essentially the correlation of the credit quality of the bank or counterparty with the underlying exposure 17

Impact of WWR & RWR Exposure (mln) Exposure (mln) Wrong way risk If exposure correlates with the credit worthiness of the counterparty or bank Right Way Risk If the counterparty credit risk is correlated with bank Portfolio I Portfolio I 120 100 80 EPE WWR EPE ENE WWR ENE 400 350 300 250 EPE WWR EPE ENE WWR ENE 60 200 40 150 20 100 0 50 0-20 -50-40 Nov-2011 Nov-2012 Nov-2013 Nov-2014 Nov-2015 Nov-2016 Nov-2017-100 Nov-2011 Nov-2016 Nov-2021 Nov-2026 Nov-2031 Nov-2036 18

CVA Sensitivities A single CVA figure is not very useful Need sensitivies for active management Two approaches Brute force, effective but not elegant AD / Pathwise Greeks

CVA GPU Performance Execution Time (m) Portfolio A: Roughly 50K instruments All market conventions, netting and collateral rules >30 currencies >10,000 counterparties Model: Multi-currency Hull and White Model Monte-Carlo pricing with 3K paths Exposure grid with close to 100 points Calculation: For one CVA run with 50K instruments 3.75 billion pricing evaluations For a full CVA run with all sensitivities need hundreds of billions of valuations For an HVaR run with 50K instruments 13 million pricing calls 140 120 100 80 60 40 20 0 120 min 4 min 2 min CPU Grid 1 GPU 2 GPUs 20

Section 3 Taking GPUs into Production

The Story Doesn t End With GPUs We have seen that GPUs can indeed answer the computational challenges for Risk Management such as IRC and CVA Moving from a PoC to Prod presents new challenges Locality of Data Locality of Compute Interactions with other systems Latencies Formatting translations Let s revisit our examples... 22

GPU Cases: Case 1 IRC Calculation: Small in/output, massive, predictable, distributable Implementation: Quantile sampling implies centralisation... GPU Impl: Avoid above issues, performance User reqs: EoD batch + ad-hoc analysis no real time Input reqs: Generated in daily preprocessing batch 23

GPU Cases: Case 2 CVA Calculation: Large in/output, complex modelling, massive computation Implementation: Naturally distributable, nature of CVA implies some centralisation User reqs: EoD batch, FO quoting Input regs: Many data sources, constantly changing, must be up to date 24

Summary With the introduction of GPUs, the availability of affordable raw-compute is no longer an issue. However, realising the true potential of GPU computing in the context of large and potentially globally distributed infrastructure can be a challenge. We must keep Amdahl s law in mind.

Conclusion GPU computing can equip banks in a challenging new market environment and for the accompanying regulatory demands Many more applications for this and other massively-multi-core computing in our industry GPU computing using Nvidia GPUs and CUDA has been a game changer for market risk management at ING Bank and we expect this trend to continue. 26

Q&A 27