24#ifndef quantlib_energy_basis_swap_hpp
25#define quantlib_energy_basis_swap_hpp
37 ext::shared_ptr<CommodityIndex> spreadIndex,
38 ext::shared_ptr<CommodityIndex>
payIndex,
51 const ext::shared_ptr<CommodityIndex>&
payIndex()
const {
const ext::shared_ptr< SecondaryCosts > & secondaryCosts() const
void performCalculations() const override
ext::shared_ptr< CommodityIndex > payIndex_
ext::shared_ptr< CommodityIndex > spreadIndex_
const ext::shared_ptr< CommodityIndex > & receiveIndex() const
Handle< YieldTermStructure > payLegTermStructure_
const ext::shared_ptr< CommodityIndex > & payIndex() const
ext::shared_ptr< CommodityIndex > receiveIndex_
Handle< YieldTermStructure > receiveLegTermStructure_
const CommodityUnitCost & basis() const
Handle< YieldTermStructure > discountTermStructure_
const Calendar & calendar() const
const Currency & payCurrency() const
const PricingPeriods & pricingPeriods() const
const Currency & receiveCurrency() const
const CommodityType & commodityType() const
Shared handle to an observable.
std::vector< ext::shared_ptr< PricingPeriod > > PricingPeriods
Interest-rate term structure.