#include <qle/termstructures/spreadedyoyvolsurface.hpp>
Definition at line 36 of file spreadedyoyvolsurface.hpp.
◆ SpreadedYoYVolatilitySurface()
Definition at line 27 of file spreadedyoyvolsurface.cpp.
32 baseVol->dayCounter(), baseVol->observationLag(), baseVol->frequency(),
33 baseVol->indexIsInterpolated(), baseVol->volatilityType(), baseVol->displacement()),
38 for (auto const& v : volSpreads)
39 for (auto const& q : v)
40 registerWith(q);
41}
Handle< YoYOptionletVolatilitySurface > baseVol_
std::vector< Date > optionDates_
std::vector< Real > strikes_
std::vector< Real > optionTimes_
std::vector< std::vector< Handle< Quote > > > volSpreads_
◆ minStrike()
◆ maxStrike()
◆ maxDate()
◆ maxTime()
◆ referenceDate()
const Date & referenceDate |
( |
| ) |
const |
|
override |
◆ update()
◆ deepUpdate()
◆ volatilityImpl()
Volatility volatilityImpl |
( |
Time |
length, |
|
|
Rate |
strike |
|
) |
| const |
|
overrideprotected |
◆ performCalculations()
void performCalculations |
( |
| ) |
const |
|
overrideprotected |
◆ baseVol_
◆ optionDates_
std::vector<Date> optionDates_ |
|
private |
◆ strikes_
std::vector<Real> strikes_ |
|
private |
◆ volSpreads_
std::vector<std::vector<Handle<Quote> > > volSpreads_ |
|
private |
◆ optionTimes_
std::vector<Real> optionTimes_ |
|
mutableprivate |
◆ volSpreadValues_
◆ volSpreadInterpolation_
Interpolation2D volSpreadInterpolation_ |
|
mutableprivate |