| Package | Description |
|---|---|
| com.opengamma.strata.pricer.impl.rate.model |
Internal implementations of analytic models.
|
| com.opengamma.strata.pricer.model |
Common code for model pricing.
|
| Modifier and Type | Method and Description |
|---|---|
double |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.alpha(HullWhiteOneFactorPiecewiseConstantParameters data,
double startExpiry,
double endExpiry,
double numeraireTime,
double bondMaturity)
Calculates the (zero-coupon) bond volatility divided by a bond numeraire, i.e., alpha, for a given period.
|
ValueDerivatives |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.alphaAdjoint(HullWhiteOneFactorPiecewiseConstantParameters data,
double startExpiry,
double endExpiry,
double numeraireTime,
double bondMaturity)
Calculates the (zero-coupon) bond volatility divided by a bond numeraire, i.e., alpha, for a given period and
its derivatives.
|
double |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.beta(HullWhiteOneFactorPiecewiseConstantParameters data,
double startExpiry,
double endExpiry)
Calculates the beta parameter.
|
double |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.futuresConvexityFactor(HullWhiteOneFactorPiecewiseConstantParameters data,
double t0,
double t1,
double t2)
Calculates the future convexity factor used in future pricing.
|
ValueDerivatives |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.futuresConvexityFactorAdjoint(HullWhiteOneFactorPiecewiseConstantParameters data,
double t0,
double t1,
double t2)
Calculates the future convexity factor and its derivatives with respect to the model volatilities.
|
double |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.paymentDelayConvexityFactor(HullWhiteOneFactorPiecewiseConstantParameters parameters,
double startExpiry,
double endExpiry,
double u,
double v,
double tp)
Calculates the payment delay convexity factor used in coupons with mismatched dates pricing.
|
DoubleMatrix |
HullWhiteOneFactorPiecewiseConstantInterestRateModel.volatilityMaturityPart(HullWhiteOneFactorPiecewiseConstantParameters hwParameters,
double u,
DoubleMatrix v)
Calculates the maturity dependent part of the volatility (function called H in the implementation note).
|
| Modifier and Type | Method and Description |
|---|---|
HullWhiteOneFactorPiecewiseConstantParameters |
HullWhiteOneFactorPiecewiseConstantParametersProvider.getParameters()
Gets the Hull-White model parameters.
|
static HullWhiteOneFactorPiecewiseConstantParameters |
HullWhiteOneFactorPiecewiseConstantParameters.of(double meanReversion,
DoubleArray volatility,
DoubleArray volatilityTime)
Obtains an instance from the model parameters.
|
HullWhiteOneFactorPiecewiseConstantParameters |
HullWhiteOneFactorPiecewiseConstantParameters.withLastVolatility(double volatility)
Returns a copy with the last volatility of the volatility parameters changed.
|
HullWhiteOneFactorPiecewiseConstantParameters |
HullWhiteOneFactorPiecewiseConstantParameters.withVolatility(DoubleArray volatility)
Returns a copy with the volatility parameters changed.
|
HullWhiteOneFactorPiecewiseConstantParameters |
HullWhiteOneFactorPiecewiseConstantParameters.withVolatilityAdded(double volatility,
double volatilityTime)
Returns a copy with an extra volatility and volatility time added at the end of the respective arrays.
|
| Modifier and Type | Method and Description |
|---|---|
static org.joda.beans.TypedMetaBean<HullWhiteOneFactorPiecewiseConstantParameters> |
HullWhiteOneFactorPiecewiseConstantParameters.meta()
The meta-bean for
HullWhiteOneFactorPiecewiseConstantParameters. |
org.joda.beans.TypedMetaBean<HullWhiteOneFactorPiecewiseConstantParameters> |
HullWhiteOneFactorPiecewiseConstantParameters.metaBean() |
org.joda.beans.MetaProperty<HullWhiteOneFactorPiecewiseConstantParameters> |
HullWhiteOneFactorPiecewiseConstantParametersProvider.Meta.parameters()
The meta-property for the
parameters property. |
| Modifier and Type | Method and Description |
|---|---|
static HullWhiteOneFactorPiecewiseConstantParametersProvider |
HullWhiteOneFactorPiecewiseConstantParametersProvider.of(HullWhiteOneFactorPiecewiseConstantParameters parameters,
DayCount dayCount,
LocalDate valuationDate,
LocalTime valuationTime,
ZoneId valuationZone)
Obtains an instance from Hull-White model parameters and the date, time and zone for which it is valid.
|
static HullWhiteOneFactorPiecewiseConstantParametersProvider |
HullWhiteOneFactorPiecewiseConstantParametersProvider.of(HullWhiteOneFactorPiecewiseConstantParameters parameters,
DayCount dayCount,
ZonedDateTime valuationDateTime)
Obtains an instance from Hull-White model parameters and the date-time for which it is valid.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.