CDSBlack
Create CDSBlack pricer object for
CDSOption instrument using CDSBlack
model
Description
Create and price a CDSOption instrument object with a
CDSBlack model and a CDSBlack pricing method
using this workflow:
Use
fininstrumentto create theCDSOptioninstrument object. By default, this creates a single-name CDS option. You can create a CDS index option by specifying the optional name-value argumentAdjustedForwardSpread.Use
finmodelto specify theCDSBlackmodel for theCDSOptioninstrument object.Use
finpricerto specify theCDSBlackpricer object for theCDSOptioninstrument 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
CDSOption instrument, see Choose Instruments, Models, and Pricers.
Creation
Description
creates a CDSBlackPricerObj = finpricer(PricerType,'DiscountCurve',ratecurve_obj,'Model',model,'DefaultProbabilityCurve',defaultprobabilitycurve_obj)CDSBlack pricer object by specifying
PricerType and the required name-value pair
arguments for DiscountCurve,
Model, and DefaultProbabilityCurve
to set properties using
name-value pairs. For example, CDSBlackPricerObj =
finpricer("Analytic",'Model',CDSBlack,'DiscountCurve',ratecurve_obj,'DefaultProbabilityCurve',defaultprobabilitycurve_obj)
creates a CDSBlack 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