Main Content

Interest-Rate Curve Objects and Workflow

Class Structure

Financial Instruments Toolbox™ class structure supports interest-rate curve objects.The class structure supports five classes.

Class Structure

Class Name

Description

@IRCurve

Base abstract class for interest-rate curves.IRCurveis an abstract class; you cannot create instances of it directly. You can createIRFunctionCurveandIRDataCurveobjects that are derived from this class.

@IRDataCurve

Creates a representation of an interest-rate curve with dates and data.IRDataCurve建立直接通过指定日期和公司吗rresponding interest rates or discount factors, or you can bootstrap anIRDataCurveobject from market data.

@IRFunctionCurve

Creates a representation of an interest-rate curve with a function.IRFunctionCurveis constructed directly by specifying a function handle, or you can fit a function to market data using methods of theIRFunctionCurveobject.

@IRBootstrapOptions

TheIRBootstrapOptionsobject lets you specify options relating to the bootstrapping of anIRDataCurveobject.

@IRFitOptions

TheIRFitOptionsobject lets you specify options relating to the fitting process for anIRFunctionCurveobject.

Workflow Using Interest-Rate Curve Objects

The supported workflow model for usinginterest-rate curve objects is:

  1. Create an interest-rate curve based on anIRDataCurveobject or anIRFunctionCurveobject.

    • To create anIRDataCurveobject:

      • Use vectors of dates and data with interpolation methods.

      • Use bootstrapping based on market instruments.

      For more information on creating anIRDataCurveobject, seeCreating an IRDataCurve Object.

    • To create anIRFunctionCurveobject:

      • Specify a function handle.

      • Fit a function using the Nelson-Siegel model, Svensson model, or smoothing spline model.

      • Fit a custom function.

  2. Use methods of theIRDataCurveorIRFunctionCurveobjects to extract forward, zero, discount factor, or par yield curves for the interest-rate curve object.

  3. Convert an interest-rate curve from anIRDataCurveorIRFunctionCurveobject 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.

See Also

|||

Related Topics