public interface SabrSwaptionVolatilities extends SwaptionVolatilities
The volatility is represented in terms of SABR model parameters.
The prices are calculated using the SABR implied volatility with respect to the Black formula.
| Modifier and Type | Method and Description |
|---|---|
double |
alpha(double expiry,
double tenor)
Calculates the alpha parameter for a pair of time to expiry and instrument tenor.
|
double |
beta(double expiry,
double tenor)
Calculates the beta parameter for a pair of time to expiry and instrument tenor.
|
default PointSensitivityBuilder |
convertSwaptionSensitivity(SwaptionSensitivity swptSensi)
Convert a
SwaptionSensitivity for a expiry, tenor and strike in the associated SABR parameter
sensitivities. |
double |
nu(double expiry,
double tenor)
Calculates the nu parameter for a pair of time to expiry and instrument tenor.
|
double |
rho(double expiry,
double tenor)
Calculates the rho parameter for a pair of time to expiry and instrument tenor.
|
double |
shift(double expiry,
double tenor)
Calculates the shift parameter for the specified time to expiry and instrument tenor.
|
ValueDerivatives |
volatilityAdjoint(double expiry,
double tenor,
double strike,
double forward)
Calculates the volatility and associated sensitivities.
|
SabrSwaptionVolatilities |
withParameter(int parameterIndex,
double newValue) |
SabrSwaptionVolatilities |
withPerturbation(ParameterPerturbation perturbation) |
getConvention, getName, getValuationDate, getValuationDateTime, getVolatilityType, parameterSensitivity, parameterSensitivity, price, priceDelta, priceGamma, priceTheta, priceVega, relativeTime, tenor, volatility, volatilityfindDatafindParameterIndex, getParameter, getParameterCount, getParameterMetadataSabrSwaptionVolatilities withParameter(int parameterIndex, double newValue)
withParameter in interface ParameterizedDatawithParameter in interface SwaptionVolatilitiesSabrSwaptionVolatilities withPerturbation(ParameterPerturbation perturbation)
withPerturbation in interface ParameterizedDatawithPerturbation in interface SwaptionVolatilitiesdouble alpha(double expiry,
double tenor)
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractiondouble beta(double expiry,
double tenor)
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractiondouble rho(double expiry,
double tenor)
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractiondouble nu(double expiry,
double tenor)
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractiondouble shift(double expiry,
double tenor)
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractionValueDerivatives volatilityAdjoint(double expiry, double tenor, double strike, double forward)
The derivatives are stored in an array with:
expiry - the time to expiry as a year fractiontenor - the tenor of the instrument as a year fractionstrike - the strikeforward - the forwarddefault PointSensitivityBuilder convertSwaptionSensitivity(SwaptionSensitivity swptSensi)
SwaptionSensitivity for a expiry, tenor and strike in the associated SABR parameter
sensitivities.swptSensi - the swaption volatility sensitivity at a given strikeCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.