mmktbybdt

Create money-market tree from Black-Derman-Toy interest-rate tree

Description

example

MMktTree = mmktbybdt(BDTTree) MMktTree = mmktbybdt(BDTTree) creates a money-market tree from an interest-rate tree structure created by bdttree.

Examples

collapse all

Use a bdttree from the deriv.mat and create a money-market tree from the BDT interest-rate tree.

load deriv.mat;
MMktTree = mmktbybdt(BDTTree)
MMktTree = struct with fields:
      FinObj: 'BDTMmktTree'
        tObs: [0 1 2 3 4]
    MMktTree: {[1]  [1.1000 1.1000]  [1.2077 1.2324 1.2575]  [1x4 double]}

treeviewer(MMktTree)

Input Arguments

collapse all

BDT interest-rate tree structure, specified by bdttree.

Data Types: struct

Output Arguments

collapse all

Money-market tree, returned as a tree structure.

Introduced before R2006a