Inflation
Create Inflation pricer object for
InflationBond, YearYearInflationSwap, or
ZeroCouponInflationSwap instrument using
inflationcurve model
Since R2021a
Description
Create and price an InflationBond,
YearYearInflationSwap, or
ZeroCouponInflationSwap instrument object with an
inflationcurve model and an Inflation pricing
method using this workflow:
Use
fininstrumentto create anInflationBond,YearYearInflationSwap, orZeroCouponInflationSwapinstrument object.Use
inflationcurveto specify an inflation curve object.Create an interest-rate curve object using
ratecurve.Use
finpricerto specify theInflationpricer object for theInflationBond,YearYearInflationSwap, orZeroCouponInflationSwapinstrument 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 an
InflationBond, YearYearInflationSwap, or
ZeroCouponInflationSwap instrument, see Choose Instruments, Models, and Pricers.
Creation
Description
creates an InflationPricerObj = finpricer(PricerType,'DiscountCurve',ratecurve_obj,'InflationCurve',inflationcurve_obj)Inflation pricer object by specifying
PricerType and the required name-value pair
arguments DiscountCurve and
InflationCurve to set properties using
name-value pairs. For example, InflationPricerObj =
finpricer("Inflation",'DiscountCurve',ZeroCurve,'InflationCurve',myInflationCurve)
creates an Inflation pricer object.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
price | Compute price for inflation instrument with Inflation
pricer |
Examples
Version History
Introduced in R2021a