Class BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
- java.lang.Object
-
- com.opengamma.strata.measure.fxopt.BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
-
- All Implemented Interfaces:
FxOptionVolatilitiesSpecification
,Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification extends Object implements FxOptionVolatilitiesSpecification, org.joda.beans.ImmutableBean, Serializable
The specification of how to build FX option volatilities.This is the specification for a single volatility object,
BlackFxOptionSurfaceVolatilities
. The underlying surface in the volatilities isInterpolatedNodalSurface
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder
The bean-builder forBlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
.static class
BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Meta
The meta-bean forBlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.opengamma.strata.measure.fxopt.FxOptionVolatilitiesSpecification
getParameterCount, volatilitiesInputs
-
-
-
-
Method Detail
-
volatilities
public BlackFxOptionSurfaceVolatilities volatilities(ZonedDateTime valuationDateTime, DoubleArray parameters, ReferenceData refData)
Description copied from interface:FxOptionVolatilitiesSpecification
Creates FX option volatilities.The number and ordering of
parameters
must be coherent to those of nodes,#getNodes()
.- Specified by:
volatilities
in interfaceFxOptionVolatilitiesSpecification
- Parameters:
valuationDateTime
- the valuation date timeparameters
- the parametersrefData
- the reference data- Returns:
- the volatilities
-
meta
public static BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Meta meta()
The meta-bean forBlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
.- Returns:
- the meta-bean, not null
-
builder
public static BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder builder()
Returns a builder used to create an instance of the bean.- Returns:
- the builder, not null
-
metaBean
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Meta metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getName
public FxOptionVolatilitiesName getName()
Gets the name.- Specified by:
getName
in interfaceFxOptionVolatilitiesSpecification
- Returns:
- the value of the property, not null
-
getCurrencyPair
public CurrencyPair getCurrencyPair()
Gets the currencyPair.- Specified by:
getCurrencyPair
in interfaceFxOptionVolatilitiesSpecification
- Returns:
- the value of the property, not null
-
getDayCount
public DayCount getDayCount()
Gets the dayCount.- Returns:
- the value of the property, not null
-
getNodes
public ImmutableList<FxOptionVolatilitiesNode> getNodes()
Gets the nodes.- Specified by:
getNodes
in interfaceFxOptionVolatilitiesSpecification
- Returns:
- the value of the property, not null
-
getTimeInterpolator
public CurveInterpolator getTimeInterpolator()
Gets the interpolator used in the time dimension.- Returns:
- the value of the property, not null
-
getTimeExtrapolatorLeft
public CurveExtrapolator getTimeExtrapolatorLeft()
Gets the left extrapolator used in the time dimension.- Returns:
- the value of the property, not null
-
getTimeExtrapolatorRight
public CurveExtrapolator getTimeExtrapolatorRight()
Gets the right extrapolator used in the time dimension.- Returns:
- the value of the property, not null
-
getStrikeInterpolator
public CurveInterpolator getStrikeInterpolator()
Gets the interpolator used in the strike dimension.- Returns:
- the value of the property, not null
-
getStrikeExtrapolatorLeft
public CurveExtrapolator getStrikeExtrapolatorLeft()
Gets the left extrapolator used in the strike dimension.- Returns:
- the value of the property, not null
-
getStrikeExtrapolatorRight
public CurveExtrapolator getStrikeExtrapolatorRight()
Gets the right extrapolator used in the strike dimension.- Returns:
- the value of the property, not null
-
toBuilder
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder toBuilder()
Returns a builder that allows this bean to be mutated.- Returns:
- the mutable builder, not null
-
-