BlackScholes
Create BlackScholes pricer object for
Vanilla, Barrier, Touch,
DoubleTouch, or Binary instrument using
BlackScholes model
Description
Create and price a Vanilla, Barrier,
Touch, DoubleTouch, or
Binary instrument object with a BlackScholes
model and a BlackScholes pricing method using this
workflow:
Use
fininstrumentto create aVanilla,Barrier,DoubleTouch,Binaryor ,Touchinstrument object.Use
finmodelto specify aBlackScholesmodel for theVanilla,Barrier,Touch,DoubleTouch, orBinaryinstrument object.Use
finpricerto specify aBlackScholespricer object for theVanilla,Barrier,Touch,DoubleTouch, orBinaryinstrument 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, Lookback, Barrier,
Asian, Spread, Touch,
DoubleTouch, or Binary instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a BlackScholesPricerObj = finpricer(PricerType,'Model',model,'DiscountCurve',ratecurve_obj,'SpotPrice',spotprice_value)BlackScholes pricer object by specifying
PricerType and sets properties using the
required name-value pair arguments DiscountCurve,
Model, and SpotPrice.
sets optional properties using
additional name-value pair arguments in addition to the required arguments
in the previous syntax. For example, BlackScholesPricerObj = finpricer(___,Name,Value)BlackScholesPricerObj =
finpricer("Analytic",'Model',BSModel,'DiscountCurve',ratecurve_obj,'SpotPrice',1000,'DividendType',"continuous",'DividendValue',100)
creates a BlackScholes pricer object. You can specify
multiple name-value pair arguments.
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