Create TurnbullWakeman
pricer object for
Asian
instrument using BlackScholes
model
Create and price a Asian
instrument object with a
BlackScholes
model and a TurnbullWakeman
pricing method using this workflow:
Use fininstrument
to create an Asian
instrument object.
Use finmodel
to specify
a BlackScholes
model for the Asian
instrument.
Use finpricer
to
specify a TurnbullWakeman
pricer object for the
Asian
instrument.
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 an
Asian
instrument, see Choose Instruments, Models, and Pricers.
creates a TurnbullWakemanPricerObj
= finpricer(PricerType
,'DiscountCurve
',ratecurve_obj,'Model
',model,'SpotPrice
',spotprice_value)TurnbullWakeman
pricer object by specifying
PricerType
and sets the properties for the
required name-value pair arguments DiscountCurve
,
Model
, and SpotPrice
.
to set optional properties using
additional name-value pairs in addition to the required arguments in the
previous syntax. For example, TurnbullWakemanPricerObj
= finpricer(___,Name,Value
)TurnbullWakemanPricerObj =
finpricer("Analytic",'DiscountCurve',ratecurve_obj,'Model',BSModel,'SpotPrice',1000,'DividendType',"continuous",'DividendValue',100)
creates a TurnbullWakeman
pricer object.
price | Compute price for interest-rate, equity, or credit derivative instrument with
Analytic pricer |