public final class BondFutureOptionSensitivity 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 |
BondFutureOptionSensitivity.Meta
The meta-bean for
BondFutureOptionSensitivity. |
| Modifier and Type | Method and Description |
|---|---|
MutablePointSensitivities |
buildInto(MutablePointSensitivities combination) |
BondFutureOptionSensitivity |
cloned() |
int |
compareKey(PointSensitivity other) |
BondFutureOptionSensitivity |
convertedTo(Currency resultCurrency,
FxRateProvider rateProvider) |
boolean |
equals(Object obj) |
Currency |
getCurrency()
Gets the currency of the sensitivity.
|
double |
getExpiry()
Gets the expiry date-time of the option.
|
LocalDate |
getFutureExpiryDate()
Gets the expiry date of the underlying future.
|
double |
getFuturePrice()
Gets the underlying future price.
|
double |
getSensitivity()
Gets the value of the sensitivity.
|
double |
getStrikePrice()
Gets the option strike price.
|
BondFutureVolatilitiesName |
getVolatilitiesName()
Gets the name of the volatilities.
|
int |
hashCode() |
BondFutureOptionSensitivity |
mapSensitivity(DoubleUnaryOperator operator) |
static BondFutureOptionSensitivity.Meta |
meta()
The meta-bean for
BondFutureOptionSensitivity. |
BondFutureOptionSensitivity.Meta |
metaBean() |
BondFutureOptionSensitivity |
multipliedBy(double factor) |
BondFutureOptionSensitivity |
normalize() |
static BondFutureOptionSensitivity |
of(BondFutureVolatilitiesName volatilitiesName,
double expiry,
LocalDate futureExpiryDate,
double strikePrice,
double futurePrice,
Currency sensitivityCurrency,
double sensitivity)
Obtains an instance based on the security ID.
|
String |
toString() |
BondFutureOptionSensitivity |
withCurrency(Currency currency) |
BondFutureOptionSensitivity |
withSensitivity(double sensitivity) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, combinedWith, none, of, ofpublic static BondFutureOptionSensitivity of(BondFutureVolatilitiesName volatilitiesName, double expiry, LocalDate futureExpiryDate, double strikePrice, double futurePrice, Currency sensitivityCurrency, double sensitivity)
volatilitiesName - the name of the volatilitiesexpiry - the time to expiry of the option as a year fractionfutureExpiryDate - the expiry 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 BondFutureOptionSensitivity withCurrency(Currency currency)
withCurrency in interface PointSensitivitywithCurrency in interface PointSensitivityBuilderpublic BondFutureOptionSensitivity withSensitivity(double sensitivity)
withSensitivity in interface PointSensitivitypublic int compareKey(PointSensitivity other)
compareKey in interface PointSensitivitypublic BondFutureOptionSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider)
convertedTo in interface FxConvertible<PointSensitivity>convertedTo in interface PointSensitivitypublic BondFutureOptionSensitivity multipliedBy(double factor)
multipliedBy in interface PointSensitivityBuilderpublic BondFutureOptionSensitivity mapSensitivity(DoubleUnaryOperator operator)
mapSensitivity in interface PointSensitivityBuilderpublic BondFutureOptionSensitivity normalize()
normalize in interface PointSensitivityBuilderpublic MutablePointSensitivities buildInto(MutablePointSensitivities combination)
buildInto in interface PointSensitivityBuilderpublic BondFutureOptionSensitivity cloned()
cloned in interface PointSensitivityBuilderpublic static BondFutureOptionSensitivity.Meta meta()
BondFutureOptionSensitivity.public BondFutureOptionSensitivity.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic BondFutureVolatilitiesName getVolatilitiesName()
public double getExpiry()
public LocalDate getFutureExpiryDate()
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.