Class YoYInflationFloor
- Namespace
- NanoQL.Instruments
- Assembly
- NanoQL.dll
A year-on-year inflation floor: a strip of floorlets on a year-on-year leg.
public sealed class YoYInflationFloor : YoYInflationCapFloor
- Inheritance
-
YoYInflationFloor
- Inherited Members
Constructors
YoYInflationFloor(ImmutableArray<CashFlow>, IEnumerable<double>)
Initializes a new instance of the YoYInflationFloor class.
public YoYInflationFloor(ImmutableArray<CashFlow> yoyLeg, IEnumerable<double> exerciseRates)
Parameters
yoyLegImmutableArray<CashFlow>The year-on-year leg.
exerciseRatesIEnumerable<double>The floor rates, extended to the leg's length with the last one.
Exceptions
- ArgumentException
The leg is
defaultor holds a null cash flow, or there are no rates ("no floor rates given").- ArgumentNullException
exerciseRatesis null.