ittprice - Price instruments using implied trinomial tree (ITT)

Syntax

Price = ittprice(ITTTree, InstSet)
Price = ittprice(ITTTree, InstSet, Options)
[Price, PriceTree] = ittprice(ITTTree, InstSet, Options)

Arguments

ITTTree

Implied trinomial stock tree. See itttree for information on creating the variable ITTTree.

InstSet

Variable containing a collection of NINST instruments. Instruments are broken down by type and each type can have different data fields.

Options

(Optional) Structure created using derivset containing derivative pricing options.

Description

Price = ittprice(ITTTree, InstSet)

Price = ittprice(ITTTree, InstSet, Options)

[Price, PriceTree] = ittprice(ITTTree, InstSet, Options)

The outputs for ittprice are:

ittprice computes prices for instruments using an implied trinomial tree created with itttree.

When using an implied trinomial tree, pricing of path-dependent options is done using Hull-White. Consequently, for these options there are no unique prices on the tree nodes with the exception of the root node. The corresponding nodes of the tree are populated with NaNs for these particular options. For information on single-type pricing functions to retrieve state-by-state pricing tree information, see the following:

Examples

Load the ITT tree and instruments from the data file deriv.mat.

load deriv.mat

Price the barrier and Asian options contained in the instrument set.

ITTSubSet = instselect(ITTInstSet,'Type', {'Barrier', 'Asian'}); 

instdisp(ITTSubSet)

instdisp(ITTSubSet)
Index Type OptSpec Strike Settle ExerDates AmerOpt BarrSpec Barr Rebate Name Quantity
1   Barrier call    85   01-Jan-2006  31-Dec-2008    1       ui    115     0  Barrier1 1
 
Index Type OptSpec Strike Settle ExerDates AmerOpt AvgType AvgPrice AvgDate Name Quantity
2    Asian call    55   01-Jan-2006   01-Jan-2008   0    arithmetic NaN    NaN   Asian1  5
3    Asian call    55   01-Jan-2006   01-Jan-2010   0    arithmetic NaN    NaN   Asian2  7
 
[Price, PriceTree] = ittprice(ITTTree, ITTSubSet)

Price =
    2.4074
    3.2052
    6.6074
PriceTree = 
    FinObj: 'TrinPriceTree'
     PTree: {[3x1 double]  [3x3 double]  [3x5 double]  [3x7 double]  [3x9 double]}
      tObs: [0 1 2 3 4]
      dObs: [732678 733043 733408 733773 734139]

See Also

ittsens, itttree

  


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