26#include <ql/quote.hpp>
27#include <ql/termstructures/yieldtermstructure.hpp>
28#include <ql/time/daycounters/actualactual.hpp>
30#include <ql/exercise.hpp>
31#include <ql/index.hpp>
32#include <ql/instruments/europeanoption.hpp>
33#include <ql/pricingengines/vanilla/analyticeuropeanengine.hpp>
67 const QuantLib::ext::shared_ptr<QuantLib::Index>& index2,
68 const QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess>& process1,
69 const QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess>& process2,
70 const Handle<YieldTermStructure>& discountingTS, Handle<Quote> correlation);
76 const Date& evalDate)
const;
80 QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess>
process1_;
81 QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess>
process2_;
base class for pairwise variance-swap engines
Handle< Quote > correlation_
QuantLib::ext::shared_ptr< Index > index2_
void calculate() const override
Handle< YieldTermStructure > discountingTS_
Variances calculateVariances(const Schedule &valuationSchedule, const Schedule &laggedValuationSchedule, const Date &evalDate) const
QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > process2_
QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > process1_
QuantLib::ext::shared_ptr< Index > index1_
Real futureBasketVariance
Real accruedBasketVariance