Helper class building a sequence of commodity indexed cashflows. More...
#include <qle/cashflows/commodityindexedcashflow.hpp>
Private Attributes | |
Schedule | schedule_ |
ext::shared_ptr< CommodityIndex > | index_ |
std::vector< QuantLib::Real > | quantities_ |
QuantLib::Natural | paymentLag_ |
QuantLib::Calendar | paymentCalendar_ |
QuantLib::BusinessDayConvention | paymentConvention_ |
QuantLib::Natural | pricingLag_ |
QuantLib::Calendar | pricingLagCalendar_ |
std::vector< QuantLib::Real > | spreads_ |
std::vector< QuantLib::Real > | gearings_ |
CommodityIndexedCashFlow::PaymentTiming | paymentTiming_ |
bool | inArrears_ |
bool | useFuturePrice_ |
bool | useFutureExpiryDate_ |
QuantLib::Natural | futureMonthOffset_ |
ext::shared_ptr< FutureExpiryCalculator > | calc_ |
bool | payAtMaturity_ |
std::vector< QuantLib::Date > | pricingDates_ |
std::vector< QuantLib::Date > | paymentDates_ |
QuantLib::Natural | dailyExpiryOffset_ |
ext::shared_ptr< FxIndex > | fxIndex_ |
bool | isAveraging_ |
QuantLib::Calendar | pricingCalendar_ |
bool | includeEndDate_ |
bool | excludeStartDate_ |
Helper class building a sequence of commodity indexed cashflows.
Definition at line 146 of file commodityindexedcashflow.hpp.
CommodityIndexedLeg | ( | const QuantLib::Schedule & | schedule, |
const ext::shared_ptr< CommodityIndex > & | index | ||
) |
Definition at line 191 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withQuantities | ( | QuantLib::Real | quantity | ) |
CommodityIndexedLeg & withQuantities | ( | const std::vector< QuantLib::Real > & | quantities | ) |
CommodityIndexedLeg & withPaymentLag | ( | QuantLib::Natural | paymentLag | ) |
Definition at line 208 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPaymentCalendar | ( | const QuantLib::Calendar & | paymentCalendar | ) |
Definition at line 213 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPaymentConvention | ( | QuantLib::BusinessDayConvention | paymentConvention | ) |
Definition at line 218 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPricingLag | ( | QuantLib::Natural | pricingLag | ) |
Definition at line 223 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPricingLagCalendar | ( | const QuantLib::Calendar & | pricingLagCalendar | ) |
Definition at line 228 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withSpreads | ( | QuantLib::Real | spread | ) |
CommodityIndexedLeg & withSpreads | ( | const std::vector< QuantLib::Real > & | spreads | ) |
CommodityIndexedLeg & withGearings | ( | QuantLib::Real | gearing | ) |
CommodityIndexedLeg & withGearings | ( | const std::vector< QuantLib::Real > & | gearings | ) |
CommodityIndexedLeg & paymentTiming | ( | CommodityIndexedCashFlow::PaymentTiming | paymentTiming | ) |
Definition at line 253 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & inArrears | ( | bool | flag = true | ) |
Definition at line 258 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & useFuturePrice | ( | bool | flag = false | ) |
Definition at line 263 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & useFutureExpiryDate | ( | bool | flag = true | ) |
Definition at line 268 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withFutureMonthOffset | ( | QuantLib::Natural | futureMonthOffset | ) |
Definition at line 273 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withFutureExpiryCalculator | ( | const ext::shared_ptr< FutureExpiryCalculator > & | calc = nullptr | ) |
Definition at line 279 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & payAtMaturity | ( | bool | flag = false | ) |
Definition at line 284 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPricingDates | ( | const std::vector< QuantLib::Date > & | pricingDates | ) |
Definition at line 289 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPaymentDates | ( | const std::vector< QuantLib::Date > & | paymentDates | ) |
Definition at line 294 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withDailyExpiryOffset | ( | QuantLib::Natural | dailyExpiryOffset | ) |
Definition at line 299 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withFxIndex | ( | const ext::shared_ptr< FxIndex > & | fxIndex | ) |
Definition at line 304 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withIsAveraging | ( | const bool | isAveraging | ) |
Definition at line 309 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & withPricingCalendar | ( | const QuantLib::Calendar & | pricingCalendar | ) |
Definition at line 314 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & includeEndDate | ( | bool | flag = true | ) |
Definition at line 319 of file commodityindexedcashflow.cpp.
CommodityIndexedLeg & excludeStartDate | ( | bool | flag = true | ) |
Definition at line 324 of file commodityindexedcashflow.cpp.
operator Leg | ( | ) | const |
Definition at line 329 of file commodityindexedcashflow.cpp.
|
private |
Definition at line 180 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 181 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 182 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 183 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 184 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 185 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 186 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 187 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 188 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 189 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 190 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 191 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 192 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 193 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 194 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 195 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 196 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 197 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 198 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 199 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 200 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 201 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 202 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 203 of file commodityindexedcashflow.hpp.
|
private |
Definition at line 204 of file commodityindexedcashflow.hpp.