BjerksundStensland
Create BjerksundStensland
pricer object for
Vanilla
or Spread
instrument using
BlackScholes
model
Since R2020a
Description
Create and price a Vanilla
or Spread
instrument object with a BlackScholes
model and a
BjerksundStensland
pricing method using this
workflow:
Use
fininstrument
to create aVanilla
orSpread
instrument object.Use
finmodel
to specify aBlackScholes
model for theVanilla
orSpread
instrument object.Use
finpricer
to specify aBjerksundStensland
pricer object for theVanilla
instrument (American exercise) orSpread
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 a
Vanilla
or Spread
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a BjerksundStenslandPricerObj
= finpricer(PricerType
,'Model
',model,'DiscountCurve
',ratecurve_obj,'SpotPrice
',spotprice_value)BjerksundStensland
pricer object by specifying
PricerType
and sets the properties for
the required name-value pair arguments Model
,
DividendType
, and SpotPrice
.
to set optional properties using
additional name-value pairs in addition to the required arguments in the
previous syntax. For example, BjerksundStenslandPricerObj
= finpricer(___,Name,Value
)BjerksundStenslandPricerObj =
finpricer("Analytic",'Model',BSModel,'DiscountCurve',ratecurve_obj,'SpotPrice',[100;105],'DividendValue',[2.5,2.8],'PricingMethod',"BjerksundStensland")
creates a BjerksundStensland
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 R2020a