public class VolatilityOvernightInArrearsCapletFloorletPeriodPricer extends Object
The pricing methodologies are defined in individual implementations of the volatilities, IborCapletFloorletVolatilities.
The volatilities are stored in IborCapletFloorletVolatilities, it should be understood as "TermRateCapletFloorletVolatilities".
The pricing is based on "interpolated volatilities" for the compounded in-arrears rates, in particular Section 6.3 of the reference below. Reference: A. Lyashenko and F. Mercurio. Looking forward to backward-looking rates: A modeling frame- work for term rates replacing LIBOR. SSRN Working Paper 3330240, March 2019.
| Modifier and Type | Field and Description |
|---|---|
static VolatilityOvernightInArrearsCapletFloorletPeriodPricer |
DEFAULT
Default implementation.
|
| Constructor and Description |
|---|
VolatilityOvernightInArrearsCapletFloorletPeriodPricer() |
| Modifier and Type | Method and Description |
|---|---|
double |
adjustedVolatility(double startTime,
double endTime,
double volatility)
Volatility adjusted for the decrease of forward rate volatility in the composition period.
|
CurrencyAmount |
presentValue(OvernightInArrearsCapletFloorletPeriod period,
RatesProvider ratesProvider,
IborCapletFloorletVolatilities volatilities)
Calculates the present value of the overnight in-arrears caplet/floorlet period.
|
PointSensitivityBuilder |
presentValueSensitivityModelParamsVolatility(OvernightInArrearsCapletFloorletPeriod period,
RatesProvider ratesProvider,
IborCapletFloorletVolatilities volatilities)
Computes the present value sensitivity to the volatilities.
|
PointSensitivityBuilder |
presentValueSensitivityRatesStickyStrike(OvernightInArrearsCapletFloorletPeriod period,
RatesProvider ratesProvider,
IborCapletFloorletVolatilities volatilities)
Computes the present value sensitivity to the rate with a volatility "sticky strike".
|
public static final VolatilityOvernightInArrearsCapletFloorletPeriodPricer DEFAULT
public VolatilityOvernightInArrearsCapletFloorletPeriodPricer()
public CurrencyAmount presentValue(OvernightInArrearsCapletFloorletPeriod period, RatesProvider ratesProvider, IborCapletFloorletVolatilities volatilities)
The result is expressed using the currency of the period.
period - the caplet/floorlet periodratesProvider - the rates providervolatilities - the volatilitiespublic PointSensitivityBuilder presentValueSensitivityRatesStickyStrike(OvernightInArrearsCapletFloorletPeriod period, RatesProvider ratesProvider, IborCapletFloorletVolatilities volatilities)
period - the caplet/floorlet periodratesProvider - the rates providervolatilities - the volatilitiespublic PointSensitivityBuilder presentValueSensitivityModelParamsVolatility(OvernightInArrearsCapletFloorletPeriod period, RatesProvider ratesProvider, IborCapletFloorletVolatilities volatilities)
period - the caplet/floorlet periodratesProvider - the rates providervolatilities - the volatilitiespublic double adjustedVolatility(double startTime,
double endTime,
double volatility)
startTime - the start timeendTime - the end timevolatility - the volatilityCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.