Cube that combines an ATM matrix and vol spreads from a cube. More...
#include <qle/termstructures/blackvolconstantspread.hpp>
Public Member Functions | |
BlackVolatilityConstantSpread (const Handle< BlackVolTermStructure > &atm, const Handle< BlackVolTermStructure > &surface) | |
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 | |
Handle< BlackVolTermStructure > | atm_ |
Handle< BlackVolTermStructure > | surface_ |
Rate | minStrike () const override |
Rate | maxStrike () const override |
void | deepUpdate () override |
Volatility | blackVolImpl (Time t, Rate strike) const override |
Real | blackVarianceImpl (Time t, Real strike) const override |
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.
Definition at line 41 of file blackvolconstantspread.hpp.
BlackVolatilityConstantSpread | ( | const Handle< BlackVolTermStructure > & | atm, |
const Handle< BlackVolTermStructure > & | surface | ||
) |
Definition at line 25 of file blackvolconstantspread.cpp.
|
override |
Definition at line 34 of file blackvolconstantspread.cpp.
|
override |
Definition at line 38 of file blackvolconstantspread.cpp.
|
override |
Definition at line 42 of file blackvolconstantspread.cpp.
|
override |
Definition at line 46 of file blackvolconstantspread.cpp.
|
override |
Definition at line 50 of file blackvolconstantspread.cpp.
|
override |
Definition at line 54 of file blackvolconstantspread.cpp.
|
override |
Definition at line 58 of file blackvolconstantspread.cpp.
|
override |
Definition at line 62 of file blackvolconstantspread.cpp.
|
override |
Definition at line 66 of file blackvolconstantspread.cpp.
|
overrideprotected |
Definition at line 71 of file blackvolconstantspread.cpp.
|
overrideprotected |
Definition at line 77 of file blackvolconstantspread.cpp.
|
private |
Definition at line 69 of file blackvolconstantspread.hpp.
|
private |
Definition at line 69 of file blackvolconstantspread.hpp.