optstockbyitt - Price options on stocks using implied trinomial tree (ITT)

Syntax

[Price, PriceTree] = optstockbyitt(ITTTree, OptSpec, Strike,
Settle, ExerciseDates, AmericanOpt)

Arguments

ITTTree

Stock tree structure created by itttree.

OptSpec

Number of instruments (NINST)-by-1 cell array of strings 'call' or 'put'.

    Note   The interpretation of the Strike and ExerciseDates arguments depends on the setting of the AmericanOpt argument. If AmericanOpt = 0, NaN, or is unspecified, the option is a European or Bermuda option. If AmericanOpt = 1, the option is an American option.

Strike

European option: NINST-by-1 vector of strike price values.

Bermuda option: NINST by number of strikes (NSTRIKES) matrix of strike price values.

Each row is the schedule for one option. If an option has fewer than NSTRIKES exercise opportunities, the end of the row is padded with NaNs.

American option: NINST-by-1 vector of strike price values for each option.

Settle

NINST-by-1 vector of settlement or trade dates.

ExerciseDates

For a European or Bermuda option:

NINST-by-1 (European option) or NINST-by-NSTRIKES (Bermuda option) matrix 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:

NINST-by-2 vector of exercise date boundaries. For each instrument, the option can be exercised on any coupon 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 underlying bond Settle and the single listed exercise date.

AmericanOpt

(Optional) If AmericanOpt = 0, NaN, or is unspecified, the option is a European or Bermuda option. If AmericanOpt = 1, the option is an American option.

Description

[Price, PriceTree] = optstockbyitt(ITTTree, OptSpec, Strike, Settle, ExerciseDates, AmericanOpt) computes the price of a European/Bermuda or American stock option.

Price is a NINST-by-1 vector of expected option prices at time 0.

PriceTree is a tree structure with a vector of instrument prices at each node.

Examples

Price a stock option using an ITT equity 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.

OptSpec = 'Put';
Strike = 80;
Settle = '01-Jan-2006';
ExerciseDates = ' 01-Jan-2010 ';


Price = optstockbyitt(ITTTree, OptSpec, Strike, Settle,ExerciseDates)

Price =

 10.68

See Also

instoptstock, itttree, stockoptspec

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS