Black
Create Black
pricer object for Cap
,
Floor
, or Swaption
instrument using
Black
model
Since R2020a
Description
Create and price a Cap
, Floor
, or
Swaption
instrument object with a Black
model
and a Black
pricing method using this workflow:
Use
fininstrument
to create aCap
,Floor
, orSwaption
instrument object.Use
finmodel
to specify aBlack
model for theCap
,Floor
, orSwaption
instrument object.Use
finpricer
to specify aBlack
pricer object for theCap
,Floor
, orSwaption
instrument object.Note
If you do not specify
ProjectionCurve
when you create aCap
,Floor
, orSwaption
instrument with theBlack
pricer, theProjectionCurve
value defaults to theDiscountCurve
value.
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
Properties
Object Functions
price | Compute price for interest-rate, equity, or credit derivative instrument with
Analytic pricer |
Examples
Version History
Introduced in R2020a