Enum Class FxVolSurface.DeltaConvention
- All Implemented Interfaces:
Serializable, Comparable<FxVolSurface.DeltaConvention>, Constable
- Enclosing class:
FxVolSurface
How the quoted deltas are defined (Reiswich and Wystup 2010, table 1).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForward delta N(d1).Premium-adjusted forward delta (K/F) N(d2).Spot delta e^{−r_f T} N(d1).Premium-adjusted spot delta e^{−r_f T} (K/F) N(d2). -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanspot()static FxVolSurface.DeltaConventionReturns the enum constant of this class with the specified name.static FxVolSurface.DeltaConvention[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORWARD
Forward delta N(d1). -
FORWARD_PREMIUM_ADJUSTED
Premium-adjusted forward delta (K/F) N(d2). -
SPOT
Spot delta e^{−r_f T} N(d1). -
SPOT_PREMIUM_ADJUSTED
Premium-adjusted spot delta e^{−r_f T} (K/F) N(d2).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
spot
public boolean spot()
-