floating annuity coupon More...
#include <qle/cashflows/floatingannuitycoupon.hpp>
Public Member Functions | |
FloatingAnnuityCoupon (Real annuity, bool underflow, const QuantLib::ext::shared_ptr< Coupon > &previousCoupon, const Date &paymentDate, const Date &startDate, const Date &endDate, Natural fixingDays, const QuantLib::ext::shared_ptr< InterestRateIndex > &index, Real gearing=1.0, Spread spread=0.0, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date(), const DayCounter &dayCounter=DayCounter(), bool isInArrears=false) | |
Cashflow interface | |
Rate | amount () const override |
Inspectors | |
Real | accruedAmount (const Date &d) const override |
Rate | nominal () const override |
Rate | previousNominal () const |
Rate | rate () const override |
Real | price (const Handle< YieldTermStructure > &discountingCurve) const |
const QuantLib::ext::shared_ptr< InterestRateIndex > & | index () const |
DayCounter | dayCounter () const override |
Rate | indexFixing () const |
Natural | fixingDays () const |
Date | fixingDate () const |
Real | gearing () const |
Spread | spread () const |
virtual Rate | convexityAdjustment () const |
virtual Rate | adjustedFixing () const |
bool | isInArrears () const |
Visitor interface | |
virtual void | accept (AcyclicVisitor &) override |
LazyObject interface | |
Real | annuity_ |
bool | underflow_ |
QuantLib::ext::shared_ptr< Coupon > | previousCoupon_ |
Real | nominal_ |
int | fixingDays_ |
QuantLib::ext::shared_ptr< InterestRateIndex > | index_ |
Real | gearing_ |
Real | spread_ |
DayCounter | dayCounter_ |
bool | isInArrears_ |
void | performCalculations () const override |
floating annuity coupon
Coupon paying a Libor-type index on a variable nominal such that total flows are constant
Definition at line 38 of file floatingannuitycoupon.hpp.
FloatingAnnuityCoupon | ( | Real | annuity, |
bool | underflow, | ||
const QuantLib::ext::shared_ptr< Coupon > & | previousCoupon, | ||
const Date & | paymentDate, | ||
const Date & | startDate, | ||
const Date & | endDate, | ||
Natural | fixingDays, | ||
const QuantLib::ext::shared_ptr< InterestRateIndex > & | index, | ||
Real | gearing = 1.0 , |
||
Spread | spread = 0.0 , |
||
const Date & | refPeriodStart = Date() , |
||
const Date & | refPeriodEnd = Date() , |
||
const DayCounter & | dayCounter = DayCounter() , |
||
bool | isInArrears = false |
||
) |
Definition at line 26 of file floatingannuitycoupon.cpp.
|
override |
Definition at line 71 of file floatingannuitycoupon.cpp.
|
override |
Definition at line 76 of file floatingannuitycoupon.cpp.
|
override |
Definition at line 65 of file floatingannuitycoupon.cpp.
Rate previousNominal | ( | ) | const |
Definition at line 63 of file floatingannuitycoupon.cpp.
|
override |
Definition at line 86 of file floatingannuitycoupon.cpp.
Real price | ( | const Handle< YieldTermStructure > & | discountingCurve | ) | const |
Definition at line 96 of file floatingannuitycoupon.cpp.
const QuantLib::ext::shared_ptr< InterestRateIndex > & index | ( | ) | const |
Definition at line 87 of file floatingannuitycoupon.hpp.
|
override |
Definition at line 89 of file floatingannuitycoupon.hpp.
Real indexFixing | ( | ) | const |
Definition at line 94 of file floatingannuitycoupon.cpp.
Natural fixingDays | ( | ) | const |
Definition at line 91 of file floatingannuitycoupon.hpp.
Date fixingDate | ( | ) | const |
Definition at line 88 of file floatingannuitycoupon.cpp.
Real gearing | ( | ) | const |
Definition at line 93 of file floatingannuitycoupon.hpp.
Spread spread | ( | ) | const |
Definition at line 95 of file floatingannuitycoupon.hpp.
|
virtual |
Definition at line 61 of file floatingannuitycoupon.hpp.
|
virtual |
bool isInArrears | ( | ) | const |
Definition at line 97 of file floatingannuitycoupon.hpp.
|
overridevirtual |
Definition at line 100 of file floatingannuitycoupon.cpp.
|
override |
Definition at line 45 of file floatingannuitycoupon.cpp.
|
private |
Definition at line 73 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 74 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 75 of file floatingannuitycoupon.hpp.
|
mutableprivate |
Definition at line 76 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 79 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 80 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 81 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 82 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 83 of file floatingannuitycoupon.hpp.
|
private |
Definition at line 84 of file floatingannuitycoupon.hpp.