29#include <ql/patterns/lazyobject.hpp>
39 CompoEquityIndex(
const QuantLib::ext::shared_ptr<QuantExt::EquityIndex2>&
source,
const QuantLib::ext::shared_ptr<FxIndex>& fxIndex,
40 const Date& dividendCutoffDate = Date());
42 QuantLib::ext::shared_ptr<QuantExt::EquityIndex2>
source()
const;
46 Real
pastFixing(
const Date& fixingDate)
const override;
47 QuantLib::ext::shared_ptr<QuantExt::EquityIndex2>
clone(
const Handle<Quote> spotQuote,
const Handle<YieldTermStructure>& rate,
48 const Handle<YieldTermStructure>& dividend)
const override;
53 QuantLib::ext::shared_ptr<QuantExt::EquityIndex2>
source_;
void performCalculations() const override
const std::set< Dividend > & dividendFixings() const override
QuantLib::ext::shared_ptr< FxIndex > fxIndex_
QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > clone(const Handle< Quote > spotQuote, const Handle< YieldTermStructure > &rate, const Handle< YieldTermStructure > ÷nd) const override
std::set< Dividend > dividendFixings_
QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > source() const
void addDividend(const Dividend ÷nd, bool forceOverwrite=false) override
stores the historical dividend at the given date
QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > source_
Real pastFixing(const Date &fixingDate) const override
returns a past fixing at the given date
equity index class for holding equity fixing histories and forwarding.