public class ExecutionType extends Object
The ExecutionType determines how order should be executed.
The common execution types can be accessed as public constants.
Modifier and Type | Field and Description |
---|---|
static ExecutionType |
BENCHMARK
The "Benchmark" execution type
|
static ExecutionType |
CALL_ORDER
The "Call Order" execution type
|
static ExecutionType |
MARKET
The "Market" execution type
|
static ExecutionType |
PEGGED
The "Pegged" execution type
|
static ExecutionType |
STOP_LOSS
The "Stop Loss" execution type
|
static ExecutionType |
TAKE_PROFIT
The "Take Profit" execution type
|
Constructor and Description |
---|
ExecutionType(String name)
Constructs an ExecutionType for the specified name.
|
public static final ExecutionType CALL_ORDER
public static final ExecutionType TAKE_PROFIT
public static final ExecutionType STOP_LOSS
public static final ExecutionType MARKET
public static final ExecutionType BENCHMARK
public static final ExecutionType PEGGED
public ExecutionType(String name)
name
- The name of the ExecutionType.public String getName()
public static ExecutionType getValue(String name)
name
- The name of the ExecutionTypeCopyright © 2015 Caplin Systems.