helper class building a sequence of equity margin coupons More...
#include <qle/cashflows/equitymargincoupon.hpp>
Public Member Functions | |
EquityMarginLeg (const Schedule &schedule, const QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > &equityCurve, const QuantLib::ext::shared_ptr< FxIndex > &fxIndex=nullptr) | |
EquityMarginLeg & | withCouponRates (Rate, const DayCounter &paymentDayCounter, Compounding comp=Simple, Frequency freq=Annual) |
EquityMarginLeg & | withCouponRates (const std::vector< Rate > &, const DayCounter &paymentDayCounter, Compounding comp=Simple, Frequency freq=Annual) |
EquityMarginLeg & | withCouponRates (const InterestRate &) |
EquityMarginLeg & | withCouponRates (const std::vector< InterestRate > &) |
EquityMarginLeg & | withInitialMarginFactor (const Real &marginFactor) |
EquityMarginLeg & | withNotional (Real notional) |
EquityMarginLeg & | withNotionals (const std::vector< Real > ¬ionals) |
EquityMarginLeg & | withPaymentDayCounter (const DayCounter &dayCounter) |
EquityMarginLeg & | withPaymentAdjustment (BusinessDayConvention convention) |
EquityMarginLeg & | withPaymentLag (Natural paymentLag) |
EquityMarginLeg & | withPaymentCalendar (const Calendar &calendar) |
EquityMarginLeg & | withTotalReturn (bool) |
EquityMarginLeg & | withDividendFactor (Real) |
EquityMarginLeg & | withInitialPrice (Real) |
EquityMarginLeg & | withInitialPriceIsInTargetCcy (bool) |
EquityMarginLeg & | withFixingDays (Natural) |
EquityMarginLeg & | withValuationSchedule (const Schedule &valuationSchedule) |
EquityMarginLeg & | withNotionalReset (bool) |
EquityMarginLeg & | withQuantity (Real) |
EquityMarginLeg & | withMultiplier (Real) |
operator Leg () const | |
Private Attributes | |
std::vector< InterestRate > | couponRates_ |
Real | marginFactor_ |
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_ |
bool | isTotalReturn_ |
Real | initialPrice_ |
bool | initialPriceIsInTargetCcy_ |
Real | dividendFactor_ |
Natural | fixingDays_ |
Schedule | valuationSchedule_ |
bool | notionalReset_ |
Real | quantity_ |
Real | multiplier_ |
helper class building a sequence of equity margin coupons
Definition at line 153 of file equitymargincoupon.hpp.
EquityMarginLeg | ( | const Schedule & | schedule, |
const QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > & | equityCurve, | ||
const QuantLib::ext::shared_ptr< FxIndex > & | fxIndex = nullptr |
||
) |
Definition at line 126 of file equitymargincoupon.cpp.
EquityMarginLeg & withCouponRates | ( | Rate | , |
const DayCounter & | paymentDayCounter, | ||
Compounding | comp = Simple , |
||
Frequency | freq = Annual |
||
) |
EquityMarginLeg & withCouponRates | ( | const std::vector< Rate > & | , |
const DayCounter & | paymentDayCounter, | ||
Compounding | comp = Simple , |
||
Frequency | freq = Annual |
||
) |
EquityMarginLeg & withCouponRates | ( | const InterestRate & | i | ) |
Definition at line 139 of file equitymargincoupon.cpp.
EquityMarginLeg & withCouponRates | ( | const std::vector< InterestRate > & | interestRates | ) |
Definition at line 155 of file equitymargincoupon.cpp.
EquityMarginLeg & withInitialMarginFactor | ( | const Real & | marginFactor | ) |
Definition at line 161 of file equitymargincoupon.cpp.
EquityMarginLeg & withNotional | ( | Real | notional | ) |
Definition at line 166 of file equitymargincoupon.cpp.
EquityMarginLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 171 of file equitymargincoupon.cpp.
EquityMarginLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 176 of file equitymargincoupon.cpp.
EquityMarginLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 181 of file equitymargincoupon.cpp.
EquityMarginLeg & withPaymentLag | ( | Natural | paymentLag | ) |
Definition at line 186 of file equitymargincoupon.cpp.
EquityMarginLeg & withPaymentCalendar | ( | const Calendar & | calendar | ) |
Definition at line 191 of file equitymargincoupon.cpp.
EquityMarginLeg & withTotalReturn | ( | bool | totalReturn | ) |
Definition at line 196 of file equitymargincoupon.cpp.
EquityMarginLeg & withDividendFactor | ( | Real | dividendFactor | ) |
Definition at line 201 of file equitymargincoupon.cpp.
EquityMarginLeg & withInitialPrice | ( | Real | initialPrice | ) |
Definition at line 206 of file equitymargincoupon.cpp.
EquityMarginLeg & withInitialPriceIsInTargetCcy | ( | bool | initialPriceIsInTargetCcy | ) |
Definition at line 216 of file equitymargincoupon.cpp.
EquityMarginLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 221 of file equitymargincoupon.cpp.
EquityMarginLeg & withValuationSchedule | ( | const Schedule & | valuationSchedule | ) |
Definition at line 226 of file equitymargincoupon.cpp.
EquityMarginLeg & withNotionalReset | ( | bool | notionalReset | ) |
Definition at line 231 of file equitymargincoupon.cpp.
EquityMarginLeg & withQuantity | ( | Real | quantity | ) |
Definition at line 236 of file equitymargincoupon.cpp.
EquityMarginLeg & withMultiplier | ( | Real | multiplier | ) |
Definition at line 211 of file equitymargincoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 241 of file equitymargincoupon.cpp.
|
private |
Definition at line 191 of file equitymargincoupon.hpp.
|
private |
Definition at line 192 of file equitymargincoupon.hpp.
|
private |
Definition at line 193 of file equitymargincoupon.hpp.
|
private |
Definition at line 194 of file equitymargincoupon.hpp.
|
private |
Definition at line 195 of file equitymargincoupon.hpp.
|
private |
Definition at line 196 of file equitymargincoupon.hpp.
|
private |
Definition at line 197 of file equitymargincoupon.hpp.
|
private |
Definition at line 198 of file equitymargincoupon.hpp.
|
private |
Definition at line 199 of file equitymargincoupon.hpp.
|
private |
Definition at line 200 of file equitymargincoupon.hpp.
|
private |
Definition at line 201 of file equitymargincoupon.hpp.
|
private |
Definition at line 202 of file equitymargincoupon.hpp.
|
private |
Definition at line 203 of file equitymargincoupon.hpp.
|
private |
Definition at line 204 of file equitymargincoupon.hpp.
|
private |
Definition at line 205 of file equitymargincoupon.hpp.
|
private |
Definition at line 206 of file equitymargincoupon.hpp.
|
private |
Definition at line 207 of file equitymargincoupon.hpp.
|
private |
Definition at line 208 of file equitymargincoupon.hpp.
|
private |
Definition at line 209 of file equitymargincoupon.hpp.