HeynenKat
Create HeynenKat
pricer object for
PartialLookback
instrument using BlackScholes
model
Since R2021b
Description
Create and price a PartialLookback
instrument object with a
BlackScholes
model and a HeynenKat
pricing
method using this workflow:
Use
fininstrument
to create aPartialLookback
instrument object.Use
finmodel
to specify aBlackScholes
model for thePartialLookback
instrument object.Use
finpricer
to specify aHeynenKat
pricer object for thePartialLookback
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 an
PartialLookback
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a HeynenKatPricerObj
= finpricer(PricerType
,DiscountCurve
=ratecurve_obj,Model
=model,SpotPrice
=spotprice_value)HeynenKat
pricer object by specifying
PricerType
and sets the properties for the
required name-value 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, HeynenKatPricerObj
= finpricer(___,Name=Value
)HeynenKatPricerObj =
finpricer("Analytic",DiscountCurve=ratecurve_obj,Model=BSModel,SpotPrice=1000,DividendType="continuous",DividendValue=100,PricingMethod="HeynenKat")
creates a HeynenKat
pricer object.
Input Arguments
Properties
Object Functions
price | Compute price for interest-rate, equity, or credit derivative instrument with
Analytic pricer |
Examples
Version History
Introduced in R2021b