CS 179 Lecture 17 Options Pricing.

Slides:



Advertisements
Similar presentations
Bounding Option Prices Using Semidefinite Programming S ACHIN J AYASWAL Department of Management Sciences University of Waterloo, Canada Project work for.
Advertisements

Option Valuation The Black-Scholes-Merton Option Pricing Model
Chapter 12: Basic option theory
A Simple Simulation to Value Options Douglas Ulmer University of Arizona AWS 2002.
Valuation of real options in Corporate Finance
Mathematics in Finance Numerical solution of free boundary problems: pricing of American options Wil Schilders (June 2, 2005)
By: Piet Nova The Binomial Tree Model.  Important problem in financial markets today  Computation of a particular integral  Methods of valuation 
Derivatives Inside Black Scholes
© 2004 South-Western Publishing 1 Chapter 6 The Black-Scholes Option Pricing Model.
4.1 Option Prices: numerical approach Lecture Pricing: 1.Binomial Trees.
A Finite Differencing Solution for Evaluating European Prices Computational Finance ~cs 757 Project # CFWin03-33 May 30, 2003 Presented by: Vishnu K Narayanasami.
Chapter 20 Basic Numerical Procedures
Fast Convolution Algorithm Alexander Eydeland, Daniel Mahoney.
Options and Speculative Markets Introduction to option pricing André Farber Solvay Business School University of Brussels.
How to prepare yourself for a Quants job in the financial market?   Strong knowledge of option pricing theory (quantitative models for pricing and hedging)
Options and Speculative Markets Inside Black Scholes Professor André Farber Solvay Business School Université Libre de Bruxelles.
Pricing an Option Monte Carlo Simulation. We will explore a technique, called Monte Carlo simulation, to numerically derive the price of an option or.
Drake DRAKE UNIVERSITY Fin 288 Valuing Options Using Binomial Trees.
19-0 Finance Chapter Nineteen Exotic Options.
Derivatives Introduction to option pricing André Farber Solvay Business School University of Brussels.
Investment Analysis and Portfolio Management
By: Brian Scott. Topics Defining a Stochastic Process Geometric Brownian Motion G.B.M. With Jump Diffusion G.B.M with jump diffusion when volatility is.
© 2004 South-Western Publishing 1 Chapter 6 The Black-Scholes Option Pricing Model.
11.1 Options, Futures, and Other Derivatives, 4th Edition © 1999 by John C. Hull The Black-Scholes Model Chapter 11.
Advanced Risk Management I Lecture 6 Non-linear portfolios.
18.1 Options, Futures, and Other Derivatives, 5th edition © 2002 by John C. Hull Numerical Procedures Chapter 18.
Investment Analysis and Portfolio Management Lecture 10 Gareth Myles.
Chapter 10: Options Markets Tuesday March 22, 2011 By Josh Pickrell.
RNGs in options pricing Presented by Yu Zhang. Outline Options  What is option?  Kinds of options  Why options? Options pricing Models Monte Carlo.
A Finite Differencing Solution for Evaluating European Prices Computational Finance ~cs 757 Project # CFWin03-33 May 30, 2003 Presented by: Vishnu K Narayanasami.
1 Derivatives & Risk Management: Part II Models, valuation and risk management.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Book Review: ‘Energy Derivatives: Pricing and Risk Management’ by Clewlow and Strickland, 2000 Anatoliy Swishchuk Math & Comp Lab Dept of Math & Stat,
1 MGT 821/ECON 873 Numerical Procedures. 2 Approaches to Derivatives Valuation How to find the value of an option?  Black-Scholes partial differential.
Valuation of Asian Option Qi An Jingjing Guo. CONTENT Asian option Pricing Monte Carlo simulation Conclusion.
Options An Introduction to Derivative Securities.
Basic Numerical Procedures Chapter 19 1 Options, Futures, and Other Derivatives, 7th Edition, Copyright © John C. Hull 2008.
Basic Numerical Procedure
A Cursory Introduction to Real Options Andrew Brown 5/2/02.
Lecture 1: Introduction to QF4102 Financial Modeling
© The MathWorks, Inc. ® ® Monte Carlo Simulations using MATLAB Vincent Leclercq, Application engineer
© K.Cuthbertson, D. Nitzsche FINANCIAL ENGINEERING: DERIVATIVES AND RISK MANAGEMENT (J. Wiley, 2001) K. Cuthbertson and D. Nitzsche Lecture Asset Price.
Monte-Carlo Simulations Seminar Project. Task  To Build an application in Excel/VBA to solve option prices.  Use a stochastic volatility in the model.
Lecture 8: Finance: GBM model for share prices, futures and options, hedging, and the Black-Scholes equation Outline: GBM as a model of share prices futures.
THE BLACK-SCHOLES PDE FOR PUT OPTION JIRYUNG JEONG DOUG HENDRY QUAN HOANG NGUYEN TRAN.
OPTIONS PRICING AND HEDGING WITH GARCH.THE PRICING KERNEL.HULL AND WHITE.THE PLUG-IN ESTIMATOR AND GARCH GAMMA.ENGLE-MUSTAFA – IMPLIED GARCH.DUAN AND EXTENSIONS.ENGLE.
Numerical Methods for derivatives pricing. 2 American Monte Carlo It’s difficult to price an option with early exercise using Monte Carlo But some options.
Primbs, MS&E Applications of the Linear Functional Form: Pricing Exotics.
BASIC MATHS FOR FINANCE
Learning Objectives LO 1: Explain the basic characteristics and terminology of options. LO 2: Determine the intrinsic value of options at expiration date.
Chapter 19 Monte Carlo Valuation.
The Black-Scholes Model for Option Pricing
Binomial Trees in Practice
Economics-Engineering
Financial Risk Management of Insurance Enterprises
DERIVATIVES: Valuation Methods and Some Extra Stuff
FTCS Explicit Finite Difference Method for Evaluating European Options
Mathematical Finance An Introduction
Jainendra Shandilya, CFA, CAIA
American Equity Option Valuation Practical Guide
Lecture 2 – Monte Carlo method in finance
Monte Carlo Valuation Bahattin Buyuksahin, Celso Brunetti 12/8/2018.
Binomial Trees in Practice
Applied Finance Lectures
Théorie Financière Financial Options
By Harsh Tiwari.
Théorie Financière Financial Options
Numerical Methods in Finance
M.PHIL (MATHEMATICS) By Munir Hussain Supervised By Dr. Muhammad Sabir.
Supervisor: Dr. Ruppa Thulasiram Presenter: Kai Huang
Presentation transcript:

CS 179 Lecture 17 Options Pricing

Computational finance Broad term, can include ideas from machine learning or signals processing. One part of computational finance: How should we price things? How can we efficiently and accurately compute these prices? Often involves looking at market data, which can be significant. Back-testing is a big deal. If you like numerical math & high performance computing, computational finance might be a good field to look into. I’ll actually be working at a high frequency trading company next year because the HPC aspect is interesting. HFT requires large off-line computation as well as low-latency online computation. Get to play with fancy hardware! I don’t actually know much, this lecture is very much a survey of what’s out there.

What is an option? Call/put option - right to buy/sell something at a specific price in a given time period something = asset or security specific price = “striking price” or “exercise price” time period is often a maturity or expiration date basket options: asset is a linear combination of other assets. More complicated to model because higher dimensional space.

European options European options are the simplest form of options. Can only exercise a European option on the expiration date

American options An American option can be exercised at any time between purchase and the expiration date.

Options pricing How much should it cost to buy an option? Example: GOOG currently trades for $540. How much would you pay to be able to sell GOOG for $400 at any point in the next year? Need to make modelling assumptions about behavior of asset prices. What type of option is this?

Formalization St - price of asset at time t, spot price K - striking price T - time of expiration Value of option at maturity? Call option: max(ST- K, 0) Put option: max(K - ST, 0) max is because you don’t need to exercise option Call is max(S-K, 0), because you have right to buy at K but market is at S, so you can resale at S Put is max(K-S), because you can sell something for K rather than S.

American put option pricing by Black-Scholes Geometric brownian motion with parameter sigma r is risk-free return rate. T = .25 represents one quarter K = 10 is strike price (price we can sell at) If spot price is below K, model is linear. As spot prices raises, the probability of getting below 10 decreases so value of option falls. maybe this looks like a boundary value problem American put option pricing by Black-Scholes

Options pricing & GPUs Sometimes options pricing has an analytic (easy to compute) solution. Oftentimes not the case… No closed form for American options under Black-Scholes assumptions. The rest of the lecture is on American options. European put and call options can be analytically calculated using Black-Scholes. requires assumptions that spot price is GBM (no jumps), fixed volatility, no arbitrage, risk-free interest rate, no transaction costs. many models with less assumptions are more accurate but less easy to compute (and no analytic solution)

Options pricing & GPUs 3 widely used schemes to price options (that can’t be analytically priced): Monte Carlo methods Finite differencing (differential equations, Black-Scholes) Binomial option pricing model All 3 ways are very different algorithmically!

Monte Carlo methods Monte Carlo methods approximate difficult to compute statistics by sampling from the generating distribution. Let’s randomly generate asset prices over time. Parallel Forall blog post on Monte Carlo options pricing

Simulated asset prices (from NVIDIA blog post) difference between the plots is volatility Simulated asset prices (from NVIDIA blog post)

Predicting exercise time Besides generating the asset price paths, we also need to predict at which point the option would be exercised for each path. The Longstaff-Schwartz algorithm uses a linear regression at each time-step to decide whether to exercise.

Monte Carlo parallelism Run different path simulations in parallel. Can use cuRAND for path generation and cuSOLVER for linear regressions.

Pricing options with PDEs Can model options price as a PDE in 2 variables: time and asset price. Known boundary conditions at: time=expiration spot price = 0 spot price = ∞ Price is solution to equation at time = 0.

Black-Scholes & American options The Black-Scholes equation dictates how option price changes in time and spot price. Same equation for European and American options. B-S requires some stochastic calculus to derive, not going to go into it. B-S used to compute analytic solution for European options, but boundary conditions are different for American options.

Finite Differencing Finite differencing is a simple way to numerically solve differential equations Discretize the equation and solve on a grid. Replace derivatives with approximations (use Taylor series)

Finite differencing example Compute value at time (n+1) from 3 different locations at time n. This is a sparse matrix multiplication! r depends on grid size in both dimensions. Above is an “explicit” method as time (n+1) depends only on time n. There also implicit schemes that require solving a sparse linear system at both time steps. the convolutions from set 1 were also matrix multiplications

Finite differencing parallelization Perform sparse matrix multiplication or sparse system solving on GPU.

Binomial options pricing model diagram (from Wikipedia) Fewer total nodes than finite differencing grid (but still O(n^2)) Binomial options pricing model diagram (from Wikipedia)

Binomial options pricing A dynamic programming problem with convenient assumptions. At each time step, asset price goes up by factor “u” or down by factor “d”. Let u * d = 1.

Finishing binomial pricing Assign option values to each node at expiration time Work backwards in time to assign each node an option value based on the values of its two children based on interest-discounted expected value. For American option, take max at each node of exercising or keeping option.

Parallelizing binomial pricing Less easy than parallelizing other models because of serial algorithm across times. Can use data parallelism to compute time i prices from time (i+1). Can also use task parallelism to directly compute time (i-1), i directly from (i+1). Each (i-1) node just depends on 4 nodes rather than 2. Repeating work isn’t illegal!

Conclusion GPUs are useful for option pricing and computational finance. Some of these algorithms exhibit “MATLAB-parallelism” Some parts of finance can greatly benefit from the parallel computing ideas we’ve discussed in this course. Hopefully this lecture gave you a pointer in the right direction if you are interested in learning more about these types of algorithms