public final class BlackFxOptionSmileVolatilitiesSpecification extends Object implements FxOptionVolatilitiesSpecification, org.joda.beans.ImmutableBean, Serializable
This is the specification for a single volatility object, BlackFxOptionSmileVolatilities.
| Modifier and Type | Class and Description |
|---|---|
static class |
BlackFxOptionSmileVolatilitiesSpecification.Builder
The bean-builder for
BlackFxOptionSmileVolatilitiesSpecification. |
static class |
BlackFxOptionSmileVolatilitiesSpecification.Meta
The meta-bean for
BlackFxOptionSmileVolatilitiesSpecification. |
| Modifier and Type | Method and Description |
|---|---|
static BlackFxOptionSmileVolatilitiesSpecification.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
CurrencyPair |
getCurrencyPair()
Gets the currency pair that the volatilities are for.
|
DayCount |
getDayCount()
Gets the day count convention used for the expiry.
|
FxOptionVolatilitiesName |
getName()
Gets the name of the volatilities.
|
ImmutableList<FxOptionVolatilitiesNode> |
getNodes()
Gets the nodes in the FX option volatilities.
|
CurveExtrapolator |
getStrikeExtrapolatorLeft()
Gets the left extrapolator used in the strike dimension.
|
CurveExtrapolator |
getStrikeExtrapolatorRight()
Gets the right extrapolator used in the strike dimension.
|
CurveInterpolator |
getStrikeInterpolator()
Gets the interpolator used in the strike dimension.
|
CurveExtrapolator |
getTimeExtrapolatorLeft()
Gets the left extrapolator used in the time dimension.
|
CurveExtrapolator |
getTimeExtrapolatorRight()
Gets the right extrapolator used in the time dimension.
|
CurveInterpolator |
getTimeInterpolator()
Gets the interpolator used in the time dimension.
|
int |
hashCode() |
static BlackFxOptionSmileVolatilitiesSpecification.Meta |
meta()
The meta-bean for
BlackFxOptionSmileVolatilitiesSpecification. |
BlackFxOptionSmileVolatilitiesSpecification.Meta |
metaBean() |
BlackFxOptionSmileVolatilitiesSpecification.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
BlackFxOptionSmileVolatilities |
volatilities(ZonedDateTime valuationDateTime,
DoubleArray parameters,
ReferenceData refData)
Creates FX option volatilities.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParameterCount, volatilitiesInputspublic BlackFxOptionSmileVolatilities volatilities(ZonedDateTime valuationDateTime, DoubleArray parameters, ReferenceData refData)
FxOptionVolatilitiesSpecification
The number and ordering of parameters must be coherent to those of nodes, #getNodes().
volatilities in interface FxOptionVolatilitiesSpecificationvaluationDateTime - the valuation date timeparameters - the parametersrefData - the reference datapublic static BlackFxOptionSmileVolatilitiesSpecification.Meta meta()
BlackFxOptionSmileVolatilitiesSpecification.public static BlackFxOptionSmileVolatilitiesSpecification.Builder builder()
public BlackFxOptionSmileVolatilitiesSpecification.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic FxOptionVolatilitiesName getName()
getName in interface FxOptionVolatilitiesSpecificationpublic CurrencyPair getCurrencyPair()
getCurrencyPair in interface FxOptionVolatilitiesSpecificationpublic DayCount getDayCount()
public ImmutableList<FxOptionVolatilitiesNode> getNodes()
The nodes are used to find the quotes and build the volatilities.
getNodes in interface FxOptionVolatilitiesSpecificationpublic CurveInterpolator getTimeInterpolator()
public CurveExtrapolator getTimeExtrapolatorLeft()
public CurveExtrapolator getTimeExtrapolatorRight()
public CurveInterpolator getStrikeInterpolator()
public CurveExtrapolator getStrikeExtrapolatorLeft()
public CurveExtrapolator getStrikeExtrapolatorRight()
public BlackFxOptionSmileVolatilitiesSpecification.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.