QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
RateAveraging Struct Reference

rate averaging method More...

#include <ql/cashflows/rateaveraging.hpp>

Public Types

enum  Type { Simple , Compound }

Detailed Description

rate averaging method

It allows to configure how interest is accrued in multi-fixing coupons or futures.

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
Simple 

Under the simple convention the amount of interest is calculated by applying the sub-rate to the principal, and the payment due at the end of the period is the sum of those amounts.

Compound 

Under the compound convention, the additional amount of interest owed each period is calculated by applying the rate both to the principal and the accumulated unpaid interest.