Interface BlackIborCapletFloorletVolatilities
-
- All Superinterfaces:
IborCapletFloorletVolatilities
,MarketDataView
,ParameterizedData
- All Known Implementing Classes:
BlackIborCapletFloorletExpiryFlatVolatilities
,BlackIborCapletFloorletExpiryStrikeVolatilities
,ShiftedBlackIborCapletFloorletExpiryStrikeVolatilities
public interface BlackIborCapletFloorletVolatilities extends IborCapletFloorletVolatilities
Volatility for Ibor caplet/floorlet in the log-normal or Black model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ValueType
getVolatilityType()
Gets the type of volatility returned by theIborCapletFloorletVolatilities.volatility(java.time.ZonedDateTime, double, double)
method.BlackIborCapletFloorletVolatilities
withParameter(int parameterIndex, double newValue)
Returns a copy of the data with the value at the specified index altered.BlackIborCapletFloorletVolatilities
withPerturbation(ParameterPerturbation perturbation)
Returns a perturbed copy of the data.-
Methods inherited from interface com.opengamma.strata.pricer.capfloor.IborCapletFloorletVolatilities
getIndex, getName, getValuationDate, getValuationDateTime, parameterSensitivity, parameterSensitivity, price, priceDelta, priceGamma, priceTheta, priceVega, relativeTime, volatility, volatility
-
Methods inherited from interface com.opengamma.strata.market.MarketDataView
findData
-
Methods inherited from interface com.opengamma.strata.market.param.ParameterizedData
findParameterIndex, getParameter, getParameterCount, getParameterMetadata
-
-
-
-
Method Detail
-
getVolatilityType
default ValueType getVolatilityType()
Description copied from interface:IborCapletFloorletVolatilities
Gets the type of volatility returned by theIborCapletFloorletVolatilities.volatility(java.time.ZonedDateTime, double, double)
method.- Specified by:
getVolatilityType
in interfaceIborCapletFloorletVolatilities
- Returns:
- the type
-
withParameter
BlackIborCapletFloorletVolatilities withParameter(int parameterIndex, double newValue)
Description copied from interface:ParameterizedData
Returns a copy of the data with the value at the specified index altered.This instance is immutable and unaffected by this method call.
- Specified by:
withParameter
in interfaceIborCapletFloorletVolatilities
- Specified by:
withParameter
in interfaceParameterizedData
- Parameters:
parameterIndex
- the zero-based index of the parameter to getnewValue
- the new value for the specified parameter- Returns:
- a parameterized data instance based on this with the specified parameter altered
-
withPerturbation
BlackIborCapletFloorletVolatilities withPerturbation(ParameterPerturbation perturbation)
Description copied from interface:ParameterizedData
Returns a perturbed copy of the data.The perturbation instance will be invoked once for each parameter in this instance, returning the perturbed value for that parameter. The result of this method is a new instance that is based on those perturbed values.
This instance is immutable and unaffected by this method call.
- Specified by:
withPerturbation
in interfaceIborCapletFloorletVolatilities
- Specified by:
withPerturbation
in interfaceParameterizedData
- Parameters:
perturbation
- the perturbation to apply- Returns:
- a parameterized data instance based on this with the specified perturbation applied
-
-