| Contents | Index |
[Price, PriceTree] = compoundbyitt(ITTTree,
UOptSpec, UStrike,
USettle, UExerciseDates,
UAmericanOpt, COptSpec,
CStrike, CSettle, CExerciseDates,
CAmericanOpt)
Stock tree structure created by itttree. | |
String = 'call' or 'put'. | |
UStrike | 1-by-1 vector of strike price values. |
1-by-1 vector of Settle dates. | |
UExerciseDates | For a European option (UAmericanOpt = 0): 1-by-1 vector of exercise dates. For a European option, there is only one exercise date, the option expiry date. For an American option (UAmericanOpt = 1): 1-by-2 vector of exercise date boundaries. The option can be exercised on any tree date. If only one non-NaN date is listed, or if ExerciseDates is 1-by-1, the option can be exercised between the valuation date of the stock tree and the single listed exercise date. |
If UAmericanOpt = 0, NaN, or is unspecified, the option is a European option. If UAmericanOpt = 1, the option is an American option. | |
NINST-by-1 list of string values 'Call' or 'Put' of the compound option. | |
CStrike | NINST-by-1 vector of strike price values. Each row is the schedule for one option. |
1-by-1 vector containing the settlement or trade date. | |
CExerciseDates | For a European option (CAmericanOpt = 0): NINST-by-1 vector of exercise dates. Each row is the schedule for one option. For a European option, there is only one exercise date, the option expiry date. For an American option (CAmericanOpt = 1): NINST-by-2 vector of exercise date boundaries. For each instrument, the option can be exercised on any tree date between or including the pair of dates on that row. If only one non-NaN date is listed, or if ExerciseDates is NINST-by-1, the option can be exercised between the valuation date of the stock tree and the single listed exercise date. |
(Optional) If CAmericanOpt = 0, NaN, or is unspecified, the option is a European option. If CAmericanOpt = 1, the option is an American option. |
[Price, PriceTree] = compoundbyitt(ITTTree, UOptSpec, UStrike, USettle, UExerciseDates, UAmericanOpt, COptSpec, CStrike, CSettle, CExerciseDates, CAmericanOpt) calculates the value of a compound option by an ITT trinomial tree.
Price is a NINST-by-1 vector of expected prices at time 0.
PriceTree is a tree structure with a vector of instrument prices at each node.
Price a compound option using an ITT tree.
Load the file deriv.mat which provides the ITTTree. The ITTTree structure contains the stock specification and time information needed to price the option.
load deriv.mat
Set the required values. Other arguments will use defaults.
UOptSpec = 'Call'; UStrike = 99; USettle = '01-Jan-2006'; UExerciseDates = '01-Jan-2010'; UAmericanOpt = 1; COptSpec = 'Put'; CStrike = 5; CSettle = '01-Jan-2006'; CExerciseDates = '01-Jan-2010'; Price = compoundbyitt(ITTTree, UOptSpec, UStrike, USettle, ... UExerciseDates, UAmericanOpt, COptSpec, CStrike, CSettle, ... CExerciseDates) Price = 2.727
Rubinstein, Mark, "Double Trouble," Risk 5, 1991.
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |