public final class SabrInArrearsVolatilityFunction extends Object implements org.joda.beans.ImmutableBean, Serializable
The parameter "q" in the formula is a parameter such that 1-q is closely related to a mean reversion. It is defaulted to q=1 in the default instance of the formula.
Reference: Willems, Sander. SABR smiles for RFR caplets. August 2020. Electronic copy available at: https://ssrn.com/abstract=3567655
| Modifier and Type | Class and Description |
|---|---|
static class |
SabrInArrearsVolatilityFunction.Builder
The bean-builder for
SabrInArrearsVolatilityFunction. |
static class |
SabrInArrearsVolatilityFunction.Meta
The meta-bean for
SabrInArrearsVolatilityFunction. |
| Modifier and Type | Field and Description |
|---|---|
static SabrInArrearsVolatilityFunction |
DEFAULT
Default implementation with q = 1;
|
| Modifier and Type | Method and Description |
|---|---|
static SabrInArrearsVolatilityFunction.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
SabrFormulaData |
effectiveSabr(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
effectiveSabrAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
SabrFormulaData |
effectiveSabrAfterStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
effectiveSabrAfterStartAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters and their derivatives from the raw SABR parameters and the times.
|
SabrFormulaData |
effectiveSabrBeforeStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
effectiveSabrBeforeStartAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters and their derivatives from the raw SABR parameters and the times.
|
boolean |
equals(Object obj) |
double |
getQ()
Gets the mean reversion related parameter.
|
int |
hashCode() |
static SabrInArrearsVolatilityFunction.Meta |
meta()
The meta-bean for
SabrInArrearsVolatilityFunction. |
SabrInArrearsVolatilityFunction.Meta |
metaBean() |
static SabrInArrearsVolatilityFunction |
of(double q)
Obtains an instance.
|
SabrInArrearsVolatilityFunction.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static final SabrInArrearsVolatilityFunction DEFAULT
public SabrFormulaData effectiveSabrBeforeStart(SabrFormulaData parameters, double tau0, double tau1)
Theorem 4.2 in reference.
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic SabrFormulaData effectiveSabrAfterStart(SabrFormulaData parameters, double tau0, double tau1)
Theorem 4.1 in reference.
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic SabrFormulaData effectiveSabr(SabrFormulaData parameters, double tau0, double tau1)
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic List<ValueDerivatives> effectiveSabrAfterStartAd(SabrFormulaData parameters, double tau0, double tau1)
The results are provided as a list of ValueDerivatives corresponding to alpha, beta, rho and nu and with each derivatives part containing the derivatives with respect to alpha, beta, rho, nu, tau0 and tau1.
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic List<ValueDerivatives> effectiveSabrBeforeStartAd(SabrFormulaData parameters, double tau0, double tau1)
The results are provided as a list of ValueDerivatives corresponding to alpha, beta, rho and nu and with each derivatives part containing the derivatives with respect to alpha, beta, rho, nu, tau0 and tau1.
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic List<ValueDerivatives> effectiveSabrAd(SabrFormulaData parameters, double tau0, double tau1)
parameters - the raw SABR parameterstau0 - the accumulation period start timetau1 - the accumulation period end timepublic static SabrInArrearsVolatilityFunction.Meta meta()
SabrInArrearsVolatilityFunction.public static SabrInArrearsVolatilityFunction of(double q)
q - the value of the propertypublic static SabrInArrearsVolatilityFunction.Builder builder()
public SabrInArrearsVolatilityFunction.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getQ()
public SabrInArrearsVolatilityFunction.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.