Description Usage Arguments Value Examples
Transform hull white short rates into bond prices -> P = 1/(1+r)
| 1 | hull_whiteBond(hw.out)
 | 
| hw.out | Output of hull_white() containing short rate scenarios | 
Bond prices corresponding to hull white short rate scenarios
| 1 2 3 4 | termStruct.out <- cubic_spline(termStruct);
 termStruct.extension <- curve_extensionNS(termStruct.out);
 hw.out <- hull_white(srinput, termStruct.extension, termofyield=1);
 hw.bond <- hull_whiteBond(hw.out)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.