helper class building a sequence of overnight coupons More...
#include <qle/cashflows/averageonindexedcoupon.hpp>
Public Member Functions | |
AverageONLeg (const Schedule &schedule, const QuantLib::ext::shared_ptr< OvernightIndex > &overnightIndex) | |
AverageONLeg & | withNotional (Real notional) |
AverageONLeg & | withNotionals (const std::vector< Real > ¬ionals) |
AverageONLeg & | withPaymentDayCounter (const DayCounter &dayCounter) |
AverageONLeg & | withPaymentAdjustment (BusinessDayConvention convention) |
AverageONLeg & | withGearing (Real gearing) |
AverageONLeg & | withGearings (const std::vector< Real > &gearings) |
AverageONLeg & | withSpread (Spread spread) |
AverageONLeg & | withSpreads (const std::vector< Spread > &spreads) |
AverageONLeg & | withTelescopicValueDates (bool telescopicValueDates) |
AverageONLeg & | withRateCutoff (Natural rateCutoff) |
AverageONLeg & | withPaymentCalendar (const Calendar &calendar) |
AverageONLeg & | withPaymentLag (Natural lag) |
AverageONLeg & | withLookback (const Period &lookback) |
AverageONLeg & | withFixingDays (const Size fixingDays) |
AverageONLeg & | withCaps (Rate cap) |
AverageONLeg & | withCaps (const std::vector< Rate > &caps) |
AverageONLeg & | withFloors (Rate floor) |
AverageONLeg & | withFloors (const std::vector< Rate > &floors) |
AverageONLeg & | includeSpreadInCapFloors (bool includeSpread) |
AverageONLeg & | withNakedOption (const bool nakedOption) |
AverageONLeg & | withLocalCapFloor (const bool localCapFloor) |
AverageONLeg & | withInArrears (const bool inArrears) |
AverageONLeg & | withLastRecentPeriod (const boost::optional< Period > &lastRecentPeriod) |
AverageONLeg & | withLastRecentPeriodCalendar (const Calendar &lastRecentPeriodCalendar) |
AverageONLeg & | withPaymentDates (const std::vector< QuantLib::Date > &paymentDates) |
AverageONLeg & | withAverageONIndexedCouponPricer (const QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > &couponPricer) |
AverageONLeg & | withCapFlooredAverageONIndexedCouponPricer (const QuantLib::ext::shared_ptr< CapFlooredAverageONIndexedCouponPricer > &couponPricer) |
operator Leg () const | |
Private Attributes | |
Schedule | schedule_ |
QuantLib::ext::shared_ptr< OvernightIndex > | overnightIndex_ |
std::vector< Real > | notionals_ |
DayCounter | paymentDayCounter_ |
BusinessDayConvention | paymentAdjustment_ |
Natural | paymentLag_ |
std::vector< Real > | gearings_ |
std::vector< Spread > | spreads_ |
bool | telescopicValueDates_ |
Calendar | paymentCalendar_ |
Natural | rateCutoff_ |
Period | lookback_ |
Natural | fixingDays_ |
std::vector< Rate > | caps_ |
std::vector< Rate > | floors_ |
bool | includeSpread_ |
bool | nakedOption_ |
bool | localCapFloor_ |
bool | inArrears_ |
boost::optional< Period > | lastRecentPeriod_ |
Calendar | lastRecentPeriodCalendar_ |
std::vector< QuantLib::Date > | paymentDates_ |
QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > | couponPricer_ |
QuantLib::ext::shared_ptr< CapFlooredAverageONIndexedCouponPricer > | capFlooredCouponPricer_ |
helper class building a sequence of overnight coupons
Definition at line 179 of file averageonindexedcoupon.hpp.
AverageONLeg | ( | const Schedule & | schedule, |
const QuantLib::ext::shared_ptr< OvernightIndex > & | overnightIndex | ||
) |
Definition at line 295 of file averageonindexedcoupon.cpp.
AverageONLeg & withNotional | ( | Real | notional | ) |
Definition at line 300 of file averageonindexedcoupon.cpp.
AverageONLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 305 of file averageonindexedcoupon.cpp.
AverageONLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 310 of file averageonindexedcoupon.cpp.
AverageONLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 315 of file averageonindexedcoupon.cpp.
AverageONLeg & withGearing | ( | Real | gearing | ) |
Definition at line 320 of file averageonindexedcoupon.cpp.
AverageONLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 325 of file averageonindexedcoupon.cpp.
AverageONLeg & withSpread | ( | Spread | spread | ) |
Definition at line 330 of file averageonindexedcoupon.cpp.
AverageONLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 335 of file averageonindexedcoupon.cpp.
AverageONLeg & withTelescopicValueDates | ( | bool | telescopicValueDates | ) |
Definition at line 340 of file averageonindexedcoupon.cpp.
AverageONLeg & withRateCutoff | ( | Natural | rateCutoff | ) |
Definition at line 345 of file averageonindexedcoupon.cpp.
AverageONLeg & withPaymentCalendar | ( | const Calendar & | calendar | ) |
Definition at line 350 of file averageonindexedcoupon.cpp.
AverageONLeg & withPaymentLag | ( | Natural | lag | ) |
Definition at line 355 of file averageonindexedcoupon.cpp.
AverageONLeg & withLookback | ( | const Period & | lookback | ) |
Definition at line 360 of file averageonindexedcoupon.cpp.
AverageONLeg & withFixingDays | ( | const Size | fixingDays | ) |
Definition at line 365 of file averageonindexedcoupon.cpp.
AverageONLeg & withCaps | ( | Rate | cap | ) |
Definition at line 370 of file averageonindexedcoupon.cpp.
AverageONLeg & withCaps | ( | const std::vector< Rate > & | caps | ) |
Definition at line 375 of file averageonindexedcoupon.cpp.
AverageONLeg & withFloors | ( | Rate | floor | ) |
Definition at line 380 of file averageonindexedcoupon.cpp.
AverageONLeg & withFloors | ( | const std::vector< Rate > & | floors | ) |
Definition at line 385 of file averageonindexedcoupon.cpp.
AverageONLeg & includeSpreadInCapFloors | ( | bool | includeSpread | ) |
Definition at line 390 of file averageonindexedcoupon.cpp.
AverageONLeg & withNakedOption | ( | const bool | nakedOption | ) |
Definition at line 395 of file averageonindexedcoupon.cpp.
AverageONLeg & withLocalCapFloor | ( | const bool | localCapFloor | ) |
Definition at line 400 of file averageonindexedcoupon.cpp.
AverageONLeg & withInArrears | ( | const bool | inArrears | ) |
Definition at line 405 of file averageonindexedcoupon.cpp.
AverageONLeg & withLastRecentPeriod | ( | const boost::optional< Period > & | lastRecentPeriod | ) |
Definition at line 410 of file averageonindexedcoupon.cpp.
AverageONLeg & withLastRecentPeriodCalendar | ( | const Calendar & | lastRecentPeriodCalendar | ) |
Definition at line 415 of file averageonindexedcoupon.cpp.
AverageONLeg & withPaymentDates | ( | const std::vector< QuantLib::Date > & | paymentDates | ) |
Definition at line 420 of file averageonindexedcoupon.cpp.
AverageONLeg & withAverageONIndexedCouponPricer | ( | const QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > & | couponPricer | ) |
Definition at line 426 of file averageonindexedcoupon.cpp.
AverageONLeg & withCapFlooredAverageONIndexedCouponPricer | ( | const QuantLib::ext::shared_ptr< CapFlooredAverageONIndexedCouponPricer > & | couponPricer | ) |
Definition at line 431 of file averageonindexedcoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 437 of file averageonindexedcoupon.cpp.
|
private |
Definition at line 213 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 214 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 215 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 216 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 217 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 218 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 219 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 220 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 221 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 222 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 223 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 224 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 225 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 226 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 226 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 227 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 228 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 229 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 230 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 231 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 232 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 233 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 234 of file averageonindexedcoupon.hpp.
|
private |
Definition at line 235 of file averageonindexedcoupon.hpp.