Financial Instruments Toolbox™ class structure supports interest-rate curve objects.The class structure supports five classes.
Class Structure
Class Name |
Description |
---|---|
Base abstract class for interest-rate curves. |
|
Creates a representation of an interest-rate curve with dates and data. |
|
Creates a representation of an interest-rate curve with a function. |
|
The |
|
The |
The supported workflow model for usinginterest-rate curve objects is:
Create an interest-rate curve based on anIRDataCurve
object or anIRFunctionCurve
object.
To create anIRDataCurve
object:
Use vectors of dates and data with interpolation methods.
Use bootstrapping based on market instruments.
For more information on creating anIRDataCurve
object, seeCreating an IRDataCurve Object.
To create anIRFunctionCurve
object:
Specify a function handle.
Fit a function using the Nelson-Siegel model, Svensson model, or smoothing spline model.
Fit a custom function.
Use methods of theIRDataCurve
orIRFunctionCurve
objects to extract forward, zero, discount factor, or par yield curves for the interest-rate curve object.
Convert an interest-rate curve from anIRDataCurve
orIRFunctionCurve
object to aRateSpec
structure. ThisRateSpec
structure is identical to theRateSpec
produced by the functionintenvset
. Using theRateSpec
for an interest-rate curve object, you can then use Financial Instruments Toolbox functions to model an interest-rate structure and price.
IRBootstrapOptions
|IRDataCurve
|IRFitOptions
|IRFunctionCurve