public static enum IEngine.StrategyMode extends Enum<IEngine.StrategyMode>
Enum Constant and Description |
---|
INDEPENDENT
Strategy works as usual - it can create, close, modify etc orders on it's own
|
SIGNALS
Strategy does not create, close or modify orders.
|
Modifier and Type | Method and Description |
---|---|
static IEngine.StrategyMode |
fromString(String modeString) |
String |
getModeString() |
static IEngine.StrategyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IEngine.StrategyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IEngine.StrategyMode INDEPENDENT
public static final IEngine.StrategyMode SIGNALS
public static IEngine.StrategyMode[] values()
for (IEngine.StrategyMode c : IEngine.StrategyMode.values()) System.out.println(c);
public static IEngine.StrategyMode 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 nullpublic static IEngine.StrategyMode fromString(String modeString)
public String getModeString()
Copyright © 2016. All rights reserved.