Black
Create Black pricer object for Cap,
Floor, or Swaption instrument using
Black model
Description
Create and price a Cap, Floor, or
Swaption instrument object with a Black model
and a Black pricing method using this workflow:
Use
fininstrumentto create aCap,Floor, orSwaptioninstrument object.Use
finmodelto specify aBlackmodel for theCap,Floor, orSwaptioninstrument object.Use
finpricerto specify aBlackpricer object for theCap,Floor, orSwaptioninstrument object.Note
If you do not specify
ProjectionCurvewhen you create aCap,Floor, orSwaptioninstrument with theBlackpricer, theProjectionCurvevalue defaults to theDiscountCurvevalue.
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
Cap, Floor, or Swaption
instrument, see Choose Instruments, Models, and Pricers.
Creation
Description
creates a BlackPricerObj = finpricer(PricerType,'Model',model,'DiscountCurve',ratecurve_obj)Black pricer object by specifying
PricerType and the required name-value pair
arguments for Model and
DiscountCurve to set properties using name-value
pairs. For example, BlackPricerObj =
finpricer("Analytic",'Model',BlackModel,'DiscountCurve',ratecurve_obj)
creates a Black 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