Financial Derivatives Toolbox    
instadd

Add types to instrument collection

Syntax

Bond instrument. (See also instbond.)

Arguments

For more information on instrument data parameters, see the reference entries for individual instrument types. For example, see instcap for additional information on the cap instrument.

InstSetOld
Variable containing a collection of instruments. Instruments are classified by type; each type can have different data fields. The stored data field is a row vector or string for each instrument.

Description

instadd stores instruments of types 'Bond', 'CashFlow', 'OptBond', 'Fixed', 'Float', 'Cap', 'Floor', or 'Swap'. Pricing and sensitivity routines are provided for these instruments.

InstSet is an instrument set variable containing the new input data.

Examples

Create a portfolio with two cap instruments and a 4% bond.

See Also

instbond, instcap, instcf, instfixed, instfloat, instfloor, instoptbnd, instswap


  hjmvolspec instaddfield