Swaption cube that combines an ATM matrix and vol spreads from a cube. More...
#include <qle/termstructures/swaptionvolconstantspread.hpp>
Public Member Functions | |
SwaptionVolatilityConstantSpread (const Handle< SwaptionVolatilityStructure > &atm, const Handle< SwaptionVolatilityStructure > &cube) | |
TermStructure interface | |
DayCounter | dayCounter () const override |
Date | maxDate () const override |
Time | maxTime () const override |
const Date & | referenceDate () const override |
Calendar | calendar () const override |
Natural | settlementDays () const override |
VolatilityTermStructure interface | |
Rate | minStrike () const override |
Rate | maxStrike () const override |
SwaptionVolatilityStructure interface | |
const Period & | maxSwapTenor () const override |
VolatilityType | volatilityType () const override |
Observer interface | |
Handle< SwaptionVolatilityStructure > | atm_ |
Handle< SwaptionVolatilityStructure > | cube_ |
void | deepUpdate () override |
const Handle< SwaptionVolatilityStructure > & | atmVol () |
const Handle< SwaptionVolatilityStructure > & | cube () |
QuantLib::ext::shared_ptr< SmileSection > | smileSectionImpl (Time optionTime, Time swapLength) const override |
Volatility | volatilityImpl (Time optionTime, Time swapLength, Rate strike) const override |
Swaption cube that combines an ATM matrix and vol spreads from a cube.
Notice that the TS has a floating reference date and accesses the source TS only via their time-based volatility methods.
the given atm vol structure should be strike independent, this is not checked
the given cube must provide smile sections that provide an ATM level
Definition at line 69 of file swaptionvolconstantspread.hpp.
SwaptionVolatilityConstantSpread | ( | const Handle< SwaptionVolatilityStructure > & | atm, |
const Handle< SwaptionVolatilityStructure > & | cube | ||
) |
Definition at line 71 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 82 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 83 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 84 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 85 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 86 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 87 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 90 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 91 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 95 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 96 of file swaptionvolconstantspread.hpp.
|
override |
Definition at line 45 of file swaptionvolconstantspread.cpp.
const Handle< SwaptionVolatilityStructure > & atmVol | ( | ) |
Definition at line 102 of file swaptionvolconstantspread.hpp.
const Handle< SwaptionVolatilityStructure > & cube | ( | ) |
Definition at line 103 of file swaptionvolconstantspread.hpp.
|
overrideprotected |
Definition at line 32 of file swaptionvolconstantspread.cpp.
|
overrideprotected |
Definition at line 37 of file swaptionvolconstantspread.cpp.
|
private |
Definition at line 111 of file swaptionvolconstantspread.hpp.
|
private |
Definition at line 111 of file swaptionvolconstantspread.hpp.