Takes a SwaptionVolatilityMatrix with fixed reference date and turns it into a floating reference date term. More...
#include <qle/termstructures/dynamicswaptionvolmatrix.hpp>
Public Member Functions | |
DynamicSwaptionVolatilityMatrix (const QuantLib::ext::shared_ptr< SwaptionVolatilityStructure > &source, Natural settlementDays, const Calendar &calendar, ReactionToTimeDecay decayMode=ConstantVariance) | |
Protected Member Functions | |
const Period & | maxSwapTenor () const override |
QuantLib::ext::shared_ptr< SmileSection > | smileSectionImpl (Time optionTime, Time swapLength) const override |
Volatility | volatilityImpl (Time optionTime, Time swapLength, Rate strike) const override |
Real | shiftImpl (Time optionTime, Time swapLength) const override |
Real | minStrike () const override |
Real | maxStrike () const override |
Date | maxDate () const override |
void | update () override |
VolatilityType | volatilityType () const override |
Private Attributes | |
const QuantLib::ext::shared_ptr< SwaptionVolatilityStructure > | source_ |
ReactionToTimeDecay | decayMode_ |
const Date | originalReferenceDate_ |
VolatilityType | volatilityType_ |
Takes a SwaptionVolatilityMatrix with fixed reference date and turns it into a floating reference date term.
This class takes a SwaptionVolatilityMatrix with fixed reference date and turns it into a floating reference date term structure. There are different ways of reacting to time decay that can be specified.
Definition at line 45 of file dynamicswaptionvolmatrix.hpp.
DynamicSwaptionVolatilityMatrix | ( | const QuantLib::ext::shared_ptr< SwaptionVolatilityStructure > & | source, |
Natural | settlementDays, | ||
const Calendar & | calendar, | ||
ReactionToTimeDecay | decayMode = ConstantVariance |
||
) |
Definition at line 25 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 32 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 34 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 42 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 60 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 74 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 76 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 78 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 90 of file dynamicswaptionvolmatrix.cpp.
|
overrideprotected |
Definition at line 78 of file dynamicswaptionvolmatrix.hpp.
|
private |
Definition at line 72 of file dynamicswaptionvolmatrix.hpp.
|
private |
Definition at line 73 of file dynamicswaptionvolmatrix.hpp.
|
private |
Definition at line 74 of file dynamicswaptionvolmatrix.hpp.
|
private |
Definition at line 75 of file dynamicswaptionvolmatrix.hpp.