CMSConvexityHull
Create CMSConvexityHull pricer object for
CMS or CMSNote instrument using
CMSConvexityHull model
Since R2023a
Description
Create and price a CMS or CMSNote
instrument object with a CMSConvexityHull model and a
CMSConvexityHull pricing method using this
workflow:
Use
fininstrumentto create aCMSorCMSNoteinstrument object.Use
finmodelto specify aCMSConvexityHullmodel object for theCMSorCMSNoteinstrument object.Use
finpricerto specify aCMSConvexityHullpricer object for theCMSorCMSNoteinstrument object.Note
If you do not specify a
ProjectionCurvename-value argument when you create aCMSorCMSNoteinstrument with theCMSConvexityHullpricer, theProjectionCurvevalue defaults to theDiscountCurvevalue.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
Creation
Description
creates a CMSConvexityHullPricerObj = finpricer(PricerType,Model=cmsconvexityhullmodel,DiscountCurve=ratecurve_obj)CMSConvexityHull pricer object by specifying
PricerType and the required name-value arguments
Model and DiscountCurve to set
properties. For
example, CMSConvexityHullPricerObj =
finpricer("Analytic",Model=CMSConvexityHull,DiscountCurve=ratecurve_obj)
creates a CMSConvexityHull 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 R2023a