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
fininstrument
to create aCMS
orCMSNote
instrument object.Use
finmodel
to specify aCMSConvexityHull
model object for theCMS
orCMSNote
instrument object.Use
finpricer
to specify aCMSConvexityHull
pricer object for theCMS
orCMSNote
instrument object.Note
If you do not specify a
ProjectionCurve
name-value argument when you create aCMS
orCMSNote
instrument with theCMSConvexityHull
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.
Creation
Description
creates a CMSConvexityHullPricerObj
= finpricer(PricerType
,Model
=cmsconvexityhullmodel,DiscountCurve
=ratecurve_obj)CMSConvexity
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
Properties
Object Functions
price | Compute price for interest-rate, equity, or credit derivative instrument with
Analytic pricer |
Examples
Version History
Introduced in R2023a