Financial Derivatives Toolbox    
hjmtree

Build an HJM forward rate tree

Syntax

Arguments

VolSpec
Volatility process specification. Sets the number of factors and the rules for computing the volatility for each factor. See hjmvolspec for information on the volatility process.
RateSpec
Interest rate specification for the initial rate curve. See intenvset for information on declaring an interest rate variable.
TimeSpec
Tree time layout specification. Defines the observation dates of the HJM tree and the Compounding rule for date to time mapping and price-yield formulas. See hjmtimespec for information on the tree structure.

Description

HJMTree = hjmtree(VolSpec, RateSpec, TimeSpec) creates a structure containing time and forward rate information on a bushy tree.

Examples

Using the data provided, create a HJM volatility specification (VolSpec), rate specification (RateSpec), and tree time layout specification (TimeSpec). Then use these specifications to create a HJM tree with hjmtree.

Use treeviewer to observe the tree you have created.

See Also

hjmprice, hjmtimespec, hjmvolspec, intenvset


  hjmtimespec hjmvolspec