public final class SwaptionSurfaceExpirySimpleMoneynessParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
This typically represents a node of swaption volatility surface parameterized by expiry and simple moneyness.
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.Meta
The meta-bean for
SwaptionSurfaceExpirySimpleMoneynessParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pair<Double,Double> |
getIdentifier() |
String |
getLabel()
Gets the label that describes the node.
|
double |
getSimpleMoneyness()
Gets the simple moneyness of the surface node.
|
double |
getYearFraction()
Gets the year fraction of the surface node.
|
int |
hashCode() |
static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.Meta |
meta()
The meta-bean for
SwaptionSurfaceExpirySimpleMoneynessParameterMetadata. |
SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.Meta |
metaBean() |
static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata |
of(double yearFraction,
double simpleMoneyness)
Creates node metadata using swap convention, year fraction and simple moneyness.
|
static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata |
of(double yearFraction,
double simpleMoneyness,
String label)
Creates node using swap convention, year fraction, simple moneyness and label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata of(double yearFraction, double simpleMoneyness)
yearFraction - the year fractionsimpleMoneyness - the simple moneynesspublic static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata of(double yearFraction, double simpleMoneyness, String label)
yearFraction - the year fractionsimpleMoneyness - the simple moneynesslabel - the label to usepublic Pair<Double,Double> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.Meta meta()
SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.public SwaptionSurfaceExpirySimpleMoneynessParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getYearFraction()
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
public double getSimpleMoneyness()
This is defined as strike - forward.
public String getLabel()
getLabel in interface ParameterMetadataCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.