BlackDermanToy
Create BlackDermanToy
model object for a
Cap
, Floor
, Swaption
,
Swap
, FloatBond
, FixedBond
,
FixedBondOption
, FloatBondOption
,
OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument
Since R2022b
Description
Create and price a Cap
, Floor
,
Swaption
, Swap
, FloatBond
,
FixedBond
, FixedBondOption
,
FloatBondOption
, OptionEmbeddedFixedBond
, or
OptionEmbeddedFloatBond
instrument object with a
BlackDermanToy
model using this workflow:
Use
fininstrument
to create aCap
,Floor
,Swaption
,Swap
,FloatBond
,FixedBond
,FixedBondOption
,FloatBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finmodel
to specify aBlackDermanToy
model object for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FixedBondOption
,FloatBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Use
finpricer
to specify anIRTree
pricing method for theCap
,Floor
,Swaption
,Swap
,FixedBond
,FloatBond
,FixedBondOption
,OptionEmbeddedFixedBond
, orOptionEmbeddedFloatBond
instrument object.Optionally, when using an
OptionEmbeddedFixedBond
with anIRTree
pricing method and aBlackDermanToy
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 BlackDermanToyModelObj
= finmodel(ModelType
,Sigma
=sigma_value)BlackDermanToy
model object by specifying
ModelType
and the required name-value pair argument
Sigma
to set the properties. For
example, BlackDermanToyModelObj =
finmodel("BlackDermanToy",Sigma=0.34)
creates a
BlackDermanToy
model object with a
Sigma
volatility of .34
.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2022b