| Package | Description |
|---|---|
| com.opengamma.strata.pricer.impl.option |
Internal implementations of option pricing.
|
| com.opengamma.strata.pricer.impl.volatility.smile |
Internal implementations of volatility smile.
|
| Modifier and Type | Method and Description |
|---|---|
SabrFormulaData |
SabrExtrapolationRightFunction.getSabrData()
Gets the underlying SABR data.
|
| Modifier and Type | Method and Description |
|---|---|
static SabrExtrapolationRightFunction |
SabrExtrapolationRightFunction.of(double forward,
double timeToExpiry,
SabrFormulaData sabrData,
double cutOffStrike,
double mu)
Obtains an instance with default volatility provider.
|
static SabrExtrapolationRightFunction |
SabrExtrapolationRightFunction.of(double forward,
SabrFormulaData sabrData,
double cutOffStrike,
double timeToExpiry,
double mu,
VolatilityFunctionProvider<SabrFormulaData> volatilityFunction)
Obtains an instance with volatility provider specified.
|
| Modifier and Type | Method and Description |
|---|---|
static SabrExtrapolationRightFunction |
SabrExtrapolationRightFunction.of(double forward,
SabrFormulaData sabrData,
double cutOffStrike,
double timeToExpiry,
double mu,
VolatilityFunctionProvider<SabrFormulaData> volatilityFunction)
Obtains an instance with volatility provider specified.
|
| Modifier and Type | Method and Description |
|---|---|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabr(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabrAfterStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabrBeforeStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
static SabrFormulaData |
SabrFormulaData.of(double[] parameters)
Obtains an instance of the SABR formula data.
|
static SabrFormulaData |
SabrFormulaData.of(double alpha,
double beta,
double rho,
double nu)
Obtains an instance of the SABR formula data.
|
SabrFormulaData |
SabrModelFitter.toSmileModelData(DoubleArray modelParameters) |
SabrFormulaData |
SabrFormulaData.with(int index,
double value) |
SabrFormulaData |
SabrFormulaData.withAlpha(double alpha)
Returns a copy of this instance with alpha replaced.
|
SabrFormulaData |
SabrFormulaData.withBeta(double beta)
Returns a copy of this instance with beta replaced.
|
SabrFormulaData |
SabrFormulaData.withNu(double nu)
Returns a copy of this instance with nu replaced.
|
SabrFormulaData |
SabrFormulaData.withRho(double rho)
Returns a copy of this instance with rho replaced.
|
| Modifier and Type | Method and Description |
|---|---|
static org.joda.beans.TypedMetaBean<SabrFormulaData> |
SabrFormulaData.meta()
The meta-bean for
SabrFormulaData. |
org.joda.beans.TypedMetaBean<SabrFormulaData> |
SabrFormulaData.metaBean() |
| Modifier and Type | Method and Description |
|---|---|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabr(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
SabrInArrearsVolatilityFunction.effectiveSabrAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabrAfterStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
SabrInArrearsVolatilityFunction.effectiveSabrAfterStartAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters and their derivatives from the raw SABR parameters and the times.
|
SabrFormulaData |
SabrInArrearsVolatilityFunction.effectiveSabrBeforeStart(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters from the raw SABR parameters and the times.
|
List<ValueDerivatives> |
SabrInArrearsVolatilityFunction.effectiveSabrBeforeStartAd(SabrFormulaData parameters,
double tau0,
double tau1)
The effective SABR parameters and their derivatives from the raw SABR parameters and the times.
|
double |
SabrHaganVolatilityFunctionProvider.volatility(double forward,
double strike,
double timeToExpiry,
SabrFormulaData data) |
ValueDerivatives |
SabrHaganVolatilityFunctionProvider.volatilityAdjoint(double forward,
double strike,
double timeToExpiry,
SabrFormulaData data)
Computes the implied volatility in the SABR model and its derivatives.
|
double |
SabrHaganVolatilityFunctionProvider.volatilityAdjoint2(double forward,
double strike,
double timeToExpiry,
SabrFormulaData data,
double[] volatilityD,
double[][] volatilityD2)
Computes the first and second order derivatives of the Black implied volatility in the SABR model.
|
| Constructor and Description |
|---|
SabrModelFitter(double forward,
DoubleArray strikes,
double timeToExpiry,
DoubleArray impliedVols,
DoubleArray error,
VolatilityFunctionProvider<SabrFormulaData> model)
Constructs SABR model fitter from forward, strikes, time to expiry, implied volatilities and error values.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.