Credit
Create Credit pricer object for CDS
instrument using defprobcurve
Description
Create and price a CDS instrument object with a
defprobcurve and a Credit pricing method using
this workflow:
Create a default probability curve object using
defprobcurve.Use
finpricerto specify aCreditpricer object for theCDSinstrument 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
CDS instrument, see Choose Instruments, Models, and Pricers.
Creation
Description
creates a CreditPricerObj = finpricer(PricerType,'DiscountCurve',ratecurve_obj,'DefaultProbabilityCurve',defprobcurve_object)Credit pricer object by specifying
PricerType and the required name-value pair
arguments DiscountCurve and
DefaultProbabilityCurve to set properties using name-value
pairs. For example, CreditPricerObj =
finpricer("Credit",'DiscountCurve',ratecurve_obj,'DefaultProbabilityCurve',defprobcurve_obj)
creates a Credit pricer object.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
price | Compute price for credit derivative instrument with Credit
pricer |
Examples
Version History
Introduced in R2020a