CoxIngersollRoss
Create CoxIngersollRoss
model object for
Cap
, Floor
, Swaption
,
Swap
, FixedBond
, FloatBond
,
FloatBondOption
, FixedBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument
Since R2023b
Description
Create and price a Cap
, Floor
,
Swaption
, Swap
, FloatBond
,
FixedBond
, FloatBondOption
,
FixedBondOption
, OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument object with a
CoxIngersollRoss
model using this workflow:
Use
fininstrument
to create aCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finmodel
to specify aCoxIngersollRoss
model object for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
,FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finpricer
to specify anIRTree
pricing method for aCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
,FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available pricing methods for a Cap
,
Floor
, Swaption
, Swap
,
FixedBond
, FloatBond
,
FloatBondOption
, FixedBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a CoxIngersollRossModelObj
= finmodel(ModelType
,Sigma
=sigma_value,Alpha
=alpha_value,Theta
=theta_value)CoxIngersollRossModelObj
model object by
specifying ModelType
and the required name-value
arguments Sigma
, Alpha
, and
Theta
to set properties using name-value pair
arguments. For example, CoxIngersollRossModelObj =
finmodel("CoxIngersollRoss",Sigma=0.34,Alpha=0.052,Theta=0.017)
creates a CoxIngersollRoss
model object.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2023b