Black volatility surface that inverts an existing surface. More...
#include <qle/termstructures/blackinvertedvoltermstructure.hpp>
Inheritance diagram for BlackInvertedVolTermStructure:
Collaboration diagram for BlackInvertedVolTermStructure: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.
Here is the caller graph for this function:
|
override |
Definition at line 54 of file blackinvertedvoltermstructure.hpp.
Here is the caller graph for this function:
|
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.
Here is the call graph for this function:
|
override |
Definition at line 70 of file blackinvertedvoltermstructure.hpp.
Here is the call graph for this function:
|
overridevirtual |
Definition at line 93 of file blackinvertedvoltermstructure.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 84 of file blackinvertedvoltermstructure.hpp.
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Definition at line 85 of file blackinvertedvoltermstructure.hpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Definition at line 86 of file blackinvertedvoltermstructure.hpp.
Here is the call graph for this function:
|
private |
Definition at line 89 of file blackinvertedvoltermstructure.hpp.