TurnbullWakeman
CreateTurnbullWakeman
pricer object forAsian
instrument usingBlackScholes
model
Description
Create and price aAsian
instrument object with aBlackScholes
model and aTurnbullWakeman
pricing method using this workflow:
Use
fininstrument
to create anAsian
instrument object.Use
finmodel
to specify aBlackScholes
模型Asian
instrument object.Use
finpricer
to specify aTurnbullWakeman
pricer object for theAsian
instrument object.
For more information on this workflow, seeGet Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available instruments, models, and pricing methods for anAsian
instrument, seeChoose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates aTurnbullWakemanPricerObj
= finpricer(PricerType
,'DiscountCurve
',ratecurve_obj,'Model
',model,'SpotPrice
',spotprice_value)TurnbullWakeman
pricer object by specifyingPricerType
and sets thepropertiesfor the required name-value pair argumentsDiscountCurve
,Model
, andSpotPrice
.
to set optionalpropertiesusing 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 aTurnbullWakeman
pricer object.
Input Arguments
Properties
Object Functions
price |
Compute price for interest-rate, equity, or credit derivative instrument withAnalytic pricer |