SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Monte Carlo Simulation of Heston Model  in MATLAB GUI and its Application to Options BACHELOR THESIS IN MATHEMATICS /APPLIED MATHEMATICS DEPARTMENT OF MATHEMATICS AND PHYSICS MÄLARDALEN UNIVERSITY Author Amir Kheirollah Supervisor Robin Lundgren Examiner Dmitrii Silvestrov
Abstract ,[object Object],[object Object],[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Theoretical Background ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Monte Carlo Simulation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],The method samples  randomly  from a universe of possible outcomes and takes  the fraction of random draws  that fall in a given set as an estimate of the set’s measure. The Law of Large Numbers  guarantees the  convergence  of the  estimation to the correct value as the number of draws increases.
An Overview on Black-Scholes Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Heston Model – Genral Form of SDEs ,[object Object],[object Object],[object Object],[object Object],(1) (2)
The Heston Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],(3) (4)
The Heston Model   ,[object Object],[object Object],[object Object],W 1  and  W 2 In equations (3) and (4) Replaced by  Where epsilons are correlated  (5) (6)
The Heston Model – Discretization Versus Randomization ,[object Object],[object Object],[object Object],ε  = Ax + µ (7)
The Heston Model – Mean Reversion   ,[object Object],[object Object],[object Object]
The Heston Model – Application of Monte Carlo Simulation and Cholesky Decomposition ,[object Object],[object Object]
The Heston Model – Application of Monte Carlo Simulation and Cholesky Decomposition ,[object Object],[object Object],[object Object],[object Object],[object Object]
Options under Study ,[object Object],[object Object],[object Object],[object Object],[object Object],1) 2) 3) where
Empirical Investigation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Empirical Investigation – The Table   Table 1:  Data for Empirical Investigation Category Number of Iterations Black-Scholes (BLS) Price Heston Model Price Heston Model STD Heston Model MIN Heston Model MAX Heston Model COV Heston Model’s Relative Error from BLS 1 10 11,0666 11,3257 1,2997 7,8744 14,0729 1,6893 0,023413 2 100 11,0666 11,0667 0,4381 10,0278 12,2727 0,1919 9,04E-06 3 1000 11,0666 11,0632 0,1146 10,6927 11,2826 0,0131 0,000307 4 5000 11,0666 11,067 0,0567 10,9516 11,2267 0,0032 3,61E-05 5 10000 11,0666 11,0568 0,0402 10,9635 11,1486 0,0016 0,000886 6 25000 11,0666 11,0599 0,023 11,0006 11,1159 5,30E-04 0,000605 7 50000 11,0666 11,0601 0,0156 11,0249 11,0929 2,44E-04 0,000587
Empirical Investigation ,[object Object],[object Object],[object Object],[object Object],European call option priced by both methods.   As number of iterations increases  the price of Heston Model converges To price obtaind by Black-Scholes.
Empirical Investigation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Standard Deviation
Empirical Investigation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Relative Error of Heston Model from Black-Scholes Model   Covariance Between Prices Respective Number of Iterations.
Empirical Investigation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Empirical Investigation Data for Empirical Investigation   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10000 Iterations Price STD MIN MAX Asian Option 11,03488 0,025823128 10,972 11,095 Look Back Option 14,06824 0,028532498 14,001 14,139 European Call Option 11,05677 0,04028882 10,963 11,149
MATLAB GUI Manual – Graphical Representation Opening window of the program HestonGUI.
MATLAB GUI Manual – User Manual The pattern considered in example.
MATLAB GUI Manual – User Manual ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MATLAB GUI Manual – Error-dialogue Windows Error-dialogue declaring the input can not be  negative or non-numeric.   Error-dialogue declaring the input can not be  taken other than the interval.   Error-dialogue declaring the input can not take zero,  non-numeric or negative values. Error-dialogue windows of the program.
Conclusion ,[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Ms(transp.transship,assign) (1)
Ms(transp.transship,assign) (1)Ms(transp.transship,assign) (1)
Ms(transp.transship,assign) (1)
kongara
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution Method
Kaushik Maitra
 
Monte Carlo Simulation - Paul wilmott
Monte Carlo Simulation - Paul wilmottMonte Carlo Simulation - Paul wilmott
Monte Carlo Simulation - Paul wilmott
Aguinaldo Flor
 
Monte Carlo Simulations
Monte Carlo SimulationsMonte Carlo Simulations
Monte Carlo Simulations
gfbreaux
 
Transportation and assignment_problem
Transportation and assignment_problemTransportation and assignment_problem
Transportation and assignment_problem
Ankit Katiyar
 
Forecasting with Vector Autoregression
Forecasting with Vector AutoregressionForecasting with Vector Autoregression
Forecasting with Vector Autoregression
Bryan Butler, MBA, MS
 
Chapter 1 foundations of engineering economy
Chapter 1   foundations of engineering economyChapter 1   foundations of engineering economy
Chapter 1 foundations of engineering economy
Bich Lien Pham
 
STATA - Time Series Analysis
STATA - Time Series AnalysisSTATA - Time Series Analysis
STATA - Time Series Analysis
stata_org_uk
 

Was ist angesagt? (20)

Vogel’s Approximation Method (VAM)
Vogel’s Approximation Method (VAM)Vogel’s Approximation Method (VAM)
Vogel’s Approximation Method (VAM)
 
Black scholes model
Black scholes modelBlack scholes model
Black scholes model
 
Ms(transp.transship,assign) (1)
Ms(transp.transship,assign) (1)Ms(transp.transship,assign) (1)
Ms(transp.transship,assign) (1)
 
Time series and panel data in econometrics
Time series and panel data in econometricsTime series and panel data in econometrics
Time series and panel data in econometrics
 
Ch 3 Problem Solving Quiz
Ch 3 Problem Solving QuizCh 3 Problem Solving Quiz
Ch 3 Problem Solving Quiz
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution Method
 
Monte Carlo Simulation - Paul wilmott
Monte Carlo Simulation - Paul wilmottMonte Carlo Simulation - Paul wilmott
Monte Carlo Simulation - Paul wilmott
 
Monte Carlo Simulations
Monte Carlo SimulationsMonte Carlo Simulations
Monte Carlo Simulations
 
Transportation and assignment_problem
Transportation and assignment_problemTransportation and assignment_problem
Transportation and assignment_problem
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
Forecasting with Vector Autoregression
Forecasting with Vector AutoregressionForecasting with Vector Autoregression
Forecasting with Vector Autoregression
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Multicollinearity
MulticollinearityMulticollinearity
Multicollinearity
 
Transportation problems
Transportation problemsTransportation problems
Transportation problems
 
Asymmetric information in insurance market
Asymmetric information in insurance marketAsymmetric information in insurance market
Asymmetric information in insurance market
 
Transportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingTransportation Problem In Linear Programming
Transportation Problem In Linear Programming
 
Chapter 1 foundations of engineering economy
Chapter 1   foundations of engineering economyChapter 1   foundations of engineering economy
Chapter 1 foundations of engineering economy
 
ders 6 Panel data analysis.pptx
ders 6 Panel data analysis.pptxders 6 Panel data analysis.pptx
ders 6 Panel data analysis.pptx
 
Black schole
Black scholeBlack schole
Black schole
 
STATA - Time Series Analysis
STATA - Time Series AnalysisSTATA - Time Series Analysis
STATA - Time Series Analysis
 

Andere mochten auch

Pricing American Options - Duality approach in Monte Carlo
Pricing American Options - Duality approach in Monte CarloPricing American Options - Duality approach in Monte Carlo
Pricing American Options - Duality approach in Monte Carlo
Ilnaz Asadzadeh
 
Actuarial Application of Monte Carlo Simulation
Actuarial Application of Monte Carlo Simulation Actuarial Application of Monte Carlo Simulation
Actuarial Application of Monte Carlo Simulation
Adam Conrad
 
Monte carlo option pricing final v3
Monte carlo option pricing final v3Monte carlo option pricing final v3
Monte carlo option pricing final v3
naojan
 
Testing Long Memory in Stock Market Return and Volatility during Global Finan...
Testing Long Memory in Stock Market Return and Volatility during Global Finan...Testing Long Memory in Stock Market Return and Volatility during Global Finan...
Testing Long Memory in Stock Market Return and Volatility during Global Finan...
Amir Kheirollah
 
Tp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlabTp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlab
hamdinho
 
Intro matlab and convolution islam
Intro matlab and convolution islamIntro matlab and convolution islam
Intro matlab and convolution islam
Islam Alabbasy
 

Andere mochten auch (20)

Efficient Monte Carlo Pricer
Efficient Monte Carlo PricerEfficient Monte Carlo Pricer
Efficient Monte Carlo Pricer
 
Correlation
CorrelationCorrelation
Correlation
 
Pricing American Options - Duality approach in Monte Carlo
Pricing American Options - Duality approach in Monte CarloPricing American Options - Duality approach in Monte Carlo
Pricing American Options - Duality approach in Monte Carlo
 
Laboratory manual
Laboratory manualLaboratory manual
Laboratory manual
 
Thesis_PPT
Thesis_PPTThesis_PPT
Thesis_PPT
 
Fractals and symmetry group 3
Fractals and symmetry   group 3Fractals and symmetry   group 3
Fractals and symmetry group 3
 
Actuarial Application of Monte Carlo Simulation
Actuarial Application of Monte Carlo Simulation Actuarial Application of Monte Carlo Simulation
Actuarial Application of Monte Carlo Simulation
 
Monte carlo option pricing final v3
Monte carlo option pricing final v3Monte carlo option pricing final v3
Monte carlo option pricing final v3
 
Probability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdfProbability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdf
 
Testing Long Memory in Stock Market Return and Volatility during Global Finan...
Testing Long Memory in Stock Market Return and Volatility during Global Finan...Testing Long Memory in Stock Market Return and Volatility during Global Finan...
Testing Long Memory in Stock Market Return and Volatility during Global Finan...
 
Solution to Black-Scholes P.D.E. via Finite Difference Methods (MatLab)
Solution to Black-Scholes P.D.E. via Finite Difference Methods (MatLab)Solution to Black-Scholes P.D.E. via Finite Difference Methods (MatLab)
Solution to Black-Scholes P.D.E. via Finite Difference Methods (MatLab)
 
Simulation methods finance_1
Simulation methods finance_1Simulation methods finance_1
Simulation methods finance_1
 
Ch9 failure mechanisms
Ch9 failure mechanismsCh9 failure mechanisms
Ch9 failure mechanisms
 
GUI in Matlab - 1
GUI in Matlab - 1GUI in Matlab - 1
GUI in Matlab - 1
 
Signal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLABSignal and image processing on satellite communication using MATLAB
Signal and image processing on satellite communication using MATLAB
 
Tp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlabTp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlab
 
chap5 modulations
chap5 modulationschap5 modulations
chap5 modulations
 
La technique de transmission OFDM
La technique de transmission OFDMLa technique de transmission OFDM
La technique de transmission OFDM
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to Matlab
 
Intro matlab and convolution islam
Intro matlab and convolution islamIntro matlab and convolution islam
Intro matlab and convolution islam
 

Ähnlich wie Monte Carlo Simulation Of Heston Model In Matlab(1)

Simulation Study of Hurdle Model Performance on Zero Inflated Count Data
Simulation Study of Hurdle Model Performance on Zero Inflated Count DataSimulation Study of Hurdle Model Performance on Zero Inflated Count Data
Simulation Study of Hurdle Model Performance on Zero Inflated Count Data
Ian Camacho
 
Normality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdfNormality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdf
Vasudha Singh
 
Christopher Johnson Bachelor's Thesis
Christopher Johnson Bachelor's ThesisChristopher Johnson Bachelor's Thesis
Christopher Johnson Bachelor's Thesis
BagpipesJohnson
 
Study_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_OptionsStudy_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_Options
Bruce Haydon, PMP
 

Ähnlich wie Monte Carlo Simulation Of Heston Model In Matlab(1) (20)

Prob and statistics models for outlier detection
Prob and statistics models for outlier detectionProb and statistics models for outlier detection
Prob and statistics models for outlier detection
 
Modeling & Simulation Lecture Notes
Modeling & Simulation Lecture NotesModeling & Simulation Lecture Notes
Modeling & Simulation Lecture Notes
 
P1
P1P1
P1
 
Monte Carlo Simulation with Variance Reduction Methods for Chained Option
Monte Carlo Simulation with Variance Reduction Methods for Chained OptionMonte Carlo Simulation with Variance Reduction Methods for Chained Option
Monte Carlo Simulation with Variance Reduction Methods for Chained Option
 
Monte Carlo Simulation with Variance Reduction Methods for Chained Option
Monte Carlo Simulation with Variance Reduction Methods for Chained OptionMonte Carlo Simulation with Variance Reduction Methods for Chained Option
Monte Carlo Simulation with Variance Reduction Methods for Chained Option
 
A probabilistic monte carlo model for pricing discrete barrier
A probabilistic monte carlo model for pricing discrete barrierA probabilistic monte carlo model for pricing discrete barrier
A probabilistic monte carlo model for pricing discrete barrier
 
panel data.ppt
panel data.pptpanel data.ppt
panel data.ppt
 
Panel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.pptPanel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.ppt
 
Monte carlo-simulation
Monte carlo-simulationMonte carlo-simulation
Monte carlo-simulation
 
Simulation Study of Hurdle Model Performance on Zero Inflated Count Data
Simulation Study of Hurdle Model Performance on Zero Inflated Count DataSimulation Study of Hurdle Model Performance on Zero Inflated Count Data
Simulation Study of Hurdle Model Performance on Zero Inflated Count Data
 
Paper473
Paper473Paper473
Paper473
 
Chapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptxChapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptx
 
Normality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdfNormality_assumption_for_the_log_re.pdf
Normality_assumption_for_the_log_re.pdf
 
Christopher Johnson Bachelor's Thesis
Christopher Johnson Bachelor's ThesisChristopher Johnson Bachelor's Thesis
Christopher Johnson Bachelor's Thesis
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
CFM Challenge - Course Project
CFM Challenge - Course ProjectCFM Challenge - Course Project
CFM Challenge - Course Project
 
Study_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_OptionsStudy_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_Options
 
Week08.pdf
Week08.pdfWeek08.pdf
Week08.pdf
 
Crude Oil Levy
Crude Oil LevyCrude Oil Levy
Crude Oil Levy
 
Lecture6 xing
Lecture6 xingLecture6 xing
Lecture6 xing
 

Monte Carlo Simulation Of Heston Model In Matlab(1)

  • 1. Monte Carlo Simulation of Heston Model in MATLAB GUI and its Application to Options BACHELOR THESIS IN MATHEMATICS /APPLIED MATHEMATICS DEPARTMENT OF MATHEMATICS AND PHYSICS MÄLARDALEN UNIVERSITY Author Amir Kheirollah Supervisor Robin Lundgren Examiner Dmitrii Silvestrov
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Empirical Investigation – The Table   Table 1: Data for Empirical Investigation Category Number of Iterations Black-Scholes (BLS) Price Heston Model Price Heston Model STD Heston Model MIN Heston Model MAX Heston Model COV Heston Model’s Relative Error from BLS 1 10 11,0666 11,3257 1,2997 7,8744 14,0729 1,6893 0,023413 2 100 11,0666 11,0667 0,4381 10,0278 12,2727 0,1919 9,04E-06 3 1000 11,0666 11,0632 0,1146 10,6927 11,2826 0,0131 0,000307 4 5000 11,0666 11,067 0,0567 10,9516 11,2267 0,0032 3,61E-05 5 10000 11,0666 11,0568 0,0402 10,9635 11,1486 0,0016 0,000886 6 25000 11,0666 11,0599 0,023 11,0006 11,1159 5,30E-04 0,000605 7 50000 11,0666 11,0601 0,0156 11,0249 11,0929 2,44E-04 0,000587
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. MATLAB GUI Manual – Graphical Representation Opening window of the program HestonGUI.
  • 23. MATLAB GUI Manual – User Manual The pattern considered in example.
  • 24.
  • 25. MATLAB GUI Manual – Error-dialogue Windows Error-dialogue declaring the input can not be negative or non-numeric. Error-dialogue declaring the input can not be taken other than the interval. Error-dialogue declaring the input can not take zero, non-numeric or negative values. Error-dialogue windows of the program.
  • 26.