public static enum Strategy.TerminalType extends Enum<Strategy.TerminalType>
| Enum Constant and Description |
|---|
FREE_WORKER
Unspecified purpose worker - terminals of this type can be used for custom parallel processing under the MT4 account.
|
ORDERS_WORKER
Terminals of this type provide simultaneous OrderSend/Modify/Cancel/Delete operations - one can close two
different orders from two different Threads in parallel - Strategy.OrderClose method will not block if there
is enough ORDERS_WORKER terminals are opened for the strategy.
|
TICK_WORKER
Terminals of this type are used to get different symbol's real-time ticks in parallel.
|
| Modifier and Type | Method and Description |
|---|---|
static Strategy.TerminalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Strategy.TerminalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strategy.TerminalType FREE_WORKER
public static final Strategy.TerminalType ORDERS_WORKER
public static final Strategy.TerminalType TICK_WORKER
public static Strategy.TerminalType[] values()
for (Strategy.TerminalType c : Strategy.TerminalType.values()) System.out.println(c);
public static Strategy.TerminalType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null