Helper class building a sequence of commodity indexed average cashflows. More...
#include <qle/cashflows/commodityindexedaveragecashflow.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::Calendar | pricingCalendar_ |
std::vector< QuantLib::Real > | spreads_ |
std::vector< QuantLib::Real > | gearings_ |
CommodityIndexedAverageCashFlow::PaymentTiming | paymentTiming_ |
bool | useFuturePrice_ |
QuantLib::Natural | deliveryDateRoll_ |
QuantLib::Natural | futureMonthOffset_ |
ext::shared_ptr< FutureExpiryCalculator > | calc_ |
bool | payAtMaturity_ |
bool | includeEndDate_ |
bool | excludeStartDate_ |
std::vector< QuantLib::Date > | paymentDates_ |
bool | useBusinessDays_ |
CommodityQuantityFrequency | quantityFrequency_ |
QuantLib::Natural | hoursPerDay_ |
QuantLib::Natural | dailyExpiryOffset_ |
bool | unrealisedQuantity_ |
boost::optional< std::pair< QuantLib::Calendar, QuantLib::Real > > | offPeakPowerData_ |
ext::shared_ptr< FxIndex > | fxIndex_ |
Helper class building a sequence of commodity indexed average cashflows.
Definition at line 174 of file commodityindexedaveragecashflow.hpp.
CommodityIndexedAverageLeg | ( | const QuantLib::Schedule & | schedule, |
const ext::shared_ptr< CommodityIndex > & | index | ||
) |
Definition at line 279 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withQuantities | ( | QuantLib::Real | quantity | ) |
CommodityIndexedAverageLeg & withQuantities | ( | const std::vector< QuantLib::Real > & | quantities | ) |
CommodityIndexedAverageLeg & withPaymentLag | ( | QuantLib::Natural | paymentLag | ) |
Definition at line 299 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withPaymentCalendar | ( | const QuantLib::Calendar & | paymentCalendar | ) |
Definition at line 304 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withPaymentConvention | ( | QuantLib::BusinessDayConvention | paymentConvention | ) |
Definition at line 309 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withPricingCalendar | ( | const QuantLib::Calendar & | pricingCalendar | ) |
Definition at line 314 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withSpreads | ( | QuantLib::Real | spread | ) |
CommodityIndexedAverageLeg & withSpreads | ( | const std::vector< QuantLib::Real > & | spreads | ) |
CommodityIndexedAverageLeg & withGearings | ( | QuantLib::Real | gearing | ) |
CommodityIndexedAverageLeg & withGearings | ( | const std::vector< QuantLib::Real > & | gearings | ) |
CommodityIndexedAverageLeg & paymentTiming | ( | CommodityIndexedAverageCashFlow::PaymentTiming | paymentTiming | ) |
Definition at line 340 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & useFuturePrice | ( | bool | flag = false | ) |
Definition at line 345 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withDeliveryDateRoll | ( | QuantLib::Natural | deliveryDateRoll | ) |
Definition at line 350 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withFutureMonthOffset | ( | QuantLib::Natural | futureMonthOffset | ) |
Definition at line 355 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withFutureExpiryCalculator | ( | const ext::shared_ptr< FutureExpiryCalculator > & | calc = nullptr | ) |
Definition at line 361 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & payAtMaturity | ( | bool | flag = false | ) |
Definition at line 366 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & includeEndDate | ( | bool | flag = true | ) |
Definition at line 371 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & excludeStartDate | ( | bool | flag = true | ) |
Definition at line 376 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withPaymentDates | ( | const std::vector< QuantLib::Date > & | paymentDates | ) |
Definition at line 381 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & useBusinessDays | ( | bool | flag = true | ) |
Definition at line 386 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withQuantityFrequency | ( | CommodityQuantityFrequency | quantityFrequency | ) |
Definition at line 391 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withHoursPerDay | ( | QuantLib::Natural | hoursPerDay | ) |
Definition at line 397 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withDailyExpiryOffset | ( | QuantLib::Natural | dailyExpiryOffset | ) |
Definition at line 402 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & unrealisedQuantity | ( | bool | flag = false | ) |
Definition at line 407 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withOffPeakPowerData | ( | const boost::optional< std::pair< QuantLib::Calendar, QuantLib::Real > > & | offPeakPowerData | ) |
Definition at line 417 of file commodityindexedaveragecashflow.cpp.
CommodityIndexedAverageLeg & withFxIndex | ( | const ext::shared_ptr< FxIndex > & | fxIndex | ) |
Definition at line 412 of file commodityindexedaveragecashflow.cpp.
operator Leg | ( | ) | const |
Definition at line 422 of file commodityindexedaveragecashflow.cpp.
|
private |
Definition at line 210 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 211 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 212 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 213 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 214 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 215 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 216 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 217 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 218 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 219 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 220 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 221 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 222 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 223 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 224 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 225 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 226 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 227 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 228 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 229 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 230 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 231 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 232 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 233 of file commodityindexedaveragecashflow.hpp.
|
private |
Definition at line 234 of file commodityindexedaveragecashflow.hpp.