CS 774 Project: Fall 2009 Version: November 27, 2009

Similar documents
Multi-period mean variance asset allocation: Is it bad to win the lottery?

Hedging Under Jump Diffusions with Transaction Costs. Peter Forsyth, Shannon Kennedy, Ken Vetzal University of Waterloo

Lecture Note 8 of Bus 41202, Spring 2017: Stochastic Diffusion Equation & Option Pricing

Optimal Trade Execution: Mean Variance or Mean Quadratic Variation?

Monte Carlo Simulation of Stochastic Processes

Pricing Methods and Hedging Strategies for Volatility Derivatives

Monte Carlo Simulations

Valuation of Asian Option. Qi An Jingjing Guo

Utility Indifference Pricing and Dynamic Programming Algorithm

Numerical Methods in Option Pricing (Part III)

"Vibrato" Monte Carlo evaluation of Greeks

2.1 Mathematical Basis: Risk-Neutral Pricing

EFFICIENT MONTE CARLO ALGORITHM FOR PRICING BARRIER OPTIONS

PDE Methods for Option Pricing under Jump Diffusion Processes

Exact Sampling of Jump-Diffusion Processes

- 1 - **** d(lns) = (µ (1/2)σ 2 )dt + σdw t

A new PDE approach for pricing arithmetic average Asian options

King s College London

Economathematics. Problem Sheet 1. Zbigniew Palmowski. Ws 2 dw s = 1 t

A Hybrid Importance Sampling Algorithm for VaR

Chapter 15: Jump Processes and Incomplete Markets. 1 Jumps as One Explanation of Incomplete Markets

Definition Pricing Risk management Second generation barrier options. Barrier Options. Arfima Financial Solutions

AMH4 - ADVANCED OPTION PRICING. Contents

Monte Carlo Methods. Prof. Mike Giles. Oxford University Mathematical Institute. Lecture 1 p. 1.

MATH6911: Numerical Methods in Finance. Final exam Time: 2:00pm - 5:00pm, April 11, Student Name (print): Student Signature: Student ID:

Investment strategies and risk management for participating life insurance contracts

Math Computational Finance Barrier option pricing using Finite Difference Methods (FDM)

IEOR E4703: Monte-Carlo Simulation

TEST OF BOUNDED LOG-NORMAL PROCESS FOR OPTIONS PRICING

MATH4143: Scientific Computations for Finance Applications Final exam Time: 9:00 am - 12:00 noon, April 18, Student Name (print):

Simulating Stochastic Differential Equations

Binomial model: numerical algorithm

Monte Carlo Methods for Uncertainty Quantification

CS476/676 Mar 6, Today s Topics. American Option: early exercise curve. PDE overview. Discretizations. Finite difference approximations

Applied Stochastic Processes and Control for Jump-Diffusions

Module 4: Monte Carlo path simulation

Hedging with Life and General Insurance Products

Lecture 11: Ito Calculus. Tuesday, October 23, 12

Risk Neutral Valuation

The Black-Scholes Model

MFE/3F Questions Answer Key

A Moment Matching Approach To The Valuation Of A Volume Weighted Average Price Option

The Black-Scholes Model

Time-consistent mean-variance portfolio optimization: a numerical impulse control approach

Monte Carlo Methods in Financial Engineering

Continuous Time Mean Variance Asset Allocation: A Time-consistent Strategy

MFE/3F Questions Answer Key

Infinite Reload Options: Pricing and Analysis

Financial Mathematics and Supercomputing

2.3 Mathematical Finance: Option pricing

An Introduction to Computational Finance Without Agonizing Pain

Black-Scholes-Merton Model

( ) since this is the benefit of buying the asset at the strike price rather

Valuing Guarantees on Spending Funded by Endowments

NUMERICAL METHODS OF PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS FOR OPTION PRICE

Lattice (Binomial Trees) Version 1.2

King s College London

Stochastic Differential Equations in Finance and Monte Carlo Simulations

Dynamic pricing with diffusion models

The Black-Scholes Model

Chapter 3: Black-Scholes Equation and Its Numerical Evaluation

Effectiveness of CPPI Strategies under Discrete Time Trading

Value at Risk Ch.12. PAK Study Manual

Numerical Methods for Optimal Stochastic Control in Finance

The Effect of Modelling Parameters on the Value of GMWB Guarantees

Help Session 2. David Sovich. Washington University in St. Louis

Monte Carlo Methods in Structuring and Derivatives Pricing

Variable Annuities with Lifelong Guaranteed Withdrawal Benefits

MASM006 UNIVERSITY OF EXETER SCHOOL OF ENGINEERING, COMPUTER SCIENCE AND MATHEMATICS MATHEMATICAL SCIENCES FINANCIAL MATHEMATICS.

MINIMAL PARTIAL PROXY SIMULATION SCHEMES FOR GENERIC AND ROBUST MONTE-CARLO GREEKS

Accelerated Option Pricing Multiple Scenarios

Valuing Early Stage Investments with Market Related Timing Risk

Multilevel Monte Carlo Simulation

CONVERGENCE OF NUMERICAL METHODS FOR VALUING PATH-DEPENDENT OPTIONS USING INTERPOLATION

Lecture 3: Review of mathematical finance and derivative pricing models

Convergence Analysis of Monte Carlo Calibration of Financial Market Models

IEOR E4703: Monte-Carlo Simulation

M.I.T Fall Practice Problems

4. Black-Scholes Models and PDEs. Math6911 S08, HM Zhu

SYSM 6304: Risk and Decision Analysis Lecture 6: Pricing and Hedging Financial Derivatives

Stochastic Modelling in Finance

MONTE CARLO METHODS FOR AMERICAN OPTIONS. Russel E. Caflisch Suneal Chaudhary

Math 416/516: Stochastic Simulation

Option Pricing Models for European Options

A Continuity Correction under Jump-Diffusion Models with Applications in Finance

The Use of Importance Sampling to Speed Up Stochastic Volatility Simulations

Final Exam Key, JDEP 384H, Spring 2006

Simple Robust Hedging with Nearby Contracts

Real-World Quantitative Finance

Continous time models and realized variance: Simulations

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS, STATISTICS & PHYSICS SEMESTER 1 SPECIMEN 2 MAS3904. Stochastic Financial Modelling. Time allowed: 2 hours

Numerical Methods and Volatility Models for Valuing Cliquet Options

"Pricing Exotic Options using Strong Convergence Properties

Derivative Securities Fall 2012 Final Exam Guidance Extended version includes full semester

Hedging Credit Derivatives in Intensity Based Models

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

WITH SKETCH ANSWERS. Postgraduate Certificate in Finance Postgraduate Certificate in Economics and Finance

Optimal Search for Parameters in Monte Carlo Simulation for Derivative Pricing

MAFS Computational Methods for Pricing Structured Products

Extensions to the Black Scholes Model

Transcription:

CS 774 Project: Fall 2009 Version: November 27, 2009 Instructors: Peter Forsyth, paforsyt@uwaterloo.ca Office Hours: Tues: 4:00-5:00; Thurs: 11:00-12:00 Lectures:MWF 3:30-4:20 MC2036 Office: DC3631 CS 774 Web Site: www.student.cs.uwaterloo.ca/ cs774/ Due Date, Project Format This project is due at noon, December 21, in my office. Incompletes will not be given out except in the case of medical problems. Hand in what you have done by the due date. Hard copy must be handed in. Do not email me a pdf file. The entire project must no more than 25 typeset pages, including figures and tables. At least 10pt font must be used. This does not include hard copy of your code. In addition to the above, submit hard copies of your code. Use some formatting tool for your code. On Linux, use something like enscript --fancy-header --pretty-print --landscape --borders --columns=2 Project components This project consists of two parts: a set of assigned tasks where you simulate the expected returns from discrete delta hedging, and a research section where you can carry out an in-depth study of an area of computational finance. I will list a series of suggested topics for the research section, but these are suggestions. You are free to come up with other ideas. Before starting on the research project, you should have handed in the project proposal and received feedback from me. Marking About 50% of the marks for this project will be allocated for the assigned tasks, and 50% for the research section. The project should be typeset, and figures and graphs carefully thought out to present the data and your conclusions in an effective and clear manner. Poor presentation of your work will result in a poor mark. I will put a marking scheme on the Web site for the assigned tasks in a few weeks. In all cases, I expect you to explain your algorithms, and describe what you see in detail. You should also submit hard copies of your code, along with some documentation. Even for the assigned tasks, some of the questions are open-ended, so I will give more marks to answers which demonstrate a thorough investigation of the issues. I expect an in-depth discussion of all the numerical issues, not just simply doing a few tests and presenting the results. I am going to be very particular about this this year. Some of the projects that I have received in past years were very minimal in terms of discussion. This will not go unnoticed this year. Matlab has good plotting facilities. Create figures with Matlab to include in your document. 1

Assigned tasks: simulated hedging The basic idea of these tasks is to simulate a discrete hedging strategy. Assuming that ds = µsdt + σsdz (1) where µ is the drift rate, S is the asset price, σ is the volatility, and dz is the increment of a Wiener process, then the no-arbitrage price of an American option is given by V τ V + rs S + 1 2 σ2 S 2 2 V rv 0 S2 (2) V V (3) where r is the risk-free rate of interest, and where one of (2-3) holds with equality. V is the payoff condition. 1. First, show that you have validated your code for pricing American options using a PDE method (from Assignment 2). Show convergence as the grid/timestep is refined, number of penalty iterations, etc. Note that for the next task, you will need to keep track of whether or not it is optimal to exercise at any given point. 2. Using the data given in Table 1, determine the expected hedging error using discrete delta hedging. First, solve for the value of an American put, backwards in time, and, for each discrete time, and value of the asset, store the value of the option, as well as the option delta, in a large table. Use C-N timestepping, and enforce the early exercise constraint implicitly. The delta can be approximated by finite differences. Discrete delta hedging consists of a portfolio P (t) with components: A short option position V (t). Long α(t)s(t) shares An amount in a risk-free bank account B(t). Intially, we have P (0) = 0 = V (0) + α(0)s(0) + B(0) α = V S B(0) = V (0) α(0)s(0) The hedge is rebalanced at discrete times t i. Defining α i = V S (S i, t i ) V i = V (S i, t i ) then, we have to update the hedge by purchasing α i α i 1 shares at t = t i, so that updating our share position requires S(t i )(α i α i 1 ) 2

in cash, which we borrow from the bank. If t = t i t i 1, then the bank account balance is updated by B i = e r t B i 1 S i (α i α i 1 ) At the instant after the rebalancing time t i, the value of the portfolio is P (t i ) = V (t i ) + α(t i )S(t i ) + B(t i ) Now, simulate the path of an asset price forward in time using a Monte Carlo method. At each discrete hedging interval, update your portfolio, using the current asset price, and the corresponding value of delta (you will have to interpolate these values from your stored table). Note that for some values of the asset price, it will be optimal to exercise the option, so your simulation will stop at that point. For each simulated path, determine the discounted relative hedging error error = e rt P (T ) V (S 0, t = 0) (4) where T is expiry time of the option or the exercise time (if the option was exercised before expiry). Do not update your hedge at t = T, i.e. P (T ) = V (T ) + α(t t)s(t ) + B(T t)e r t NOTE: The hedging interval t is not necessarily the same as the timestep in your PDE or Monte Carlo algorithms. Plot some representative histograms of the relative hedging error, i.e. the number of Monte Carlo trials giving hedging errors between E and E + E. Compute the standard deviation, VAR (95%) and CVAR (95%) for a series of tests with different sizes of hedging interval. The standard deviation of the hedging error (relative profit and loss) should be O(( t hedge ) β ) as t hedge 0. Estimate β (a log-log plot would be useful). Note: you should be using at least 10, 000 simulations to get a reasonable histogram. If you are using Matlab, refer to hints in Assignment 1 to get this to run quickly. You will need to construct tables which have a range of S values for your hedging simulations. A reasonable range can be estimated from X max = (µ σ2 2 )T + κσ T X min = (µ σ2 2 )T κσ T S max = S 0 e Xmax S min = S 0 e X min (5) where κ = 3 is a good estimate. A reasonable number of entries in the range[s min, S max ] would be 100. Generate this data at each time point you will need in the hedging simulation. 3. Consider the jump diffusion process ds(t) S(t = µdt + σdz + (η 1)dq (6) ) 3

where µ is the drift rate, { 0 with probability 1 λdt dq is the independent Poisson process, = 1 with probability λdt, λ is the mean arrival time of the Poisson process, η 1 σ dz is an impulse function producing a jump from S to Sη, is the volatility, is an increment of the standard Gauss-Wiener process. Note that the increments in ds depend on the value of S just before a potential jump at t, not on the value just after the jump. Assume that the jump size η is lognormal, i.e. the density for x = log η is given by g(x), x [, + ]. g(x) = e «(x µ J )2 2γ 2 2πγ. (7) This model is known as the Merton jump diffusion model. There is a closed form expression for the price of a European put/call under the Merton jump diffusion model. You can find this in many textbooks, or you can read the orginal paper Option pricing when underlying stock returns are discontinuous, R.C. Merton, Journal of Financial Economics, (1976) Vol 3:125-144. There is an M-file for this pricing model on the course Web site. Notation note: µ is commonly used for the drift rate and the mean of the Merton jump size. This is confusing in the literature. Note µ is the drift rate and µ J is the mean of the Merton jump size in this project description. Now, develop a Monte Carlo function in Matlab, whereby you directly simulate the SDE (6). Use forward Euler timestepping, and change variables to X = log S, i.e. your timestepping algorithm should be written like X(t + t) = X(t) +... (8) where S(T ) = exp(x(t )). You can assume λ t 1. Glasserman s book is an excellent reference on this topic. Note that the risk neutral drift rate for pricing is µ = r λκ where since, in the risk neutral world E[dS/S] = r dt. κ = E[η 1] = exp[µ J + γ 2 /2] 1 (9) Check your Monte code by comparing with the analytic solution. Now, carry out a study of Delta hedging, assuming the the real world follows a jump diffusion. You will need to construct tables of delta values for the option. Precompute these using the analytic solution (Assume that the target option is European). Then, simulate the delta hedge using Monte Carlo simulation. Plot histograms of the hedging error (as in Task 2), for various hedging intervals. Use the data in the file jump hedge data.m on the course Web site. 4

Table 1: A typical test case σ.25 r.05 Time to expiry 0.25 years Strike Price $100 Initial asset price S 0 $100 Drift rate.07 Research tasks This part of the project is much more open ended. Your mark for this section will be based on a thorough, creative job, not just the minimal suggestion listed below! Be sure to read some additional papers. Do not just do some implementation. You will need to make some interesting comments. Here are some suggestions (to get started). Come and see me if you want some more ideas. There are many interesting problems in finance which give rise to nonlinear Hamilton Jacobi Bellman (HJB) PDEs. To get started, you can read the paper Numerical Methods for Controlled HJB equations in finance on my Website. There are also many other papers on this topic on my Website. Use a low-discrepancy sequence to carry out the simulations for the hedging strategies described above. You will need to use a high dimensional Sobol (or some other) sequence generator. Experiment with an LDS timestepping method for pricing an Asian or Parisian option. Develop PDE code for pricing a discretely observed Parisian or Asian option (a set of 1-d PDE solves). Can you extend this to an American- Asian option? How about Parisian-Asian options? Lookbacks? Develop a PDE code for pricing convertible bonds (see notes). Investigate semi-lagrangian timestepping as an alternative to upwinding for drift dominated problems. See the paper on Asian options on my Website. Look at the embedded option in hedge fund fees. Recently, jump diffusion models have been suggested as a way to improve the fit of observed stock prices, better than simple geometric Brownian motion. Can you develop a PDE algorithm for pricing American options with jump diffusion? Develop code for pricing zero coupon bonds, assuming the CIR single factor interest rate model. Extend your algorithm to handle coupons. Discuss how you handle the boundary conditions. There is a paper on my Web site about callable bonds which will help you get started. Can you handle a finite notice period? Investigate SDE timestepping methods for the CIR model. Some references are in Assignment 1. 5

Develop code for modelling uncertain volatility or transaction cost models. There is a paper on my web site about this. Validate the transaction cost model through MC simulation. Implement a two factor lattice method. On my website, download the paper Negative coefficients in two factor option pricing models. This paper describes several two factor lattice methods. Compare with Monte Carlo. Carry out a study of discrete two factor delta hedging. Carry out a study of methods for computing the Greeks assuming you are valuing options using MC. Read the references on the Web site. Look at FFT timestepping methods. (Jackson et al, Journal of Computational Finance Vol 12 (Winter), 2009, pages 1-29; Lord et al, SIAM J. Sci. Comp. Vol 30 (2009), pages 1678-1705). Robust portfolio optimization. 6