Table of Contents

Class YoYInflationCap

Namespace
NanoQL.Instruments
Assembly
NanoQL.dll

A year-on-year inflation cap: a strip of caplets on a year-on-year leg.

public sealed class YoYInflationCap : YoYInflationCapFloor
Inheritance
YoYInflationCap
Inherited Members

Constructors

YoYInflationCap(ImmutableArray<CashFlow>, IEnumerable<double>)

Initializes a new instance of the YoYInflationCap class.

public YoYInflationCap(ImmutableArray<CashFlow> yoyLeg, IEnumerable<double> exerciseRates)

Parameters

yoyLeg ImmutableArray<CashFlow>

The year-on-year leg.

exerciseRates IEnumerable<double>

The cap rates, extended to the leg's length with the last one.

Exceptions

ArgumentException

The leg is default or holds a null cash flow, or there are no rates ("no cap rates given").

ArgumentNullException

exerciseRates is null.