BlackKarasinski
Create BlackKarasinski
model object for a
Cap
, Floor
Swaption
,
Swap
, FloatBond
, FixedBond
,
FixedBondOption
, FloatBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument
Since R2020a
Description
Create and price a Cap
, Floor
,
Swaption
, Swap
, FloatBond
,
FixedBond
, FixedBondOption
,
FloatBondOption
, OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument object with a
BlackKarasinski
model using this workflow:
Use
fininstrument
to create aCap
,Floor
,Swaption
,Swap
,FloatBond
,FixedBond
,FixedBondOption
,FloatBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finmodel
to specify aBlackKarasinski
model object for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FixedBondOption
,FloatBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finpricer
to specify aIRTree
orIRMonteCarlo
pricing method for theCap
,Floor
,Swaption
,Swap
FixedBond
,FloatBond
,FixedBondOption
orOptionEmbeddedFixedBond
instrument object.Optionally, when using an
OptionEmbeddedFixedBond
with anIRTree
pricing method and aBlackKarasinski
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
,
FixedBondOption
, FloatBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument, see Choose Instruments, Models, and Pricers.
Creation
Description
creates a BlackKarasinskiModelObj
= finmodel(ModelType
,'Alpha
',alpha_value,'Sigma
',sigma_value)BlackKarasinski
model object by specifying
ModelType
and the required name-value pair
arguments Alpha
and Sigma
to set
the properties. For
example, BlackKarasinskiModelObj =
finmodel("BlackKarasinski",'Alpha',0.052,'Sigma',0.34)
creates
a BlackKarasinski
model object.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2020a