QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
helper class building a sequence of average BMA coupons More...
#include <averagebmacoupon.hpp>
Public Member Functions | |
AverageBMALeg (Schedule schedule, ext::shared_ptr< BMAIndex > index) | |
AverageBMALeg & | withNotionals (Real notional) |
AverageBMALeg & | withNotionals (const std::vector< Real > ¬ionals) |
AverageBMALeg & | withPaymentDayCounter (const DayCounter &) |
AverageBMALeg & | withPaymentAdjustment (BusinessDayConvention) |
AverageBMALeg & | withGearings (Real gearing) |
AverageBMALeg & | withGearings (const std::vector< Real > &gearings) |
AverageBMALeg & | withSpreads (Spread spread) |
AverageBMALeg & | withSpreads (const std::vector< Spread > &spreads) |
operator Leg () const | |
Private Attributes | |
Schedule | schedule_ |
ext::shared_ptr< BMAIndex > | index_ |
std::vector< Real > | notionals_ |
DayCounter | paymentDayCounter_ |
BusinessDayConvention | paymentAdjustment_ = Following |
std::vector< Real > | gearings_ |
std::vector< Spread > | spreads_ |
helper class building a sequence of average BMA coupons
Definition at line 83 of file averagebmacoupon.hpp.
AverageBMALeg | ( | Schedule | schedule, |
ext::shared_ptr< BMAIndex > | index | ||
) |
Definition at line 165 of file averagebmacoupon.cpp.
AverageBMALeg & withNotionals | ( | Real | notional | ) |
AverageBMALeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 173 of file averagebmacoupon.cpp.
AverageBMALeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
AverageBMALeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
AverageBMALeg & withGearings | ( | Real | gearing | ) |
Definition at line 191 of file averagebmacoupon.cpp.
AverageBMALeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 196 of file averagebmacoupon.cpp.
AverageBMALeg & withSpreads | ( | Spread | spread | ) |
Definition at line 202 of file averagebmacoupon.cpp.
AverageBMALeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 207 of file averagebmacoupon.cpp.
operator Leg | ( | ) | const |
|
private |
Definition at line 96 of file averagebmacoupon.hpp.
|
private |
Definition at line 97 of file averagebmacoupon.hpp.
|
private |
Definition at line 98 of file averagebmacoupon.hpp.
|
private |
Definition at line 99 of file averagebmacoupon.hpp.
|
private |
Definition at line 100 of file averagebmacoupon.hpp.
|
private |
Definition at line 101 of file averagebmacoupon.hpp.
|
private |
Definition at line 102 of file averagebmacoupon.hpp.