BlackScholes
Create BlackScholes
model object for an
Asian
, Barrier
,
DoubleBarrier
, Lookback
,
PartialLookback
, Spread
,
Vanilla
, Touch
,
DoubleTouch
, Cliquet
, or Binary
instrument
Since R2020a
Description
Create and price a Vanilla
, Lookback
,
PartialLookback
, Barrier
,
DoubleBarrier
Asian
, Spread
, Touch
,
DoubleTouch
, Cliquet
, or
Binary
instrument object with a BlackScholes
model using this workflow:
Use
fininstrument
to create aVanilla
,Lookback
,PartialLookback
,Barrier
,Asian
,Spread
,DoubleBarrier
,Cliquet
,Binary
,Touch
, orDoubleTouch
instrument object.Use
finmodel
to specify theBlackScholes
model object for aVanilla
,Lookback
,PartialLookback
,Barrier
,DoubleBarrier
,Asian
,Spread
,Touch
,DoubleTouch
,Cliquet
, orBinary
instrument object.Use
finpricer
to specify a supported pricing method. For more information on the available pricing methods for theVanilla
,Lookback
,PartialLookback
,Barrier
,DoubleBarrier
,Asian
,Spread
,Touch
,DoubleTouch
,Cliquet
, orBinary
instrument object when using aBlackScholes
model, see Choose Instruments, Models, and Pricers.
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
Vanilla
, Lookback
,
PartialLookback
, Barrier
,
DoubleBarrier
, Asian
,
Spread
, Touch
, DoubleTouch
,
or Binary
instrument when using a BlackScholes
model, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a BlackScholesModelObj
= finmodel(ModelType
,'Volatility
',volatility_value)BlackScholes
model object by specifying
ModelType
and sets the properties for the
required name-value pair argument Volatility
.
sets optional properties using
additional name-value pairs in addition to the required arguments in the
previous syntax. For example, BlackScholesModelObj
= finmodel(___,Name,Value
)BlackScholesModelObj =
finmodel("BlackScholes",'Volatility',0.032,'Correlation',Corr)
creates a BlackScholes
model object. You can specify
multiple name-value pair arguments.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2020a