getForwardRates
Get forward rates for input dates for
IRDataCurve
Description
computes discount factors for input dates for an F = getForwardRates(CurveObj,InpDates)IRDataCurve object.
getForwardRates returns discrete forward rates for the
intervals input into this function. For example, running the following
code:
getForwardRates(irdc, {Date1, Date2, Date3}) [Settle,
Date1], [Date1, Date2], and [Date2,
Date3].
Note
The ratecurve object and
the associated forwardrates
were introduced in R2020a as part of a new object-based framework in the
Financial Instruments Toolbox™ which supports end-to-end workflows in instrument modeling and
analysis. For more information, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
adds optional name-value pair arguments. F = getForwardRates(___,Name,Value)