Interest-Rate Curve Objects and Workflow
Class Structure
Financial Instruments Toolbox™ class structure supports interest-rate curve objects. The class structure supports four classes.
Class Structure
Class Name | Description |
|---|---|
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 |
Workflow Using Interest-Rate Curve Objects
The supported workflow model for using interest-rate curve objects is:
Create an interest-rate curve based on an
IRDataCurveobject or anIRFunctionCurveobject.To create an
IRDataCurveobject:Use vectors of dates and data with interpolation methods.
Use bootstrapping based on market instruments.
For more information on creating an
IRDataCurveobject, see Creating an IRDataCurve Object.To create an
IRFunctionCurveobject:Specify a function handle.
Fit a function using the Nelson-Siegel model, Svensson model, or smoothing spline model.
Fit a custom function.
Use functions of the
IRDataCurveorIRFunctionCurveobjects to extract forward, zero, discount factor, or par yield curves for the interest-rate curve object.Convert an interest-rate curve from an
IRDataCurveorIRFunctionCurveobject to aRateSpecstructure. ThisRateSpecstructure is identical to theRateSpecproduced by the functionintenvset. Using theRateSpecfor an interest-rate curve object, you can then use Financial Instruments Toolbox functions to model an interest-rate structure and price. Alternatively, you can convert theRateSpecto aratecurveobject (see Convert RateSpec to a ratecurve Object) and then use the Financial Instruments Toolbox object-based framework for pricing instruments.