public final class StrikeType extends TypedString<StrikeType>
The strike of option instruments is represented in different ways. For example, the strike types include delta, moneyness, log-moneyness, and strike itself.
| Modifier and Type | Field and Description |
|---|---|
static StrikeType |
DELTA
The type of a strike based on absolute delta.
|
static StrikeType |
LOG_MONEYNESS
The type of a strike based on log-moneyness, defined as the
ln(strike/forward). |
static StrikeType |
MONEYNESS
The type of a strike based on moneyness, defined as
strike/forward. |
static StrikeType |
STRIKE
The type of a simple strike.
|
| Modifier and Type | Method and Description |
|---|---|
static StrikeType |
of(String name)
Obtains an instance from the specified name.
|
compareTo, equals, getName, hashCode, toStringpublic static final StrikeType STRIKE
SimpleStrikepublic static final StrikeType DELTA
DeltaStrikepublic static final StrikeType MONEYNESS
strike/forward.MoneynessStrikepublic static final StrikeType LOG_MONEYNESS
ln(strike/forward).LogMoneynessStrikepublic static StrikeType of(String name)
Strike types may contain any character, but must not be empty.
name - the name of the fieldCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.