Enum Class BenchmarkExecutor.Benchmark
- All Implemented Interfaces:
Serializable,Comparable<BenchmarkExecutor.Benchmark>,Constable
- Enclosing class:
BenchmarkExecutor
The benchmark this parent is measured against.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMinimize slippage vs the price when the order arrived (front-loaded).Track the closing price: back-loaded toward the close.Almgren-Chriss shortfall: front-loaded, volatility raises urgency.Track the opening price: aggressively front-loaded at the open.Percentage-of-volume: a fixed share of realized volume (time-agnostic).Equal participation over time.Follow the expected volume curve. -
Method Summary
Modifier and TypeMethodDescriptionstatic BenchmarkExecutor.BenchmarkReturns the enum constant of this class with the specified name.static BenchmarkExecutor.Benchmark[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TWAP
Equal participation over time. -
VWAP
Follow the expected volume curve. -
ARRIVAL_PRICE
Minimize slippage vs the price when the order arrived (front-loaded). -
IMPLEMENTATION_SHORTFALL
Almgren-Chriss shortfall: front-loaded, volatility raises urgency. -
CLOSING_PRICE
Track the closing price: back-loaded toward the close. -
OPENING_PRICE
Track the opening price: aggressively front-loaded at the open. -
PARTICIPATION
Percentage-of-volume: a fixed share of realized volume (time-agnostic).
-
-
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
-