Outline. GPU for Finance SciFinance SciFinance CUDA Risk Applications Testing. Conclusions. Monte Carlo PDE

Size: px
Start display at page:

Download "Outline. GPU for Finance SciFinance SciFinance CUDA Risk Applications Testing. Conclusions. Monte Carlo PDE"

Transcription

1

2 Outline GPU for Finance SciFinance SciFinance CUDA Risk Applications Testing Monte Carlo PDE Conclusions 2

3 Why GPU for Finance? Need for effective portfolio/risk management solutions Accurately measuring, managing and hedging derivatives risk exposure in a timely fashion is a primary objective for financial institutions. Fast, accurate derivative pricing models are therefore of key importance GPU-enabled pricing models offer: Accurate derivatives valuation (Reduced reliance on approximations) Broader scenario analysis Alternative or multiple risk assessment and methodologies Real-time risk management Huge reduction in datacenter footprint and power consumed 3

4 GPU Deployment in Finance 4

5 CUDA development approaches Hand-coding pricing model in CUDA Requires CUDA programming expertise Re-thinking pricing model implementation, and experimentation Re-assess underlying numerical routines and methodologies Automatically generate CUDA-enabled pricing model source code Harness the benefits of GPU computing without manual porting of each model to CUDA C/C++ Follows the best practice guidelines for CUDA C/C++ 5

6 SciFinance Overview Automatically generates C/C++ pricing model source code from concise, high-level model specifications NVIDIA GPU (CUDA C/C++) and multi-core CPU (OpenMP) support SciFinance is not a scripting language for assembling a set of black-box components Stand alone cross-platform C/C++ code Support for any financial derivative valued using any system of partial differential equations (PDEs, Finite Differences) or stochastic differential equations (SDEs, Monte Carlo simulations) SciFinance has been developed over 15 years with the input and guidance of practitioners at top tier institutions worldwide SciFinance generated pricing model source code is yours in perpetuity No run-time licenses or links to vendor binary libraries 6

7 SciFinance Description SciFinance is a flexible/extensible financial language/compiler with a high-level, keyword rich language End users have full modeling control over: Contract terms Instrument features Underlying dynamics Numerical routines and methodologies No imposed data model Hundreds of example model specifications included, covering all asset classes and popular models, all of which are completely customizable and composable SciCalibrator is a cross asset calibration framework for generating C/C++ model calibration routines 7

8 SciPDE features Any number of PDEs, arbitrary dimensionality Fast Craig-Sneyd ADI solvers Any linear PDE s and PIDE s - many non-linear e.g., transaction costs and HJB (in development) Complete control over discretizations, grid building, boundary conditions, etc Sensitivity measures calculated on any model parameter (FD or automatic differentiation of pricing PDE) 8

9 SciMC features Arbitrary form and number of stochastic processes Expressed as SDEs (stochastic differential equations) May include state-dependent parameters and jumps (arbitrary distributions) Sensitivity functions for any parameter of SDEs Finite Difference standard Hybrid FD-Likelihood method American/Bermudan exercise Choice of high-quality (pass TestU01 and DIEHARD statistical test suites) pseudo- random number generators Quasi-random number generators (Sobol, Faure, Halton) 9

10 SciFinance Cross Asset Support Convertible Bonds Cross Currency Hybrid Instruments Equity Interest Rate FX Credit Commodity Energy SciFinance 10

11 SciFinance Work Flow example.s (SciFinance specification, ASPEN) (* European option *) der[v,t] + 1/2 sigma^2 S^2 der[v,{s,2}] + (r-q) S der[v,s] - r V = 0; Payoff[Max[K-S,0]]; Output[V, S=Spot]; ASPEN Specification language Mathematica-like syntax High level description Direct SDE/PDE expressions Access external proprietary functions/classes Synthesized C/C++ code has NO EXTERNAL DEPENDENCIES NO BINARIES, pure source code Compile on ANY TARGET MACHINE with any C/C++ compiler *.cpp/.cu *.h *.vcproj, *.sln Makefile *.Main.cpp *.xml C/C++ (CUDA C/C++, OpenMP) source code Build scripts test harness Configuration/ Interface info 11

12 SciFinance code integration *.cpp *.h C/C++ source code *.xml Configuration/ Interface info SciPython SciNET SciCOM SciJava SciXLL.Net wrapper (managed code) COM wrapper Excel Add-In (XLL) Java wrapper (JNI) Python wrapper (Python C API) C#, Java, Python test harnesses MS Excel spreadsheets Build scripts 12

13 SciFinance - CUDA Code Synthesis automatically generates CUDA pricing and risk model source code Create an ASPEN specification for the pricing model Synthesize the serial source code and test it Add keyword CUDA to the specification Re-synthesize to get CUDA-enabled code No CUDA/parallel programming expertise is required 13

14 SciFinance CUDA-enabled pricing models Features: Cross-platform (MS Windows, Linux and OS X) Support CUDA Compute Capability 1.x, 2.x and 3.x Multi-GPU support via OpenMP threading Mixed single/double precision or full double precision Typical CUDA accelerations: Monte Carlo pricing models: 20X* - 60X* faster than CPU code (single GPU, double precision) PDE pricing models: 10X* - 40X* faster than CPU code (single GPU, double precision) * 4 core Intel Xeon W5580@3.2GHz vs 1 NVIDIA Tesla K20 (Kepler) 14

15 Example GPU risk computation : PFE Portfolio of 1000 swaps 1 -> 20yr maturities Mixture of Vanilla, CMS/Libor, and CMS/CMS 2yr, 5yr, 10yr CMS, random start dates 60 Counterparties - 1 to 50 swaps per counterparty Half subject to netting agreements, half not Evolution under multi-factor Gaussian model 95% PFE daily for 1 month, then weekly for 1 year Full double precision: 50X* for paths > 1024 Mixed single/double precision: 90X* for paths > 1024 * 4 core Intel Xeon W5580@3.2GHz vs 1 NVIDIA Tesla K20 (Kepler) 15

16 Benchmarking: Dell Workstation 1 GPU Hardware specifications: Dell Precision T5500 NVIDIA Tesla K20 (Kepler), 1 GPU Intel Xeon W5580 (4 3.2 GHz Testing environment: Windows 7 Enterprise 64-bit MS Visual C (2008 SP1) 64-bit CUDA bit Timing for the entire pricer code (initialization + memory transfers + GPU kernels) Full double precision code Error-Correcting Code (ECC) memory is ON 16

17 Monte Carlo Basket Option with Greeks 10 assets Deltas and diagonal Gammas Monte Carlo, Sobol sequence 17

18 Monte Carlo Callable Range Accrual Note Two-factor LIBOR market Model Monte Carlo, Sobol sequence Regression dominates Valuation dominates 18

19 Misc Monte Carlo Model Results CPU CPU 19X CPU 21X 30X GPU GPU GPU 19

20 PDE: The challenges 1D PDEs: Already very fast on the CPU: <1ms for Crank-Nicolson/Penalty Method American option solution. Finite difference schemes -> low order banded matrix. Discrete path dependency, e.g. Asian, soft call, range accrual features add additional pseudo-dimensions, PDE unchanged. Multi-D PDEs: ADI (Alternating Direction Implicit) usually optimal. Reduces to a series of 1D banded matrices. For ADI parallelization in the 2 nd, 3 rd, dimension and/or path quasi-dimensions is trivial BUT This easy parallelization is usually insufficient for an architecture like CUDA which requires 1000 s of threads for optimal performance. Must parallelize the basic 1D banded solver itself in addition to the multi-d and path factors. Possibilities include Cyclic Reduction and Recursive Doubling solvers (designed for fine-grained parallelism). 20

21 3D PDE examples Algorithm: Predictor-Corrector ADI (Craig-Sneyd) 2nd order accuracy, unconditional stability Any positive definite correlation matrix Non-uniform (conforming) grids via coordinate transformations 21

22 PDE Three Asset Option ADI Penalty Method for American exercise Grid dimensions 22

23 PDE Cancellable Knockout PRDC Swap Gaussian IR Lognormal FX Term structure of vols Speedup (X) 1 GPU vs 1 CPU core Number of grid points for the FX exchange rate Number of grid points for each interest rate factor 23

24 Conclusions State-of-the art solution for derivatives management: Automated CUDA programming for derivatives pricing models Faster derivatives pricing and risk management Energy Efficient: huge reduction in datacenter footprint and power consumed Cost effective technologies Higher performance/price ratio than for a CPU cluster 24

25 SciFinance evaluation SciFinance evaluations are available Test the performance of your own GPU-enabled pricing models and the ease with which they can be developed with SciFinance SciComp Sales Representative (Europe) Dick Verkerk 25

Outline. GPU for Finance SciFinance SciFinance CUDA Risk Applications Workstation Testing. Enterprise Testing Dell and NVIDIA solutions Conclusions

Outline. GPU for Finance SciFinance SciFinance CUDA Risk Applications Workstation Testing. Enterprise Testing Dell and NVIDIA solutions Conclusions Outline GPU for Finance SciFinance SciFinance CUDA Risk Applications Workstation Testing Monte Carlo PDE Enterprise Testing Dell and NVIDIA solutions Conclusions 2 Why GPU for Finance? Need for effective

More information

Numerix Pricing with CUDA. Ghali BOUKFAOUI Numerix LLC

Numerix Pricing with CUDA. Ghali BOUKFAOUI Numerix LLC Numerix Pricing with CUDA Ghali BOUKFAOUI Numerix LLC What is Numerix? Started in 1996 Roots in pricing exotic derivatives Sophisticated models CrossAsset product Excel and SDK for pricing Expanded into

More information

Financial Mathematics and Supercomputing

Financial Mathematics and Supercomputing GPU acceleration in early-exercise option valuation Álvaro Leitao and Cornelis W. Oosterlee Financial Mathematics and Supercomputing A Coruña - September 26, 2018 Á. Leitao & Kees Oosterlee SGBM on GPU

More information

Financial Computing with Python

Financial Computing with Python Introduction to Financial Computing with Python Matthieu Mariapragassam Why coding seems so easy? But is actually not Sprezzatura : «It s an art that doesn t seem to be an art» - The Book of the Courtier

More information

WHITE PAPER THINKING FORWARD ABOUT PRICING AND HEDGING VARIABLE ANNUITIES

WHITE PAPER THINKING FORWARD ABOUT PRICING AND HEDGING VARIABLE ANNUITIES WHITE PAPER THINKING FORWARD ABOUT PRICING AND HEDGING VARIABLE ANNUITIES We can t solve problems by using the same kind of thinking we used when we created them. Albert Einstein As difficult as the recent

More information

Pricing Early-exercise options

Pricing Early-exercise options Pricing Early-exercise options GPU Acceleration of SGBM method Delft University of Technology - Centrum Wiskunde & Informatica Álvaro Leitao Rodríguez and Cornelis W. Oosterlee Lausanne - December 4, 2016

More information

Accelerating Quantitative Financial Computing with CUDA and GPUs

Accelerating Quantitative Financial Computing with CUDA and GPUs Accelerating Quantitative Financial Computing with CUDA and GPUs NVIDIA GPU Technology Conference San Jose, California Gerald A. Hanweck, Jr., PhD CEO, Hanweck Associates, LLC Hanweck Associates, LLC 30

More information

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

Hedging Strategy Simulation and Backtesting with DSLs, GPUs and the Cloud Hedging Strategy Simulation and Backtesting with DSLs, GPUs and the Cloud GPU Technology Conference 2013 Aon Benfield Securities, Inc. Annuity Solutions Group (ASG) This document is the confidential property

More information

Financial Risk Modeling on Low-power Accelerators: Experimental Performance Evaluation of TK1 with FPGA

Financial Risk Modeling on Low-power Accelerators: Experimental Performance Evaluation of TK1 with FPGA Financial Risk Modeling on Low-power Accelerators: Experimental Performance Evaluation of TK1 with FPGA Rajesh Bordawekar and Daniel Beece IBM T. J. Watson Research Center 3/17/2015 2014 IBM Corporation

More information

Accelerating Financial Computation

Accelerating Financial Computation Accelerating Financial Computation Wayne Luk Department of Computing Imperial College London HPC Finance Conference and Training Event Computational Methods and Technologies for Finance 13 May 2013 1 Accelerated

More information

Monte-Carlo Pricing under a Hybrid Local Volatility model

Monte-Carlo Pricing under a Hybrid Local Volatility model Monte-Carlo Pricing under a Hybrid Local Volatility model Mizuho International plc GPU Technology Conference San Jose, 14-17 May 2012 Introduction Key Interests in Finance Pricing of exotic derivatives

More information

Implementing Models in Quantitative Finance: Methods and Cases

Implementing Models in Quantitative Finance: Methods and Cases Gianluca Fusai Andrea Roncoroni Implementing Models in Quantitative Finance: Methods and Cases vl Springer Contents Introduction xv Parti Methods 1 Static Monte Carlo 3 1.1 Motivation and Issues 3 1.1.1

More information

Handbook of Financial Risk Management

Handbook of Financial Risk Management Handbook of Financial Risk Management Simulations and Case Studies N.H. Chan H.Y. Wong The Chinese University of Hong Kong WILEY Contents Preface xi 1 An Introduction to Excel VBA 1 1.1 How to Start Excel

More information

F1 Acceleration for Montecarlo: financial algorithms on FPGA

F1 Acceleration for Montecarlo: financial algorithms on FPGA F1 Acceleration for Montecarlo: financial algorithms on FPGA Presented By Liang Ma, Luciano Lavagno Dec 10 th 2018 Contents Financial problems and mathematical models High level synthesis Optimization

More information

Stochastic Grid Bundling Method

Stochastic Grid Bundling Method Stochastic Grid Bundling Method GPU Acceleration Delft University of Technology - Centrum Wiskunde & Informatica Álvaro Leitao Rodríguez and Cornelis W. Oosterlee London - December 17, 2015 A. Leitao &

More information

HPC IN THE POST 2008 CRISIS WORLD

HPC IN THE POST 2008 CRISIS WORLD GTC 2016 HPC IN THE POST 2008 CRISIS WORLD Pierre SPATZ MUREX 2016 STANFORD CENTER FOR FINANCIAL AND RISK ANALYTICS HPC IN THE POST 2008 CRISIS WORLD Pierre SPATZ MUREX 2016 BACK TO 2008 FINANCIAL MARKETS

More information

Barrier Option. 2 of 33 3/13/2014

Barrier Option. 2 of 33 3/13/2014 FPGA-based Reconfigurable Computing for Pricing Multi-Asset Barrier Options RAHUL SRIDHARAN, GEORGE COOKE, KENNETH HILL, HERMAN LAM, ALAN GEORGE, SAAHPC '12, PROCEEDINGS OF THE 2012 SYMPOSIUM ON APPLICATION

More information

Reconfigurable Acceleration for Monte Carlo based Financial Simulation

Reconfigurable Acceleration for Monte Carlo based Financial Simulation Reconfigurable Acceleration for Monte Carlo based Financial Simulation G.L. Zhang, P.H.W. Leong, C.H. Ho, K.H. Tsoi, C.C.C. Cheung*, D. Lee**, Ray C.C. Cheung*** and W. Luk*** The Chinese University of

More information

New GPU Pricing Library

New GPU Pricing Library New GPU Pricing Library! Client project for Bank Sarasin! Highly regarded sustainable Swiss private bank! Founded 1841! Core business! Asset management! Investment advisory! Investment funds! Structured

More information

NAG for HPC in Finance

NAG for HPC in Finance NAG for HPC in Finance John Holden Jacques Du Toit 3 rd April 2014 Computation in Finance and Insurance, post Napier Experts in numerical algorithms and HPC services Agenda NAG and Financial Services Why

More information

Domokos Vermes. Min Zhao

Domokos Vermes. Min Zhao Domokos Vermes and Min Zhao WPI Financial Mathematics Laboratory BSM Assumptions Gaussian returns Constant volatility Market Reality Non-zero skew Positive and negative surprises not equally likely Excess

More information

Contents Critique 26. portfolio optimization 32

Contents Critique 26. portfolio optimization 32 Contents Preface vii 1 Financial problems and numerical methods 3 1.1 MATLAB environment 4 1.1.1 Why MATLAB? 5 1.2 Fixed-income securities: analysis and portfolio immunization 6 1.2.1 Basic valuation of

More information

Algorithmic Differentiation of a GPU Accelerated Application

Algorithmic Differentiation of a GPU Accelerated Application of a GPU Accelerated Application Numerical Algorithms Group 1/31 Disclaimer This is not a speedup talk There won t be any speed or hardware comparisons here This is about what is possible and how to do

More information

Ultimate Control. Maxeler RiskAnalytics

Ultimate Control. Maxeler RiskAnalytics Ultimate Control Maxeler RiskAnalytics Analytics Risk Financial markets are rapidly evolving. Data volume and velocity are growing exponentially. To keep ahead of the competition financial institutions

More information

PRICING AMERICAN OPTIONS WITH LEAST SQUARES MONTE CARLO ON GPUS. Massimiliano Fatica, NVIDIA Corporation

PRICING AMERICAN OPTIONS WITH LEAST SQUARES MONTE CARLO ON GPUS. Massimiliano Fatica, NVIDIA Corporation PRICING AMERICAN OPTIONS WITH LEAST SQUARES MONTE CARLO ON GPUS Massimiliano Fatica, NVIDIA Corporation OUTLINE! Overview! Least Squares Monte Carlo! GPU implementation! Results! Conclusions OVERVIEW!

More information

Monte Carlo Methods in Financial Engineering

Monte Carlo Methods in Financial Engineering Paul Glassennan Monte Carlo Methods in Financial Engineering With 99 Figures

More information

Accelerated Option Pricing Multiple Scenarios

Accelerated Option Pricing Multiple Scenarios Accelerated Option Pricing in Multiple Scenarios 04.07.2008 Stefan Dirnstorfer (stefan@thetaris.com) Andreas J. Grau (grau@thetaris.com) 1 Abstract This paper covers a massive acceleration of Monte-Carlo

More information

Monte Carlo Methods in Finance

Monte Carlo Methods in Finance Monte Carlo Methods in Finance Peter Jackel JOHN WILEY & SONS, LTD Preface Acknowledgements Mathematical Notation xi xiii xv 1 Introduction 1 2 The Mathematics Behind Monte Carlo Methods 5 2.1 A Few Basic

More information

Benchmarks Open Questions and DOL Benchmarks

Benchmarks Open Questions and DOL Benchmarks Benchmarks Open Questions and DOL Benchmarks Iuliana Bacivarov ETH Zürich Outline Benchmarks what do we need? what is available? Provided benchmarks in a DOL format Open questions Map2Mpsoc, 29-30 June

More information

Numerical software & tools for the actuarial community

Numerical software & tools for the actuarial community Numerical software & tools for the actuarial community John Holden john.holden@nag.co.uk 20 th March 203 The Actuarial Profession Staple Inn Hall Experts in numerical algorithms and HPC services Agenda

More information

Computational Methods in Finance

Computational Methods in Finance Chapman & Hall/CRC FINANCIAL MATHEMATICS SERIES Computational Methods in Finance AM Hirsa Ltfi) CRC Press VV^ J Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor &

More information

AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Academic Press is an Imprint of Elsevier

AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Academic Press is an Imprint of Elsevier Computational Finance Using C and C# Derivatives and Valuation SECOND EDITION George Levy ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO

More information

NUMERICAL AND SIMULATION TECHNIQUES IN FINANCE

NUMERICAL AND SIMULATION TECHNIQUES IN FINANCE NUMERICAL AND SIMULATION TECHNIQUES IN FINANCE Edward D. Weinberger, Ph.D., F.R.M Adjunct Assoc. Professor Dept. of Finance and Risk Engineering edw2026@nyu.edu Office Hours by appointment This half-semester

More information

Modeling multi-factor financial derivatives by a Partial Differential Equation approach with efficient implementation on Graphics Processing Units

Modeling multi-factor financial derivatives by a Partial Differential Equation approach with efficient implementation on Graphics Processing Units Modeling multi-factor financial derivatives by a Partial Differential Equation approach with efficient implementation on Graphics Processing Units by Duy Minh Dang A thesis submitted in conformity with

More information

Introducing LIST. Riccardo Bernini Head of Financial Engineering Enrico Melchioni Head of International Sales. March 2018

Introducing LIST. Riccardo Bernini Head of Financial Engineering Enrico Melchioni Head of International Sales. March 2018 Introducing LIST Riccardo Bernini Head of Financial Engineering Enrico Melchioni Head of International Sales March 2018 LIST in a Nutshell LIST is a privately owned company founded in Pisa in 1985 LIST

More information

Multi-level Stochastic Valuations

Multi-level Stochastic Valuations Multi-level Stochastic Valuations 14 March 2016 High Performance Computing in Finance Conference 2016 Grigorios Papamanousakis Quantitative Strategist, Investment Solutions Aberdeen Asset Management 0

More information

Implementing hybrid PDE solvers

Implementing hybrid PDE solvers Implementing hybrid PDE solvers George Sarailidis and Manolis Vavalis ECE Department, University of Thessaly November 14, 2015 Outline Objectives State-of-the-art Basic Implementations Experimentation

More information

Basel 2.5 Model Approval in Germany

Basel 2.5 Model Approval in Germany Basel 2.5 Model Approval in Germany Ingo Reichwein Q RM Risk Modelling Department Bundesanstalt für Finanzdienstleistungsaufsicht (BaFin) Session Overview 1. Setting Banks, Audit Approach 2. Results IRC

More information

Session 174 PD, Nested Stochastic Modeling Research. Moderator: Anthony Dardis, FSA, CERA, FIA, MAAA. Presenters: Runhuan Feng, FSA, CERA

Session 174 PD, Nested Stochastic Modeling Research. Moderator: Anthony Dardis, FSA, CERA, FIA, MAAA. Presenters: Runhuan Feng, FSA, CERA Session 174 PD, Nested Stochastic Modeling Research Moderator: Anthony Dardis, FSA, CERA, FIA, MAAA Presenters: Anthony Dardis, FSA, CERA, FIA, MAAA Runhuan Feng, FSA, CERA SOA Antitrust Disclaimer SOA

More information

SPEED UP OF NUMERIC CALCULATIONS USING A GRAPHICS PROCESSING UNIT (GPU)

SPEED UP OF NUMERIC CALCULATIONS USING A GRAPHICS PROCESSING UNIT (GPU) SPEED UP OF NUMERIC CALCULATIONS USING A GRAPHICS PROCESSING UNIT (GPU) NIKOLA VASILEV, DR. ANATOLIY ANTONOV Eurorisk Systems Ltd. 31, General Kiselov str. BG-9002 Varna, Bulgaria Phone +359 52 612 367

More information

we def ine co nsulti n g MoCA Valuation out of the box

we def ine co nsulti n g MoCA Valuation out of the box we def ine co nsulti n g MoCA Valuation out of the box Easy and flexible to use Compact valuation of structured financial derivatives Structured financial derivatives are important tools when applying

More information

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

Market Risk Analysis Volume IV. Value-at-Risk Models Market Risk Analysis Volume IV Value-at-Risk Models Carol Alexander John Wiley & Sons, Ltd List of Figures List of Tables List of Examples Foreword Preface to Volume IV xiii xvi xxi xxv xxix IV.l Value

More information

Towards efficient option pricing in incomplete markets

Towards efficient option pricing in incomplete markets Towards efficient option pricing in incomplete markets GPU TECHNOLOGY CONFERENCE 2016 Shih-Hau Tan 1 2 1 Marie Curie Research Project STRIKE 2 University of Greenwich Apr. 6, 2016 (University of Greenwich)

More information

Liangzi AUTO: A Parallel Automatic Investing System Based on GPUs for P2P Lending Platform. Gang CHEN a,*

Liangzi AUTO: A Parallel Automatic Investing System Based on GPUs for P2P Lending Platform. Gang CHEN a,* 2017 2 nd International Conference on Computer Science and Technology (CST 2017) ISBN: 978-1-60595-461-5 Liangzi AUTO: A Parallel Automatic Investing System Based on GPUs for P2P Lending Platform Gang

More information

for Finance Python Yves Hilpisch Koln Sebastopol Tokyo O'REILLY Farnham Cambridge Beijing

for Finance Python Yves Hilpisch Koln Sebastopol Tokyo O'REILLY Farnham Cambridge Beijing Python for Finance Yves Hilpisch Beijing Cambridge Farnham Koln Sebastopol Tokyo O'REILLY Table of Contents Preface xi Part I. Python and Finance 1. Why Python for Finance? 3 What Is Python? 3 Brief History

More information

With Examples Implemented in Python

With Examples Implemented in Python SABR and SABR LIBOR Market Models in Practice With Examples Implemented in Python Christian Crispoldi Gerald Wigger Peter Larkin palgrave macmillan Contents List of Figures ListofTables Acknowledgments

More information

Cross Asset CVA Application

Cross Asset CVA Application Cross Asset CVA Application Roland Lichters Quaternion Risk Management IKB QuantLib User Meeting IKB Deutsche Industriebank AG, 13-14 November 2013 1 About Quaternion Specialist risk consulting and solutions,

More information

GPU-Accelerated Quant Finance: The Way Forward

GPU-Accelerated Quant Finance: The Way Forward GPU-Accelerated Quant Finance: The Way Forward NVIDIA GTC Express Webinar Gerald A. Hanweck, Jr., PhD CEO, Hanweck Associates, LLC Hanweck Associates, LLC 30 Broad St., 42nd Floor New York, NY 10004 www.hanweckassoc.com

More information

ARM. A commodity risk management system.

ARM. A commodity risk management system. ARM A commodity risk management system. 1. ARM: A commodity risk management system. ARM is a complete suite allowing the management of market risk and operational risk for commodities derivatives. 4 main

More information

Applications of Dataflow Computing to Finance. Florian Widmann

Applications of Dataflow Computing to Finance. Florian Widmann Applications of Dataflow Computing to Finance Florian Widmann Overview 1. Requirement Shifts in the Financial World 2. Case 1: Real Time Margin 3. Case 2: FX Option Monitor 4. Conclusions Market Context

More information

Near Real-Time Risk Simulation of Complex Portfolios on Heterogeneous Computing Systems with OpenCL

Near Real-Time Risk Simulation of Complex Portfolios on Heterogeneous Computing Systems with OpenCL Near Real-Time Risk Simulation of Complex Portfolios on Heterogeneous Computing Systems with OpenCL Javier Alejandro Varela, Norbert Wehn Microelectronic Systems Design Research Group University of Kaiserslautern,

More information

Math Option pricing using Quasi Monte Carlo simulation

Math Option pricing using Quasi Monte Carlo simulation . Math 623 - Option pricing using Quasi Monte Carlo simulation Pratik Mehta pbmehta@eden.rutgers.edu Masters of Science in Mathematical Finance Department of Mathematics, Rutgers University This paper

More information

Assessing Solvency by Brute Force is Computationally Tractable

Assessing Solvency by Brute Force is Computationally Tractable O T Y H E H U N I V E R S I T F G Assessing Solvency by Brute Force is Computationally Tractable (Applying High Performance Computing to Actuarial Calculations) E D I N B U R M.Tucker@epcc.ed.ac.uk Assessing

More information

Many-core Accelerated LIBOR Swaption Portfolio Pricing

Many-core Accelerated LIBOR Swaption Portfolio Pricing 2012 SC Companion: High Performance Computing, Networking Storage and Analysis Many-core Accelerated LIBOR Swaption Portfolio Pricing Jörg Lotze, Paul D. Sutton, Hicham Lahlou Xcelerit Dunlop House, Fenian

More information

HIGH PERFORMANCE COMPUTING IN THE LEAST SQUARES MONTE CARLO APPROACH. GILLES DESVILLES Consultant, Rationnel Maître de Conférences, CNAM

HIGH PERFORMANCE COMPUTING IN THE LEAST SQUARES MONTE CARLO APPROACH. GILLES DESVILLES Consultant, Rationnel Maître de Conférences, CNAM HIGH PERFORMANCE COMPUTING IN THE LEAST SQUARES MONTE CARLO APPROACH GILLES DESVILLES Consultant, Rationnel Maître de Conférences, CNAM Introduction Valuation of American options on several assets requires

More information

Remarks on stochastic automatic adjoint differentiation and financial models calibration

Remarks on stochastic automatic adjoint differentiation and financial models calibration arxiv:1901.04200v1 [q-fin.cp] 14 Jan 2019 Remarks on stochastic automatic adjoint differentiation and financial models calibration Dmitri Goloubentcev, Evgeny Lakshtanov Abstract In this work, we discuss

More information

MFE Course Details. Financial Mathematics & Statistics

MFE Course Details. Financial Mathematics & Statistics MFE Course Details Financial Mathematics & Statistics Calculus & Linear Algebra This course covers mathematical tools and concepts for solving problems in financial engineering. It will also help to satisfy

More information

BlitzTrader. Next Generation Algorithmic Trading Platform

BlitzTrader. Next Generation Algorithmic Trading Platform BlitzTrader Next Generation Algorithmic Trading Platform Introduction TRANSFORM YOUR TRADING IDEAS INTO ACTION... FAST TIME TO THE MARKET BlitzTrader is next generation, most powerful, open and flexible

More information

Pricing Asian Options

Pricing Asian Options Pricing Asian Options Maplesoft, a division of Waterloo Maple Inc., 24 Introduction his worksheet demonstrates the use of Maple for computing the price of an Asian option, a derivative security that has

More information

Local Volatility FX Basket Option on CPU and GPU

Local Volatility FX Basket Option on CPU and GPU www.nag.co.uk Local Volatility FX Basket Option on CPU and GPU Jacques du Toit 1 and Isabel Ehrlich 2 Abstract We study a basket option written on 10 FX rates driven by a 10 factor local volatility model.

More information

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

New Developments in MATLAB for Computational Finance Kevin Shea, CFA Principal Software Developer MathWorks New Developments in MATLAB for Computational Finance Kevin Shea, CFA Principal Software Developer MathWorks 2014 The MathWorks, Inc. 1 Who uses MATLAB in Financial Services? The top 15 assetmanagement

More information

Analytics in 10 Micro-Seconds Using FPGAs. David B. Thomas Imperial College London

Analytics in 10 Micro-Seconds Using FPGAs. David B. Thomas Imperial College London Analytics in 10 Micro-Seconds Using FPGAs David B. Thomas dt10@imperial.ac.uk Imperial College London Overview 1. The case for low-latency computation 2. Quasi-Random Monte-Carlo in 10us 3. Binomial Trees

More information

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

Economic Scenario Generator: Applications in Enterprise Risk Management. Ping Sun Executive Director, Financial Engineering Numerix LLC Economic Scenario Generator: Applications in Enterprise Risk Management Ping Sun Executive Director, Financial Engineering Numerix LLC Numerix makes no representation or warranties in relation to information

More information

Market Risk Analysis Volume II. Practical Financial Econometrics

Market Risk Analysis Volume II. Practical Financial Econometrics Market Risk Analysis Volume II Practical Financial Econometrics Carol Alexander John Wiley & Sons, Ltd List of Figures List of Tables List of Examples Foreword Preface to Volume II xiii xvii xx xxii xxvi

More information

INTEREST RATES AND FX MODELS

INTEREST RATES AND FX MODELS INTEREST RATES AND FX MODELS 7. Risk Management Andrew Lesniewski Courant Institute of Mathematical Sciences New York University New York March 8, 2012 2 Interest Rates & FX Models Contents 1 Introduction

More information

Financial Models with Levy Processes and Volatility Clustering

Financial Models with Levy Processes and Volatility Clustering Financial Models with Levy Processes and Volatility Clustering SVETLOZAR T. RACHEV # YOUNG SHIN ICIM MICHELE LEONARDO BIANCHI* FRANK J. FABOZZI WILEY John Wiley & Sons, Inc. Contents Preface About the

More information

Callability Features

Callability Features 2 Callability Features 2.1 Introduction and Objectives In this chapter, we introduce callability which gives one party in a transaction the right (but not the obligation) to terminate the transaction early.

More information

Option Pricing with the SABR Model on the GPU

Option Pricing with the SABR Model on the GPU Option Pricing with the SABR Model on the GPU Yu Tian, Zili Zhu, Fima C. Klebaner and Kais Hamza School of Mathematical Sciences, Monash University, Clayton, VIC3800, Australia Email: {yu.tian, fima.klebaner,

More information

GRAPHICAL ASIAN OPTIONS

GRAPHICAL ASIAN OPTIONS GRAPHICAL ASIAN OPTIONS MARK S. JOSHI Abstract. We discuss the problem of pricing Asian options in Black Scholes model using CUDA on a graphics processing unit. We survey some of the issues with GPU programming

More information

Efficient Reconfigurable Design for Pricing Asian Options

Efficient Reconfigurable Design for Pricing Asian Options Efficient Reconfigurable Design for Pricing Asian Options Anson H.T. Tse, David B. Thomas, K.H. Tsoi, Wayne Luk Department of Computing Imperial College London, UK {htt08,dt10,khtsoi,wl}@doc.ic.ac.uk ABSTRACT

More information

S4199 Effortless GPU Models for Finance

S4199 Effortless GPU Models for Finance ADAPTIV Risk management, risk-based pricing and operational solutions S4199 Effortless GPU Models for Finance 26 th March 2014 Ben Young Senior Software Engineer SUNGARD SunGard is one of the world s leading

More information

Math Computational Finance Option pricing using Brownian bridge and Stratified samlping

Math Computational Finance Option pricing using Brownian bridge and Stratified samlping . Math 623 - Computational Finance Option pricing using Brownian bridge and Stratified samlping Pratik Mehta pbmehta@eden.rutgers.edu Masters of Science in Mathematical Finance Department of Mathematics,

More information

Pricing Financial Derivatives with High Performance Finite Difference Solvers on GPUs

Pricing Financial Derivatives with High Performance Finite Difference Solvers on GPUs Pricing Financial Derivatives with High Performance Finite Difference Solvers on GPUs Daniel Egloff 30 th April, 2011 The calculation of the fair value and the sensitivity parameters of a financial derivative

More information

2.1 Mathematical Basis: Risk-Neutral Pricing

2.1 Mathematical Basis: Risk-Neutral Pricing Chapter Monte-Carlo Simulation.1 Mathematical Basis: Risk-Neutral Pricing Suppose that F T is the payoff at T for a European-type derivative f. Then the price at times t before T is given by f t = e r(t

More information

Callable Bond and Vaulation

Callable Bond and Vaulation and Vaulation Dmitry Popov FinPricing http://www.finpricing.com Summary Callable Bond Definition The Advantages of Callable Bonds Callable Bond Payoffs Valuation Model Selection Criteria LGM Model LGM

More information

Calibration Lecture 4: LSV and Model Uncertainty

Calibration Lecture 4: LSV and Model Uncertainty Calibration Lecture 4: LSV and Model Uncertainty March 2017 Recap: Heston model Recall the Heston stochastic volatility model ds t = rs t dt + Y t S t dw 1 t, dy t = κ(θ Y t ) dt + ξ Y t dw 2 t, where

More information

Modelling Counterparty Exposure and CVA An Integrated Approach

Modelling Counterparty Exposure and CVA An Integrated Approach Swissquote Conference Lausanne Modelling Counterparty Exposure and CVA An Integrated Approach Giovanni Cesari October 2010 1 Basic Concepts CVA Computation Underlying Models Modelling Framework: AMC CVA:

More information

Credit Risk Modeling Using Excel and VBA with DVD O. Gunter Loffler Peter N. Posch. WILEY A John Wiley and Sons, Ltd., Publication

Credit Risk Modeling Using Excel and VBA with DVD O. Gunter Loffler Peter N. Posch. WILEY A John Wiley and Sons, Ltd., Publication Credit Risk Modeling Using Excel and VBA with DVD O Gunter Loffler Peter N. Posch WILEY A John Wiley and Sons, Ltd., Publication Preface to the 2nd edition Preface to the 1st edition Some Hints for Troubleshooting

More information

2nd Order Sensis: PnL and Hedging

2nd Order Sensis: PnL and Hedging 2nd Order Sensis: PnL and Hedging Chris Kenyon 19.10.2017 Acknowledgements & Disclaimers Joint work with Jacques du Toit. The views expressed in this presentation are the personal views of the speaker

More information

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

Modern Derivatives. Pricing and Credit. Exposure Anatysis. Theory and Practice of CSA and XVA Pricing, Exposure Simulation and Backtest! Modern Derivatives Pricing and Credit Exposure Anatysis Theory and Practice of CSA and XVA Pricing, Exposure Simulation and Backtest!ng Roland Lichters, Roland Stamm, Donal Gallagher Contents List of Figures

More information

Puttable Bond and Vaulation

Puttable Bond and Vaulation and Vaulation Dmitry Popov FinPricing http://www.finpricing.com Summary Puttable Bond Definition The Advantages of Puttable Bonds Puttable Bond Payoffs Valuation Model Selection Criteria LGM Model LGM

More information

Managing the Newest Derivatives Risks

Managing the Newest Derivatives Risks Managing the Newest Derivatives Risks Michel Crouhy IXIS Corporate and Investment Bank / A subsidiary of NATIXIS Derivatives 2007: New Ideas, New Instruments, New markets NYU Stern School of Business,

More information

Computational Finance in CUDA. Options Pricing with Black-Scholes and Monte Carlo

Computational Finance in CUDA. Options Pricing with Black-Scholes and Monte Carlo Computational Finance in CUDA Options Pricing with Black-Scholes and Monte Carlo Overview CUDA is ideal for finance computations Massive data parallelism in finance Highly independent computations High

More information

Brooks, Introductory Econometrics for Finance, 3rd Edition

Brooks, Introductory Econometrics for Finance, 3rd Edition P1.T2. Quantitative Analysis Brooks, Introductory Econometrics for Finance, 3rd Edition Bionic Turtle FRM Study Notes Sample By David Harper, CFA FRM CIPM and Deepa Raju www.bionicturtle.com Chris Brooks,

More information

Interest Rate Bermudan Swaption Valuation and Risk

Interest Rate Bermudan Swaption Valuation and Risk Interest Rate Bermudan Swaption Valuation and Risk Dmitry Popov FinPricing http://www.finpricing.com Summary Bermudan Swaption Definition Bermudan Swaption Payoffs Valuation Model Selection Criteria LGM

More information

ARM. A commodity risk management system.

ARM. A commodity risk management system. ARM A commodity risk management system. 1. ARM: A commodity risk management system. ARM is a complete suite allowing the management of market risk and operational risk for commodities derivatives. 4 main

More information

Math Computational Finance Double barrier option pricing using Quasi Monte Carlo and Brownian Bridge methods

Math Computational Finance Double barrier option pricing using Quasi Monte Carlo and Brownian Bridge methods . Math 623 - Computational Finance Double barrier option pricing using Quasi Monte Carlo and Brownian Bridge methods Pratik Mehta pbmehta@eden.rutgers.edu Masters of Science in Mathematical Finance Department

More information

Monte Carlo Methods in Structuring and Derivatives Pricing

Monte Carlo Methods in Structuring and Derivatives Pricing Monte Carlo Methods in Structuring and Derivatives Pricing Prof. Manuela Pedio (guest) 20263 Advanced Tools for Risk Management and Pricing Spring 2017 Outline and objectives The basic Monte Carlo algorithm

More information

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

RunnING Risk on GPUs. Answering The Computational Challenges of a New Environment. Tim Wood Market Risk Management Trading - ING Bank 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

More information

Rapid computation of prices and deltas of nth to default swaps in the Li Model

Rapid computation of prices and deltas of nth to default swaps in the Li Model Rapid computation of prices and deltas of nth to default swaps in the Li Model Mark Joshi, Dherminder Kainth QUARC RBS Group Risk Management Summary Basic description of an nth to default swap Introduction

More information

Interest Rate Cancelable Swap Valuation and Risk

Interest Rate Cancelable Swap Valuation and Risk Interest Rate Cancelable Swap Valuation and Risk Dmitry Popov FinPricing http://www.finpricing.com Summary Cancelable Swap Definition Bermudan Swaption Payoffs Valuation Model Selection Criteria LGM Model

More information

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

Point De Vue: Operational challenges faced by asset managers to price OTC derivatives Laurent Thuilier, SGSS. Avec le soutien de Point De Vue: Operational challenges faced by asset managers to price OTC derivatives 2012 01 Laurent Thuilier, SGSS Avec le soutien de JJ Mois Année Operational challenges faced by asset managers to price

More information

Automatic Generation and Optimisation of Reconfigurable Financial Monte-Carlo Simulations

Automatic Generation and Optimisation of Reconfigurable Financial Monte-Carlo Simulations Automatic Generation and Optimisation of Reconfigurable Financial Monte-Carlo s David B. Thomas, Jacob A. Bower, Wayne Luk {dt1,wl}@doc.ic.ac.uk Department of Computing Imperial College London Abstract

More information

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

FINANCIAL DERIVATIVE. INVESTMENTS An Introduction to Structured Products. Richard D. Bateson. Imperial College Press. University College London, UK FINANCIAL DERIVATIVE INVESTMENTS An Introduction to Structured Products Richard D. Bateson University College London, UK Imperial College Press Contents Preface Guide to Acronyms Glossary of Notations

More information

Numerix Economic Scenario Generator

Numerix Economic Scenario Generator Numerix Economic Scenario Generator Transparency and Flexibility in an Easy-to-Use Application Risk neutral and real world scenarios Built on the world s largest capital market model library Easy to use

More information

In physics and engineering education, Fermi problems

In physics and engineering education, Fermi problems A THOUGHT ON FERMI PROBLEMS FOR ACTUARIES By Runhuan Feng In physics and engineering education, Fermi problems are named after the physicist Enrico Fermi who was known for his ability to make good approximate

More information

Monte Carlo Simulations

Monte Carlo Simulations Monte Carlo Simulations Lecture 1 December 7, 2014 Outline Monte Carlo Methods Monte Carlo methods simulate the random behavior underlying the financial models Remember: When pricing you must simulate

More information

Proxy Techniques for Estimating Variable Annuity Greeks. Presenter(s): Aubrey Clayton, Aaron Guimaraes

Proxy Techniques for Estimating Variable Annuity Greeks. Presenter(s): Aubrey Clayton, Aaron Guimaraes Sponsored by and Proxy Techniques for Estimating Variable Annuity Greeks Presenter(s): Aubrey Clayton, Aaron Guimaraes Proxy Techniques for Estimating Variable Annuity Greeks Aubrey Clayton, Moody s Analytics

More information

Interest Rate Models

Interest Rate Models Interest Rate Models Marco Marchioro www.marchioro.org October 6 th, 2012 Introduction to exotic derivatives 1 Details Università degli Studi di Milano-Bicocca Facoltà di Economia Corso di laurea Magistrale

More information

The Pennsylvania State University. The Graduate School. Department of Industrial Engineering AMERICAN-ASIAN OPTION PRICING BASED ON MONTE CARLO

The Pennsylvania State University. The Graduate School. Department of Industrial Engineering AMERICAN-ASIAN OPTION PRICING BASED ON MONTE CARLO The Pennsylvania State University The Graduate School Department of Industrial Engineering AMERICAN-ASIAN OPTION PRICING BASED ON MONTE CARLO SIMULATION METHOD A Thesis in Industrial Engineering and Operations

More information