Kirk
Create Kirk pricer object for Spread
instrument using BlackScholes model
Description
Create and price a Spread instrument object with a
BlackScholes model and a Kirk pricing method
using this workflow:
Use
fininstrumentto create aSpreadinstrument object.Use
finmodelto specify aBlackScholesmodel for theSpreadinstrument object.Use
finpricerto specify aKirkpricer object for theSpreadinstrument 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 a
Spread instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a KirkPricerObj = finpricer(PricerType,'DiscountCurve',ratecurve_obj,'Model',model,'SpotPrice',spotprice_value)Kirk 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, KirkPricerObj = finpricer(___,Name,Value)KirkPricerObj =
finpricer("Analytic",'DiscountCurve',ratecurve_obj,'Model',BSModel,'SpotPrice',[100;105],'DividendValue',[2.5,2.8],'PricingMethod',"Kirk")
creates a Kirk pricer object.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
price | Compute price for interest-rate, equity, or credit derivative instrument with
Analytic pricer |
Examples
More About
Version History
Introduced in R2020a