Fx Black volatility surface. More...
#include <qle/termstructures/fxblackvolsurface.hpp>
Visitability | |
std::vector< Time > | times_ |
DayCounter | dayCounter_ |
Handle< Quote > | fxSpot_ |
Handle< YieldTermStructure > | domesticTS_ |
Handle< YieldTermStructure > | foreignTS_ |
BlackVarianceCurve | atmCurve_ |
std::vector< Volatility > | rr_ |
std::vector< Volatility > | bf_ |
DeltaVolQuote::AtmType | atmType_ |
DeltaVolQuote::DeltaType | deltaType_ |
Real | delta_ |
Period | switchTenor_ |
DeltaVolQuote::AtmType | longTermAtmType_ |
DeltaVolQuote::DeltaType | longTermDeltaType_ |
Interpolation | rrCurve_ |
Interpolation | bfCurve_ |
Date | maxDate_ |
virtual void | accept (AcyclicVisitor &) override |
boost::shared_ptr< FxSmileSection > | blackVolSmile (Time t) const |
Return an FxSmile for the time t. More... | |
virtual Volatility | blackVolImpl (Time t, Real strike) const override |
virtual boost::shared_ptr< FxSmileSection > | blackVolSmileImpl (Real spot, Real rd, Real rf, Time t, Volatility atm, Volatility rr, Volatility bf) const =0 |
this must be implemented. | |
Fx Black volatility surface.
This class calculates time/strike dependent Black volatilities
boost::shared_ptr<FxSmileSection> blackVolSmile | ( | Time | t | ) | const |
Return an FxSmile for the time t.
Note the smile does not observe the spot or YTS handles, it will not update when they change