Converts OptionletVolatilityStructure with fixed reference date into a floating reference date term structure. More...
#include <qle/termstructures/dynamicoptionletvolatilitystructure.hpp>
Public Member Functions | |
DynamicOptionletVolatilityStructure (const QuantLib::ext::shared_ptr< OptionletVolatilityStructure > &source, Natural settlementDays, const Calendar &calendar, ReactionToTimeDecay decayMode=ConstantVariance) | |
Protected Member Functions | |
OptionletVolatilityStructure interface | |
QuantLib::ext::shared_ptr< SmileSection > | smileSectionImpl (Time optionTime) const override |
Volatility | volatilityImpl (Time optionTime, Rate strike) const override |
VolatilityTermStructure interface | |
Rate | minStrike () const override |
Rate | maxStrike () const override |
Date | maxDate () const override |
Observer interface | |
const QuantLib::ext::shared_ptr< OptionletVolatilityStructure > | source_ |
ReactionToTimeDecay | decayMode_ |
const Date | originalReferenceDate_ |
const VolatilityType | volatilityType_ |
const Real | displacement_ |
void | update () override |
VolatilityType | volatilityType () const override |
Override the default implementations in OptionletVolatilityStructure. More... | |
Real | displacement () const override |
Converts OptionletVolatilityStructure with fixed reference date into a floating reference date term structure.
Different ways of reacting to time decay can be specified.
\ingroup termstructures
Definition at line 43 of file dynamicoptionletvolatilitystructure.hpp.
DynamicOptionletVolatilityStructure | ( | const QuantLib::ext::shared_ptr< OptionletVolatilityStructure > & | source, |
Natural | settlementDays, | ||
const Calendar & | calendar, | ||
ReactionToTimeDecay | decayMode = ConstantVariance |
||
) |
Definition at line 22 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 53 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 57 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 33 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 35 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 37 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Definition at line 51 of file dynamicoptionletvolatilitystructure.cpp.
|
overrideprotected |
Override the default implementations in OptionletVolatilityStructure.
Definition at line 84 of file dynamicoptionletvolatilitystructure.hpp.
|
overrideprotected |
Definition at line 86 of file dynamicoptionletvolatilitystructure.hpp.
|
private |
Definition at line 77 of file dynamicoptionletvolatilitystructure.hpp.
|
private |
Definition at line 78 of file dynamicoptionletvolatilitystructure.hpp.
|
private |
Definition at line 79 of file dynamicoptionletvolatilitystructure.hpp.
|
private |
Definition at line 80 of file dynamicoptionletvolatilitystructure.hpp.
|
private |
Definition at line 81 of file dynamicoptionletvolatilitystructure.hpp.