AssetMonteCarlo
Create AssetMonteCarlo
pricer object for equity instruments
using BlackScholes
, Merton
,
Heston
, or Bates
model
Since R2020b
Description
Create and price a Vanilla
, Barrier
,
Lookback
, PartialLookback
,
Asian
, Spread
,
DoubleBarrier
, Cliquet
,
Touch
, DoubleTouch
, Binary
instrument object with a BlackScholes
, Bachelier
,
Merton
, Heston
, or Bates
model and a AssetMonteCarlo
pricing method using this
workflow:
Use
fininstrument
to create aVanilla
,Barrier
,Lookback
,PartialLookback
,Asian
,Spread
,DoubleBarrier
,Cliquet
,Binary
,Touch
, orDoubleTouch
instrument object.Use
finmodel
to specify aBlackScholes
model for theVanilla
,Barrier
,Lookback
,PartialLookback
,Asian
,Spread
,DoubleBarrier
,Cliquet
,Touch
,DoubleTouch
, orBinary
instrument object.Use
finmodel
to specify aBachelier
model for theVanilla
,Spread
orBinary
instrument object.Use
finmodel
to specify aMerton
,Bates
, orHeston
model for theVanilla
,Barrier
,Lookback
,PartialLookback
,Asian
,DoubleBarrier
,Touch
,DoubleTouch
,Cliquet
, orBinary
instrument object.Use
finpricer
to specify anAssetMonteCarlo
pricer object for theVanilla
,Barrier
,Lookback
,PartialLookback
,Asian
,Spread
,DoubleBarrier
,Cliquet
,Touch
,DoubleTouch
, orBinary
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 instruments, models, and pricing methods for
Vanilla
, Barrier
, Lookback
,
PartialLookback
, Asian
,
Spread
, DoubleBarrier
,
Cliquet
, Touch
,
DoubleTouch
, or Binary
instruments, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a AssetMonteCarloPricerObj
= finpricer(PricerType
,'Model
',model,'DiscountCurve
',ratecurve_obj,'SpotPrice
',spotprice_value,'SimulationDates
',simulation_dates)AssetMonteCarlo
pricer object by specifying
PricerType
and sets the properties using
the required name-value pair arguments Model
,
DiscountCurve
, SpotPrice
, and
SimulationDates
.
sets optional properties using
additional name-value pairs in addition to the required arguments in the
previous syntax. For example, AssetMonteCarloPricerObj
= finpricer(___,Name,Value
)AssetMonteCarloPricerObj =
finpricer("assetmontecarlo",'Model',BSModel,'DiscountCurve',ratecurve_obj,'SpotPrice',1000,'SimulationDates',[datetime(2018,1,30);
datetime(2019,1,30)],'NumTrials',500,'DividendType','continuous','DividendValue',0.3)
creates an AssetMonteCarlo
pricer object using a
BlackScholes
model. You can specify multiple
name-value pair arguments.
Input Arguments
Properties
Object Functions
price | Compute price for equity instrument with AssetMonteCarlo
pricer |