Pairwise Variance swap. More...
#include <qle/instruments/pairwisevarianceswap.hpp>
Classes | |
class | arguments |
Arguments More... | |
class | engine |
base class for pairwise variance-swap engines More... | |
class | results |
Results from pairwise variance-swap calculation More... | |
Public Member Functions | |
PairwiseVarianceSwap (const Position::Type position, const Real strike1, const Real strike2, const Real basketStrike, const Real notional1, const Real notional2, const Real basketNotional, const Real cap, const Real floor, const Real payoffLimit, const int accrualLag, const Schedule valuationSchedule, const Schedule laggedValuationSchedule, const Date settlementDate) | |
Instrument interface | |
bool | isExpired () const override |
Additional interface | |
Position::Type | position_ |
Real | strike1_ |
Real | strike2_ |
Real | basketStrike_ |
Real | notional1_ |
Real | notional2_ |
Real | basketNotional_ |
Real | cap_ |
Real | floor_ |
Real | payoffLimit_ |
int | accrualLag_ |
Schedule | valuationSchedule_ |
Schedule | laggedValuationSchedule_ |
Date | settlementDate_ |
Real | variance1_ |
Real | finalVariance1_ |
Real | variance2_ |
Real | finalVariance2_ |
Real | basketVariance_ |
Real | finalBasketVariance_ |
Position::Type | position () const |
Real | strike1 () const |
Real | strike2 () const |
Real | basketStrike () const |
Real | notional1 () const |
Real | notional2 () const |
Real | basketNotional () const |
Real | cap () const |
Real | floor () const |
Real | payoffLimit () const |
int | accrualLag () const |
Schedule | valuationSchedule () const |
Schedule | laggedValuationSchedule () const |
Date | settlementDate () const |
Real | variance1 () const |
Real | variance2 () const |
Real | basketVariance () const |
void | setupArguments (PricingEngine::arguments *args) const override |
void | fetchResults (const PricingEngine::results *) const override |
void | setupExpired () const override |
Pairwise Variance swap.
Definition at line 36 of file pairwisevarianceswap.hpp.
PairwiseVarianceSwap | ( | const Position::Type | position, |
const Real | strike1, | ||
const Real | strike2, | ||
const Real | basketStrike, | ||
const Real | notional1, | ||
const Real | notional2, | ||
const Real | basketNotional, | ||
const Real | cap, | ||
const Real | floor, | ||
const Real | payoffLimit, | ||
const int | accrualLag, | ||
const Schedule | valuationSchedule, | ||
const Schedule | laggedValuationSchedule, | ||
const Date | settlementDate | ||
) |
Definition at line 25 of file pairwisevarianceswap.cpp.
|
override |
Definition at line 110 of file pairwisevarianceswap.cpp.
Position::Type position | ( | ) | const |
Definition at line 158 of file pairwisevarianceswap.hpp.
Real strike1 | ( | ) | const |
Definition at line 160 of file pairwisevarianceswap.hpp.
Real strike2 | ( | ) | const |
Definition at line 162 of file pairwisevarianceswap.hpp.
Real basketStrike | ( | ) | const |
Definition at line 164 of file pairwisevarianceswap.hpp.
Real notional1 | ( | ) | const |
Definition at line 166 of file pairwisevarianceswap.hpp.
Real notional2 | ( | ) | const |
Definition at line 168 of file pairwisevarianceswap.hpp.
Real basketNotional | ( | ) | const |
Definition at line 170 of file pairwisevarianceswap.hpp.
Real cap | ( | ) | const |
Definition at line 172 of file pairwisevarianceswap.hpp.
Real floor | ( | ) | const |
Definition at line 174 of file pairwisevarianceswap.hpp.
Real payoffLimit | ( | ) | const |
Definition at line 176 of file pairwisevarianceswap.hpp.
int accrualLag | ( | ) | const |
Definition at line 178 of file pairwisevarianceswap.hpp.
Schedule valuationSchedule | ( | ) | const |
Definition at line 180 of file pairwisevarianceswap.hpp.
Schedule laggedValuationSchedule | ( | ) | const |
Definition at line 182 of file pairwisevarianceswap.hpp.
Date settlementDate | ( | ) | const |
Definition at line 184 of file pairwisevarianceswap.hpp.
Real variance1 | ( | ) | const |
Definition at line 34 of file pairwisevarianceswap.cpp.
Real variance2 | ( | ) | const |
Definition at line 40 of file pairwisevarianceswap.cpp.
Real basketVariance | ( | ) | const |
Definition at line 46 of file pairwisevarianceswap.cpp.
|
override |
Definition at line 52 of file pairwisevarianceswap.cpp.
|
override |
Definition at line 72 of file pairwisevarianceswap.cpp.
|
overrideprotected |
Definition at line 112 of file pairwisevarianceswap.cpp.
|
protected |
Definition at line 79 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 80 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 81 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 82 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 83 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 84 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 85 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 86 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 87 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 88 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 89 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 90 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 90 of file pairwisevarianceswap.hpp.
|
protected |
Definition at line 91 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 93 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 94 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 95 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 96 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 97 of file pairwisevarianceswap.hpp.
|
mutableprotected |
Definition at line 98 of file pairwisevarianceswap.hpp.