public final class OvernightFutureOptionSensitivity extends Object implements PointSensitivity, PointSensitivityBuilder, org.joda.beans.ImmutableBean, Serializable
Holds the sensitivity to a specific volatility point.
| Modifier and Type | Class and Description |
|---|---|
static class |
OvernightFutureOptionSensitivity.Meta
The meta-bean for
OvernightFutureOptionSensitivity. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, combinedWith, none, of, ofpublic static OvernightFutureOptionSensitivity of(OvernightFutureOptionVolatilitiesName volatilitiesName, double expiry, LocalDate fixingDate, double strikePrice, double futurePrice, Currency sensitivityCurrency, double sensitivity)
volatilitiesName - the name of the volatilitiesexpiry - the expiry date-time of the option as a year fractionfixingDate - the fixing date of the underlying futurestrikePrice - the strike price of the optionfuturePrice - the price of the underlying futuresensitivityCurrency - the currency of the sensitivitysensitivity - the value of the sensitivitypublic OvernightFutureOptionSensitivity withCurrency(Currency currency)
withCurrency in interface PointSensitivitywithCurrency in interface PointSensitivityBuilderpublic OvernightFutureOptionSensitivity withSensitivity(double sensitivity)
withSensitivity in interface PointSensitivitypublic int compareKey(PointSensitivity other)
compareKey in interface PointSensitivitypublic OvernightFutureOptionSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider)
convertedTo in interface FxConvertible<PointSensitivity>convertedTo in interface PointSensitivitypublic OvernightFutureOptionSensitivity multipliedBy(double factor)
multipliedBy in interface PointSensitivityBuilderpublic OvernightFutureOptionSensitivity mapSensitivity(DoubleUnaryOperator operator)
mapSensitivity in interface PointSensitivityBuilderpublic OvernightFutureOptionSensitivity normalize()
normalize in interface PointSensitivityBuilderpublic MutablePointSensitivities buildInto(MutablePointSensitivities combination)
buildInto in interface PointSensitivityBuilderpublic OvernightFutureOptionSensitivity cloned()
cloned in interface PointSensitivityBuilderpublic static OvernightFutureOptionSensitivity.Meta meta()
OvernightFutureOptionSensitivity.public OvernightFutureOptionSensitivity.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic OvernightFutureOptionVolatilitiesName getVolatilitiesName()
public double getExpiry()
public LocalDate getFixingDate()
public double getStrikePrice()
public double getFuturePrice()
public Currency getCurrency()
getCurrency in interface PointSensitivitypublic double getSensitivity()
getSensitivity in interface PointSensitivityCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.