Logo
Reference manual - version qle_version
PairwiseVarianceSwapEngine Class Reference
Inheritance diagram for PairwiseVarianceSwapEngine:

Public Member Functions

 PairwiseVarianceSwapEngine (const QuantLib::ext::shared_ptr< QuantLib::Index > &index1, const QuantLib::ext::shared_ptr< QuantLib::Index > &index2, const QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > &process1, const QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > &process2, const Handle< YieldTermStructure > &discountingTS, Handle< Quote > correlation)
void calculate () const override

Protected Member Functions

Variances calculateVariances (const Schedule &valuationSchedule, const Schedule &laggedValuationSchedule, const Date &evalDate) const

Protected Attributes

QuantLib::ext::shared_ptr< Indexindex1_
QuantLib::ext::shared_ptr< Indexindex2_
QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > process1_
QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > process2_
Handle< YieldTermStructure > discountingTS_
Handle< Quotecorrelation_