public final class DeltaStrike extends Object implements Strike, org.joda.beans.ImmutableBean, Serializable
The absolute delta of a call option, D_c. This is in the range (0,1), where 0.5 is ATM (Delta-Neutral Straddle DNS), D_c > 0.5 are ITM and D_c < 0.5 are OTM options. The absolute delta of a put option is related by D_p = D_c - 1. Since prices are normally quoted for OTM options, D_c < 0.5 will be from calls, while D_c > 0.5 (D_p > -0.5) will be from puts.
| Modifier and Type | Class and Description |
|---|---|
static class |
DeltaStrike.Meta
The meta-bean for
DeltaStrike. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StrikeType |
getType()
Gets the type of the strike.
|
double |
getValue()
Gets the value of absolute delta.
|
int |
hashCode() |
static DeltaStrike.Meta |
meta()
The meta-bean for
DeltaStrike. |
DeltaStrike.Meta |
metaBean() |
static DeltaStrike |
of(double delta)
Obtains an instance of
Delta with the value of absolute delta. |
String |
toString() |
DeltaStrike |
withValue(double value)
Creates an new instance of the same strike type with value.
|
public static DeltaStrike of(double delta)
Delta with the value of absolute delta.delta - the value of absolute deltapublic StrikeType getType()
Strikepublic DeltaStrike withValue(double value)
Strikepublic static DeltaStrike.Meta meta()
DeltaStrike.public DeltaStrike.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getValue()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.