helper class building a sequence of equity coupons More...
#include <qle/cashflows/equitycoupon.hpp>
Public Member Functions | |
EquityLeg (const Schedule &schedule, const QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > &equityCurve, const QuantLib::ext::shared_ptr< FxIndex > &fxIndex=nullptr) | |
EquityLeg & | withNotional (Real notional) |
EquityLeg & | withNotionals (const std::vector< Real > ¬ionals) |
EquityLeg & | withPaymentDayCounter (const DayCounter &dayCounter) |
EquityLeg & | withPaymentAdjustment (BusinessDayConvention convention) |
EquityLeg & | withPaymentLag (Natural paymentLag) |
EquityLeg & | withPaymentCalendar (const Calendar &calendar) |
EquityLeg & | withReturnType (EquityReturnType) |
EquityLeg & | withDividendFactor (Real) |
EquityLeg & | withInitialPrice (Real) |
EquityLeg & | withInitialPriceIsInTargetCcy (bool) |
EquityLeg & | withFixingDays (Natural) |
EquityLeg & | withValuationSchedule (const Schedule &valuationSchedule) |
EquityLeg & | withNotionalReset (bool) |
EquityLeg & | withQuantity (Real) |
operator Leg () const | |
Private Attributes | |
Schedule | schedule_ |
QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > | equityCurve_ |
QuantLib::ext::shared_ptr< FxIndex > | fxIndex_ |
std::vector< Real > | notionals_ |
DayCounter | paymentDayCounter_ |
Natural | paymentLag_ |
BusinessDayConvention | paymentAdjustment_ |
Calendar | paymentCalendar_ |
EquityReturnType | returnType_ |
Real | initialPrice_ |
bool | initialPriceIsInTargetCcy_ |
Real | dividendFactor_ |
Natural | fixingDays_ |
Schedule | valuationSchedule_ |
bool | notionalReset_ |
Real | quantity_ |
helper class building a sequence of equity coupons
Definition at line 161 of file equitycoupon.hpp.
EquityLeg | ( | const Schedule & | schedule, |
const QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > & | equityCurve, | ||
const QuantLib::ext::shared_ptr< FxIndex > & | fxIndex = nullptr |
||
) |
Definition at line 179 of file equitycoupon.cpp.
EquityLeg & withNotional | ( | Real | notional | ) |
Definition at line 186 of file equitycoupon.cpp.
EquityLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 191 of file equitycoupon.cpp.
EquityLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 196 of file equitycoupon.cpp.
EquityLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 201 of file equitycoupon.cpp.
EquityLeg & withPaymentLag | ( | Natural | paymentLag | ) |
Definition at line 206 of file equitycoupon.cpp.
EquityLeg & withPaymentCalendar | ( | const Calendar & | calendar | ) |
Definition at line 211 of file equitycoupon.cpp.
EquityLeg & withReturnType | ( | EquityReturnType | returnType | ) |
Definition at line 216 of file equitycoupon.cpp.
EquityLeg & withDividendFactor | ( | Real | dividendFactor | ) |
Definition at line 221 of file equitycoupon.cpp.
EquityLeg & withInitialPrice | ( | Real | initialPrice | ) |
Definition at line 226 of file equitycoupon.cpp.
Definition at line 231 of file equitycoupon.cpp.
EquityLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 236 of file equitycoupon.cpp.
EquityLeg & withValuationSchedule | ( | const Schedule & | valuationSchedule | ) |
Definition at line 241 of file equitycoupon.cpp.
Definition at line 246 of file equitycoupon.cpp.
EquityLeg & withQuantity | ( | Real | quantity | ) |
Definition at line 251 of file equitycoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 256 of file equitycoupon.cpp.
|
private |
Definition at line 182 of file equitycoupon.hpp.
|
private |
Definition at line 183 of file equitycoupon.hpp.
|
private |
Definition at line 184 of file equitycoupon.hpp.
|
private |
Definition at line 185 of file equitycoupon.hpp.
|
private |
Definition at line 186 of file equitycoupon.hpp.
|
private |
Definition at line 187 of file equitycoupon.hpp.
|
private |
Definition at line 188 of file equitycoupon.hpp.
|
private |
Definition at line 189 of file equitycoupon.hpp.
|
private |
Definition at line 190 of file equitycoupon.hpp.
|
private |
Definition at line 191 of file equitycoupon.hpp.
|
private |
Definition at line 192 of file equitycoupon.hpp.
|
private |
Definition at line 193 of file equitycoupon.hpp.
|
private |
Definition at line 194 of file equitycoupon.hpp.
|
private |
Definition at line 195 of file equitycoupon.hpp.
|
private |
Definition at line 196 of file equitycoupon.hpp.
|
private |
Definition at line 197 of file equitycoupon.hpp.