SABR smile interpolation between discrete volatility points. More...
#include <qle/models/normalsabrinterpolation.hpp>
Public Member Functions | |
template<class I1 , class I2 > | |
NormalSABRInterpolation (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, Time t, const Real &forward, Real alpha, Real nu, Real rho, bool alphaIsFixed, bool nuIsFixed, bool rhoIsFixed, bool vegaWeighted=true, const Size atmStrikeIndex=Null< Size >(), const bool implyAlphaFromAtmVol=false, const QuantLib::ext::shared_ptr< EndCriteria > &endCriteria=QuantLib::ext::shared_ptr< EndCriteria >(), const QuantLib::ext::shared_ptr< OptimizationMethod > &optMethod=QuantLib::ext::shared_ptr< OptimizationMethod >(), const Real errorAccept=0.0002, const bool useMaxError=false, const Size maxGuesses=50) | |
Real | expiry () const |
Real | forward () const |
Real | alpha () const |
Real | nu () const |
Real | rho () const |
Real | rmsError () const |
Real | maxError () const |
const std::vector< Real > & | interpolationWeights () const |
EndCriteria::Type | endCriteria () |
Private Attributes | |
QuantLib::ext::shared_ptr< QuantLib::detail::XABRCoeffHolder< detail::NormalSABRSpecs > > | coeffs_ |
SABR smile interpolation between discrete volatility points.
Definition at line 109 of file normalsabrinterpolation.hpp.
NormalSABRInterpolation | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin, | ||
Time | t, | ||
const Real & | forward, | ||
Real | alpha, | ||
Real | nu, | ||
Real | rho, | ||
bool | alphaIsFixed, | ||
bool | nuIsFixed, | ||
bool | rhoIsFixed, | ||
bool | vegaWeighted = true , |
||
const Size | atmStrikeIndex = Null<Size>() , |
||
const bool | implyAlphaFromAtmVol = false , |
||
const QuantLib::ext::shared_ptr< EndCriteria > & | endCriteria = QuantLib::ext::shared_ptr<EndCriteria>() , |
||
const QuantLib::ext::shared_ptr< OptimizationMethod > & | optMethod = QuantLib::ext::shared_ptr<OptimizationMethod>() , |
||
const Real | errorAccept = 0.0002 , |
||
const bool | useMaxError = false , |
||
const Size | maxGuesses = 50 |
||
) |
Definition at line 112 of file normalsabrinterpolation.hpp.
Real expiry | ( | ) | const |
Definition at line 139 of file normalsabrinterpolation.hpp.
Real forward | ( | ) | const |
Definition at line 140 of file normalsabrinterpolation.hpp.
Real alpha | ( | ) | const |
Definition at line 141 of file normalsabrinterpolation.hpp.
Real nu | ( | ) | const |
Definition at line 142 of file normalsabrinterpolation.hpp.
Real rho | ( | ) | const |
Definition at line 143 of file normalsabrinterpolation.hpp.
Real rmsError | ( | ) | const |
Definition at line 144 of file normalsabrinterpolation.hpp.
Real maxError | ( | ) | const |
Definition at line 145 of file normalsabrinterpolation.hpp.
const std::vector< Real > & interpolationWeights | ( | ) | const |
Definition at line 146 of file normalsabrinterpolation.hpp.
EndCriteria::Type endCriteria | ( | ) |
Definition at line 147 of file normalsabrinterpolation.hpp.
|
private |
Definition at line 150 of file normalsabrinterpolation.hpp.