Black volatility surface that inverts an existing surface. More...
#include <qle/termstructures/blackinvertedvoltermstructure.hpp>
Public Member Functions | |
BlackInvertedVolTermStructure (const Handle< BlackVolTermStructure > &vol) | |
Constructor takes a BlackVolTermStructure and takes everything from that. 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_ |
virtual void | accept (AcyclicVisitor &) override |
Real | invertedStrike (Real strike) const |
virtual Real | blackVarianceImpl (Time t, Real strike) const override |
virtual Volatility | blackVolImpl (Time t, Real strike) const override |
Black volatility surface that inverts an existing surface.
This class is used when one wants a USD/EUR volatility, at a given USD/EUR strike when only a EUR/USD volatility surface is present.
\ingroup termstructures
Definition at line 38 of file blackinvertedvoltermstructure.hpp.
BlackInvertedVolTermStructure | ( | const Handle< BlackVolTermStructure > & | vol | ) |
Constructor takes a BlackVolTermStructure and takes everything from that.
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 43 of file blackinvertedvoltermstructure.hpp.
const Handle< BlackVolTermStructure > & underlyingVol | ( | ) | const |
|
override |
Definition at line 53 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 54 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 55 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 56 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 59 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 63 of file blackinvertedvoltermstructure.hpp.
|
override |
Definition at line 70 of file blackinvertedvoltermstructure.hpp.
|
overridevirtual |
Definition at line 93 of file blackinvertedvoltermstructure.hpp.
|
protected |
Definition at line 84 of file blackinvertedvoltermstructure.hpp.
|
overrideprotectedvirtual |
Definition at line 85 of file blackinvertedvoltermstructure.hpp.
|
overrideprotectedvirtual |
Definition at line 86 of file blackinvertedvoltermstructure.hpp.
|
private |
Definition at line 89 of file blackinvertedvoltermstructure.hpp.