Variance swap. More...
#include <qle/instruments/varianceswap.hpp>
Classes | |
class | arguments |
Arguments for forward fair-variance calculation More... | |
class | engine |
base class for variance-swap engines More... | |
class | results |
Results from variance-swap calculation More... | |
Public Member Functions | |
VarianceSwap2 (Position::Type position, Real strike, Real notional, const Date &startDate, const Date &maturityDate, const Calendar &calendar, bool addPastDividends) | |
Additional interface | |
Calendar | calendar_ |
bool | addPastDividends_ |
Calendar | calendar () const |
bool | addPastDividends () const |
void | setupArguments (PricingEngine::arguments *args) const override |
Variance swap.
Definition at line 36 of file varianceswap.hpp.
VarianceSwap2 | ( | Position::Type | position, |
Real | strike, | ||
Real | notional, | ||
const Date & | startDate, | ||
const Date & | maturityDate, | ||
const Calendar & | calendar, | ||
bool | addPastDividends | ||
) |
Definition at line 23 of file varianceswap.cpp.
Calendar calendar | ( | ) | const |
Definition at line 75 of file varianceswap.hpp.
bool addPastDividends | ( | ) | const |
Definition at line 77 of file varianceswap.hpp.
|
override |
Definition at line 28 of file varianceswap.cpp.
|
protected |
Definition at line 54 of file varianceswap.hpp.
|
protected |
Definition at line 55 of file varianceswap.hpp.