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 Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFront-loaded fixed curve1 - (1 - f)^2against the arrival price.Track the closing price: back-loaded toward the close.Almgren-Chriss shortfall trajectory (Almgren and Chriss, 2000, eq. 18): completed fraction1 - sinh(kT (1 - f)) / sinh(kT)with urgencykTset byBenchmarkExecutor.withShortfallUrgency(double)(default 2); volatility raises the pace further.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
Front-loaded fixed curve1 - (1 - f)^2against the arrival price. A heuristic shape, not derived from a cost model; use IMPLEMENTATION_SHORTFALL for a risk-aversion-driven trajectory. -
IMPLEMENTATION_SHORTFALL
Almgren-Chriss shortfall trajectory (Almgren and Chriss, 2000, eq. 18): completed fraction1 - sinh(kT (1 - f)) / sinh(kT)with urgencykTset byBenchmarkExecutor.withShortfallUrgency(double)(default 2); volatility raises the pace further. -
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
-