Black volatility surface that monotonises the variance in an existing surface. More...
#include <qle/termstructures/blackmonotonevarvoltermstructure.hpp>
Classes | |
class | closeDouble |
Public Member Functions | |
BlackMonotoneVarVolTermStructure (const Handle< BlackVolTermStructure > &vol, const std::vector< Time > &timePoints) | |
Constructor takes a BlackVolTermStructure and an array of time points which required monotonic variance. More... | |
const Handle< BlackVolTermStructure > & | underlyingVol () const |
return the underlying vol surface More... | |
TermStructure interface | |
const Date & | referenceDate () const override |
Date | maxDate () const override |
Natural | settlementDays () const override |
Calendar | calendar () const override |
Observer interface | |
void | update () override |
VolatilityTermStructure interface | |
Real | minStrike () const override |
Real | maxStrike () const override |
Visitability | |
Handle< BlackVolTermStructure > | vol_ |
std::vector< Time > | timePoints_ |
std::map< Real, std::vector< Real >, closeDouble > | monoVars_ |
virtual void | accept (AcyclicVisitor &) override |
virtual Real | blackVarianceImpl (Time t, Real strike) const override |
virtual Volatility | blackVolImpl (Time t, Real strike) const override |
void | setMonotoneVar (const Real &strike) const |
Real | getMonotoneVar (const Time &t, const Real &strike) const |
Black volatility surface that monotonises the variance in an existing surface.
This class is used when monotonic variance is required
\ingroup termstructures
Definition at line 40 of file blackmonotonevarvoltermstructure.hpp.
BlackMonotoneVarVolTermStructure | ( | const Handle< BlackVolTermStructure > & | vol, |
const std::vector< Time > & | timePoints | ||
) |
Constructor takes a BlackVolTermStructure and an array of time points which required monotonic variance.
This will work with both a floating and fixed reference date underlying surface, since we are reimplementing the reference date and update methods
Definition at line 45 of file blackmonotonevarvoltermstructure.hpp.
const Handle< BlackVolTermStructure > & underlyingVol | ( | ) | const |
return the underlying vol surface
Definition at line 51 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 55 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 56 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 57 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 58 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 61 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 68 of file blackmonotonevarvoltermstructure.hpp.
|
override |
Definition at line 69 of file blackmonotonevarvoltermstructure.hpp.
|
overridevirtual |
Definition at line 113 of file blackmonotonevarvoltermstructure.hpp.
|
overrideprotectedvirtual |
Definition at line 76 of file blackmonotonevarvoltermstructure.hpp.
|
overrideprotectedvirtual |
Definition at line 77 of file blackmonotonevarvoltermstructure.hpp.
|
protected |
Definition at line 79 of file blackmonotonevarvoltermstructure.hpp.
|
protected |
Definition at line 91 of file blackmonotonevarvoltermstructure.hpp.
|
private |
Definition at line 99 of file blackmonotonevarvoltermstructure.hpp.
|
private |
Definition at line 100 of file blackmonotonevarvoltermstructure.hpp.
|
mutableprivate |
Definition at line 109 of file blackmonotonevarvoltermstructure.hpp.