Code covered by the BSD License
-
LSM_Plot(S0,K,r,T,sigma,N,M)
Function to demonstrate the Longstaff-Schwartz Least Squares algorithm
-
PlotCRRTree(S0,K,r,T,sigma,N,...
PlotCRRTree the values in the CRR tree give by P.
-
ResultsGUI(varargin)
RESULTSGUI M-file for ResultsGUI.fig
-
TestGUI(varargin)
TESTGUI M-file for TestGUI.fig
-
AmericanOptCRR(S0,K,r,T,sigma...
AmericanOptCRR - Price an american option via Cox-Ross-Rubenstein tree
-
AmericanOptFD(S0,K,r,T,sigma,...
AmericanOptFD - Price an american option via finite differences
-
AmericanOptLSM(S0,K,r,T,sigma...
AmericanOptLSM - Price an american option via Longstaff-Schwartz Method
-
BlackScholesFcn(A,E,r,T,s)
-
CreateFDPlot(S0,K,T,s,t,P)
CreateFDPlot - Use MATLAB graphics commands to create a custom plot to
-
SetupFDMatrix(S0,K,r,T,sigma,...
SetupFDMatrix - Create a matrix which can be used to solve the
-
Comparison_Script.m
-
Contents.m
-
FD_method.m
-
View all files
from
Pricing American Options
by Mark Hoyle
Examples of pricing American options using MATLABĀ®
|
| Contents.m |
% AMERICAN OPTIONS
%
% Files
% AmericanOptCRR - AmericanOptCRR - Price an american option via Cox-Ross-Rubenstein tree
% AmericanOptFD - AmericanOptFD - Price an american option via finite differences
% AmericanOptLSM - AmericanOptLSM - Price an american option via Longstaff-Schwartz Method
% BlackScholesFcn - A - Asset price
% Comparison_Script - Compare the various methods
% CreateFDPlot - CreateFDPlot - Use MATLAB graphics commands to create a custom plot to
% FD_method - Price via Finite differences
% LSM_Plot - Function to demonstrate the Longstaff-Schwartz Least Squares algorithm
% PlotCRRTree - PlotCRRTree the values in the CRR tree give by P.
% ResultsGUI - M-file for ResultsGUI.fig
% SetupFDMatrix - SetupFDMatrix - Create a matrix which can be used to solve the
% TestGUI - M-file for TestGUI.fig
|
|
Contact us at files@mathworks.com