- All Implemented Interfaces:
Serializable
,Comparable<Swaption.ValueUnit>
,java.lang.constant.Constable
- Enclosing interface:
- Swaption
Swaptions specific value units, like swaption implied volatilities.
- Author:
- Christian Fries
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Use INTEGRATEDVARIANCELOGNORMAL instead.Deprecated.Use INTEGRATEDVARIANCENORMAL instead.Deprecated.Use INTEGRATEDVARIANCELOGNORMAL insteadReturns the Black-Scholes implied integrated variance, i.e., σ2 T.Returns the Bachelier implied integrated variance, i.e., σ2 T.Returns the value of the swaption.Deprecated.Use VOLATILITYLOGNORMAL insteadReturns the Black-Scholes implied volatility, i.e., σ.Returns the Bachelier implied volatility, i.e., σ.The Bachelier implied volatility, assuming an ATM option. -
Method Summary
Modifier and TypeMethodDescriptionstatic Swaption.ValueUnit
Returns the enum constant of this type with the specified name.static Swaption.ValueUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE
Returns the value of the swaption. -
INTEGRATEDVARIANCELOGNORMAL
Returns the Black-Scholes implied integrated variance, i.e., σ2 T. -
INTEGRATEDLOGNORMALVARIANCE
Deprecated.Use INTEGRATEDVARIANCELOGNORMAL instead.Returns the Black-Scholes implied integrated variance, i.e., σ2 T. -
VOLATILITYLOGNORMAL
Returns the Black-Scholes implied volatility, i.e., σ. -
INTEGRATEDVARIANCENORMAL
Returns the Bachelier implied integrated variance, i.e., σ2 T. -
INTEGRATEDNORMALVARIANCE
Deprecated.Use INTEGRATEDVARIANCENORMAL instead.Returns the Bachelier implied integrated variance, i.e., σ2 T. -
VOLATILITYNORMAL
Returns the Bachelier implied volatility, i.e., σ. -
INTEGRATEDVARIANCE
Deprecated.Use INTEGRATEDVARIANCELOGNORMAL insteadReturns the Black-Scholes implied integrated variance, i.e., σ2 T. -
VOLATILITY
Deprecated.Use VOLATILITYLOGNORMAL insteadReturns the Black-Scholes implied volatility, i.e., σ. -
VOLATILITYNORMALATM
The Bachelier implied volatility, assuming an ATM option. The value is obtained by multiplying VALUE with 1.0 / Math.sqrt(optionMaturity / Math.PI / 2.0) / annuity.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-