High Precision Rapid Convergence of Asian Options Mario Y. Harper - - PDF document

high precision rapid convergence of asian options
SMART_READER_LITE
LIVE PREVIEW

High Precision Rapid Convergence of Asian Options Mario Y. Harper - - PDF document

Utah State University DigitalCommons@USU Physics Capstone Project Physics Student Research 4-11-2014 High Precision Rapid Convergence of Asian Options Mario Y. Harper Utah State University Follow this and additional works at:


slide-1
SLIDE 1

Utah State University

DigitalCommons@USU

Physics Capstone Project Physics Student Research 4-11-2014

High Precision Rapid Convergence of Asian Options

Mario Y. Harper

Utah State University

Follow this and additional works at: htup://digitalcommons.usu.edu/phys_capstoneproject Part of the Dynamical Systems Commons, Finance Commons, and the Numerical Analysis and Scientifjc Computing Commons

Tiis Presentation is brought to you for free and open access by the Physics Student Research at DigitalCommons@USU. It has been accepted for inclusion in Physics Capstone Project by an authorized administrator of DigitalCommons@USU. For more information, please contact dylan.burns@usu.edu.

Recommended Citation

Harper, Mario Y., "High Precision Rapid Convergence of Asian Options" (2014). Physics Capstone Project. Paper 2. htup://digitalcommons.usu.edu/phys_capstoneproject/2

slide-2
SLIDE 2

2014 USU Student Showcase Utah State University, Logan, UT

High Precision Rapid Convergence of Asian Options

Mario Harper

Economics and Finance Department Utah State University, Logan, Utah

slide-3
SLIDE 3

A special thanks to my mentor Dr. Tyler Brough Luis Gordillo for pushing me in mathematics.

Thank you!

The entire USU Economics/Finance Department and Physics Department

slide-4
SLIDE 4

Asian Options

What is it and why do we care?

What is our problem?

Understanding the underlying algorithm.

Analysis and Modeling

Understanding and comparing behavior.

Future Work

Quantitative and computational work.

Motivation Analysis Conclusion

Outline

slide-5
SLIDE 5

Motivation Analysis Conclusion

Motivation

slide-6
SLIDE 6

About Me

 Physics/Economics

Major: Emphasis in computational methods and mathematics

 Sudden change took me

to the field of finance. Has a lot to do with Jamba Juice…

slide-7
SLIDE 7

Motivation Analysis Conclusion

An option is a contract which gives the buyer (the

  • wner) the right, but not the
  • bligation, to buy or sell an

underlying asset or instrument at a specified price on or before a specified date. Why do we want them? They are essentially a stock insurance.

What is a Financial Option?

slide-8
SLIDE 8

Motivation Analysis Conclusion

What is an Asian Option?

An Asian Option is one whose payoff depends

  • n the average price of

the underlying asset

  • ver a certain period of

time as opposed to at

  • maturity. Also known

as an average option. This is an insurance against price changes.

slide-9
SLIDE 9

Motivation Analysis Conclusion

Why Study Asian Options?

Example: Suppose that you are a power-company: A major cost for you is fuel to power your plant, but the supply of fuel and its costs are volatile. You want to charge a fixed rate for electricity, how do we price it?

slide-10
SLIDE 10

Motivation Analysis Conclusion

The Problem

Prices have to be low but without risk This is a zero sum game, someone is going to lose. Advantages of selling at a stable price

  • Much higher efficiency for the economy

Disadvantages

  • Higher stress on those holding the asset.
  • Computationally and Mathematically intensive.
slide-11
SLIDE 11

Motivation Analysis Conclusion

The Problem

The bigger problem: Many stocks and assets need to be priced quickly and

  • accurately. But the

future is unknown and poses risks.

slide-12
SLIDE 12

Motivation Analysis Conclusion

Analysis

slide-13
SLIDE 13

Motivation Analysis Conclusion

A Brief, Brief, very Brief Derivation

df f x  S  dt  q S  dz   ( ) f t dt  1 2 2f x2  S  dt  ( )2 2  S  ( )  q S  ( )dt dz   q S  dz  ( )2 

   

dS  S  dt  q S  dz  

dC S t  ( ) C t C S  S   1 2  S  ( )2 2C S2 

       

dt C S  S  dz  

1 T

T

t S t ( )    d  K 

v t x  y  ( ) vt t St  Yt 

  dt

vx t St  Yt 

  dSt

 1 2 vxxt St  Yt 

  d S St



 

 vy t St  Yt 

 

 v t x  y  ( ) vt t St  Yt 

 

 St  vx t St  Yt 

 

  1 2 2 St

2 vxxt St

 Yt 

 

 St vy t St  Yt 

 

 

     

dt   St  vx t St  Yt 

  dWt

 

slide-14
SLIDE 14

Motivation Analysis Conclusion

Python

 Very simple language

compared to Java

 Easy to import libraries

and operators

 Somewhat slow

compared to C++

 Easily able to show

comparisons

slide-15
SLIDE 15

Motivation Analysis Conclusion

Monte Carlo Simulations

 We simulate the random path of the price by

Monte Carlo simulations. Some drawbacks…

slide-16
SLIDE 16

Motivation Analysis Conclusion

Control Variate Theory

 As the name sounds, this

is a method to control the variance in the simulations.

 Unfortunately, this uses

more computing power and time.

slide-17
SLIDE 17

Motivation Analysis Conclusion

Control Variate Code

We can approximate the true value around which we choose to center

  • ur distribution around by decomposing the PDE from before into:

def BlackScholesCall(S0, X, r, sigma, T, N, delta): d1 = (log(S0/X)+(r - deltas + .5*sigmas*sigmas)*T) / (sqrt(T)*sigmas) d2 = d1-sigmas*sqrt(T) Gtrue = ( S0*exp(- deltas * T)* norm.cdf(d1)) - (X*exp(-r*T)*norm.cdf(d2)) return Gtrue Gtrue = BlackScholesCall(S0, X, r, sigma, T, N, delta)

slide-18
SLIDE 18

Motivation Analysis Conclusion

Brownian Bridge

Start and stop points are fixed by the algorithm. Good at speeding up the convergence of stochastic processes.

slide-19
SLIDE 19

Motivation Analysis Conclusion

Parallel Computing

Large problems should be divided into smaller problems. Using all of the resources to simultaneously compute the problem.

slide-20
SLIDE 20

Motivation Analysis Conclusion

CUDA

(Compute Unified Device Architecture)

We use the GPU for even faster computing. GPU is designed to do linear algebra.

slide-21
SLIDE 21

Motivation Analysis Conclusion

The Algorithm

  • 1. Take the Asian Option PDE, make it into a discrete stochastic problem.
  • 2. Use MC simulations to get a distribution of prices.
  • 3. Use CV methods to narrow distribution
  • 4. Use Brownian Bridge to compartmentalize the code
  • 5. Parallel port to speed convergence
  • 6. Test each phase (speed, accuracy)
slide-22
SLIDE 22

Motivation Analysis Conclusion

Conclusion

slide-23
SLIDE 23

Motivation Analysis Conclusion

Conclusions

  • MC alone requires about 100,000 iterations to give us useful
  • results. If we add CV we found that we only need 16,000-18,000

iterations to reach the same accuracy.

  • While the CV method does add 5% more to the computing time

as compared to naïve MC. We make up for it by cutting down the number of iterations by half.

  • The Brownian Bridge adds some complexity to the code. An

additional 10% of computing time. But allows for 96% of the code to be parallel executed.

  • Convergence time is negligible compared to that of naïve MC

using parallel computing.

slide-24
SLIDE 24

Motivation Analysis Conclusion

Conclusions

Trading and pricing of these derivative

  • ptions can be very quick with a

combination of these tools.

slide-25
SLIDE 25

Motivation Analysis Conclusion

Future Work

  • Increase stochastic operators, add jumps
  • Reserve time on University Supercomputer, test against CPU

clusters

  • Test speeds using APU coupled with CPU
  • Get a Kepler architecture GPU, anyone have a Titan card or a

GTX 780 Ti they want to lend me?

  • Add antithetic sampling and other random number manipulators

for faster convergence.

slide-26
SLIDE 26

Questions?