HullWhite
Create HullWhite
model object for Cap
,
Floor
, Swaption
, Swap
,
FixedBond
, FloatBond
,
FloatBondOption
, FixedBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument
Since R2020a
Description
Create and price a Cap
, Floor
,
Swaption
, Swap
, FloatBond
,
FloatBondOption
, FixedBond
,
FixedBondOption
, OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument object with a
HullWhite
model using this workflow:
Use
fininstrument
to create aCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finmodel
to specify aHullWhite
model object for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
,FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finpricer
to specify aHullWhite
pricing method for aCap
,Floor
, orSwaption
instrument object and use anIRTree
orIRMonteCarlo
pricing method for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FloatBondOption
,FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Optionally, when using an
OptionEmbeddedFixedBond
with anIRTree
pricing method and aHullWhite
model, you can calculate the option adjusted spread (OAS) usingoas
.
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
Description
creates a HullWhiteModelObj
= finmodel(ModelType
,'Alpha
'alpha_value,'Sigma
',sigma_value)HullWhite
model object by specifying
ModelType
and the required name-value pair
argumentsAlpha
and Sigma
to
set properties using
name-value pair arguments. For example, HullWhiteModelObj =
finmodel("HullWhite",'Alpha',0.052,'Sigma',0.34)
creates a
HullWhite
model object.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2020a