From CFD to computational finance (and back again?)



Similar documents
From CFD to computational finance (and back again?)

HPCFinance: New Thinking in Finance. Calculating Variable Annuity Liability Greeks Using Monte Carlo Simulation

Monte Carlo Methods in Finance

Monte Carlo Methods and Models in Finance and Insurance

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem

STCE. Fast Delta-Estimates for American Options by Adjoint Algorithmic Differentiation

HPC enabling of OpenFOAM R for CFD applications

Hedging Exotic Options

The Heston Model. Hui Gong, UCL ucahgon/ May 6, 2014

Master of Mathematical Finance: Course Descriptions

Pricing Barrier Option Using Finite Difference Method and MonteCarlo Simulation

Black-Scholes Equation for Option Pricing

Multilevel Monte Carlo Simulation for Options Pricing Pei Yuen Lee MSc Computing and Management Session 2010/2011

Risk-Neutral Valuation of Participating Life Insurance Contracts

MONTE-CARLO SIMULATION OF AMERICAN OPTIONS WITH GPUS. Julien Demouth, NVIDIA

Finite Differences Schemes for Pricing of European and American Options

The Black-Scholes pricing formulas

Simulating Stochastic Differential Equations

Stephane Crepey. Financial Modeling. A Backward Stochastic Differential Equations Perspective. 4y Springer

Moreover, under the risk neutral measure, it must be the case that (5) r t = µ t.

LECTURE 9: A MODEL FOR FOREIGN EXCHANGE

University of Piraeus. M.Sc. in Banking and Finance

OPTION PRICING FOR WEIGHTED AVERAGE OF ASSET PRICES

Explicit Option Pricing Formula for a Mean-Reverting Asset in Energy Markets

PyFR: Bringing Next Generation Computational Fluid Dynamics to GPU Platforms

Parallel Computing for Option Pricing Based on the Backward Stochastic Differential Equation

Rolf Poulsen, Centre for Finance, University of Gothenburg, Box 640, SE Gothenburg, Sweden.

Monte Carlo Simulation

Pricing and hedging American-style options: a simple simulation-based approach

Affine-structure models and the pricing of energy commodity derivatives

SOLVING PARTIAL DIFFERENTIAL EQUATIONS RELATED TO OPTION PRICING WITH NUMERICAL METHOD. KENNEDY HAYFORD, (B.Sc. Mathematics)

3 Results. σdx. df =[µ 1 2 σ 2 ]dt+ σdx. Integration both sides will form

Pricing and calibration in local volatility models via fast quantization

Mathematical Finance

Monte-Carlo Option Pricing. Victor Podlozhnyuk

Applied Computational Economics and Finance

Lecture 15. Sergei Fedotov Introduction to Financial Mathematics. Sergei Fedotov (University of Manchester) / 6

Generation Asset Valuation with Operational Constraints A Trinomial Tree Approach

ARBITRAGE-FREE OPTION PRICING MODELS. Denis Bell. University of North Florida

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

3. Monte Carlo Simulations. Math6911 S08, HM Zhu

OpenFOAM Optimization Tools

Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies

Review of Basic Options Concepts and Terminology

Accelerating CFD using OpenFOAM with GPUs

GPUs for Scientific Computing

BROWNIAN MOTION DEVELOPMENT FOR MONTE CARLO METHOD APPLIED ON EUROPEAN STYLE OPTION PRICE FORECASTING

How the Greeks would have hedged correlation risk of foreign exchange options

Pricing American Option on Currency market using Stochastic Mesh method: The tale of GBM and Stochastic Volatility model

On Black-Scholes Equation, Black- Scholes Formula and Binary Option Price

Market Risk Analysis. Quantitative Methods in Finance. Volume I. The Wiley Finance Series

Heavy Parallelization of Alternating Direction Schemes in Multi-Factor Option Valuation Models. Cris Doloc, Ph.D.

Sensitivity analysis of European options in jump-diffusion models via the Malliavin calculus on the Wiener space

第 9 讲 : 股 票 期 权 定 价 : B-S 模 型 Valuing Stock Options: The Black-Scholes Model

The Behavior of Bonds and Interest Rates. An Impossible Bond Pricing Model. 780 w Interest Rate Models

Valuing equity-based payments

Lecture 11: The Greeks and Risk Management

The Methodology for the Mid-Term Forecasting of the Financial Results of Firms Belikov V.V., Gataullina R.I., Tregub I.V.

The Black-Scholes-Merton Approach to Pricing Options

Pricing American Options using Monte Carlo Methods

Stochastic Gradient Method: Applications

Valuation of Asian Options

Optimization under uncertainty: modeling and solution methods

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

Vanna-Volga Method for Foreign Exchange Implied Volatility Smile. Copyright Changwei Xiong January last update: Nov 27, 2013

CS 522 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options

The Impact of Stochastic Volatility on Pricing, Hedging, and Hedge Efficiency of Variable Annuity Guarantees

Lecture 10. Finite difference and finite element methods. Option pricing Sensitivity analysis Numerical examples

Monte Carlo simulations and option pricing

Numerical Methods for Pricing Exotic Options

Hedging Options In The Incomplete Market With Stochastic Volatility. Rituparna Sen Sunday, Nov 15

Masters of Engineering in MIE Certificate Program in Financial Engineering

CUDA programming on NVIDIA GPUs

Return to Risk Limited website: Overview of Options An Introduction

QUANTIZED INTEREST RATE AT THE MONEY FOR AMERICAN OPTIONS

Pricing Parisian Options

Hedging Barriers. Liuren Wu. Zicklin School of Business, Baruch College (

Betting on Volatility: A Delta Hedging Approach. Liang Zhong

Quanto Adjustments in the Presence of Stochastic Volatility

An Incomplete Market Approach to Employee Stock Option Valuation

FRIEDRICH-ALEXANDER-UNIVERSITÄT ERLANGEN-NÜRNBERG

Applications to Computational Financial and GPU Computing. May 16th. Dr. Daniel Egloff

Numerical Methods for Option Pricing

A Genetic Algorithm to Price an European Put Option Using the Geometric Mean Reverting Model

TABLE OF CONTENTS. A. Put-Call Parity 1 B. Comparing Options with Respect to Style, Maturity, and Strike 13

Numerical Methods For Derivative Pricing with Applications to Barrier Options

Pricing Dual Spread Options by the Lie-Trotter Operator Splitting Method

NVIDIA CUDA Software and GPU Parallel Computing Architecture. David B. Kirk, Chief Scientist

European Call Option Pricing using the Adomian Decomposition Method

Hardware-Aware Analysis and. Presentation Date: Sep 15 th 2009 Chrissie C. Cui

Static Hedging and Model Risk for Barrier Options

The Black-Scholes Formula

Open issues in equity derivatives modelling

Transcription:

computational finance p. 1/17 From CFD to computational finance (and back again?) Mike Giles mike.giles@maths.ox.ac.uk Oxford University Mathematical Institute Oxford-Man Institute of Quantitative Finance 21st Century Challenges in Computational Engineering and Science Princeton University, Nov 19-21, 2009

computational finance p. 2/17 Computational Finance Options pricing investment banks Monte Carlo methods (60%) PDEs / finite difference methods (30%) other semi-analytic methods (10%) High-frequency algorithmic trading hedge funds

computational finance p. 3/17 Computational Finance Might seem a bad time to be in this business, but as an academic it s fine: clear need for better models regulators (and internal risk management) are demanding more simulation computational finance accounts for 10% of Top500 supercomputers still plenty of MSc students willing/able to fund themselves only problem is lack of research funding

computational finance p. 4/17 Computational Finance Computational finance is where CFD was 20-25 years ago not many academics working on numerical methods codes are small my biggest is probably 1000 lines still lots of low-hanging fruit in banks, each product group often has its own codes; consolidation into a single corporate Monte Carlo system for both London and New York is underway

computational finance p. 5/17 SDEs in Finance In computational finance, stochastic differential equations are used to model the behaviour of stocks interest rates exchange rates weather electricity/gas demand crude oil prices... The stochastic term accounts for the uncertainty of unpredictable day-to-day events.

computational finance p. 6/17 SDEs in Finance Examples: Geometric Brownian motion (Black-Scholes model for stock prices) ds = r S dt + σ S dw Cox-Ingersoll-Ross model (interest rates) dr = α(b r) dt + σ r dw Heston stochastic volatility model (stock prices) ds = r S dt + V S dw 1 dv = λ (σ 2 V ) dt + ξ V dw 2 with correlation ρ between dw 1 and dw 2

computational finance p. 7/17 Generic Problem Stochastic differential equation with general drift and volatility terms: ds(t) = a(s,t) dt + b(s,t) dw(t) W(t) is a Wiener variable with the properties that for any q<r<s<t, W(t) W(s) is Normally distributed with mean 0 and variance t s, independent of W(r) W(q). In many finance applications, we want to compute the expected value of an option dependent on the terminal state P f(s(t))

Standard MC Approach Euler discretisation with timestep h: Ŝ n+1 = Ŝn + a(ŝn,t n )h + b(ŝn,t n ) W n In the scalar case, each W n is a Normal random variable with mean 0 and variance h. Simplest estimator for expected payoff E[P] is an average from N independent path simulations: Ŷ = N 1 N i=1 P (i) May seem very simple-minded but it s hard to improve on the Euler discretisation, and many codes are this simple. computational finance p. 8/17

computational finance p. 9/17 The Greeks As well as estimating the value V =E[P], also important to estimate various first and second derivatives for hedging and risk management: = V S 0, Γ = 2 V S 2 0, Vega = V σ In some cases, can need 100 or more first order derivatives, so use of adjoints is natural

computational finance p. 10/17 Smoking Adjoints (2006) First significant paper was with Paul Glasserman from Columbia Business School: Smoking Adjoints: fast Monte Carlo Greeks in Risk, a monthly publication for the finance industry explains how to use discrete adjoints for an important application which requires lots of Greeks Yves Achdou and Olivier Pironneau had previously used adjoints for finance PDEs, but the technique hadn t been transferred over to the Monte Carlo side absolutely nothing novel from an academic point of view, but has had an impact in the industry I think a number of banks now use it

computational finance p. 11/17 Smoking Adjoints The adjoint implementation is based on pathwise sensitivity analysis which relies on the identity [ ] P θ E[P] = E θ but this breaks down if P is discontinuous. There are some other ways of treating this case, but they don t have efficient adjoint implementations. I ve recently developed a new way of handling the discontinuity which does retain an efficient adjoint implementation.

computational finance p. 12/17... and for my next trick Coming from CFD, the use of adjoints was quite natural What else is there? Multigrid! But there s no iterative solver here instead just keep the ideas of a nested sequence of grids fine grid accuracy at coarse grid cost

computational finance p. 13/17 Multilevel Monte Carlo Consider multiple sets of simulations with different timesteps h l = 2 l T, l = 0, 1,...,L, and payoff P l E[ P L ] = E[ P 0 ] + L l=1 E[ P l P l 1 ] Expected value is same aim is to reduce variance of estimator for a fixed computational cost. Key point: approximate E[ P l P l 1 ] using N l simulations with P l and P l 1 obtained using same Brownian path. Ŷ l = N 1 l N l i=1 ( (i) P l ) (i) P l 1

computational finance p. 14/17 Multilevel Monte Carlo This has led to a number of papers, covering both applications and numerical analysis. Main point is a big reduction in computational cost for many problems. To achieve a root-mean-square accuracy of ε: cost of standard approach is O(ε 3 ) cost of multilevel approach is O(ε 2 ) cost is further reduced using quasi-random numbers

computational finance p. 15/17 Back to CFD? One new project uses multilevel Monte Carlo for oil reservoir and nuclear waste repository simulation, (κ(x) p ) = 0 where log κ is Normally distributed with a given spatial correlation. Some people use polynomial chaos or Karhunen-Loeve expansions, but we think multilevel Monte Carlo may be better when there is minimal spatial correlation.

computational finance p. 16/17 Back to CFD? Another project concerns the use of GPUs for HPC current NVIDIA GPUs have up to 240 cores; next generation has 512 1 GPU is roughly 10 faster than 2 CPUs, with similar cost and power consumption programmed in C with some extensions ideal for trivially-parallel Monte Carlo simulations also very effective for finite difference applications new project addresses the needs of unstructured grid applications through a general-purpose open-source library and program transformation tools

computational finance p. 17/17 Further information Web: www.maths.ox.ac.uk/ gilesm/ Email: mike.giles@maths.ox.ac.uk... or talk to me here about GPU project