java.lang.Objectjava.lang.Enum<IEngine.StrategyMode>
com.dukascopy.api.IEngine.StrategyMode
public static enum IEngine.StrategyMode
Specifies strategy running mode.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
static IEngine.StrategyMode |
fromString(java.lang.String modeString)
|
java.lang.String |
getModeString()
|
static IEngine.StrategyMode |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IEngine.StrategyMode INDEPENDENT
public static final IEngine.StrategyMode SIGNALS
| Method Detail |
|---|
public static IEngine.StrategyMode[] values()
for (IEngine.StrategyMode c : IEngine.StrategyMode.values()) System.out.println(c);
public static IEngine.StrategyMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static IEngine.StrategyMode fromString(java.lang.String modeString)
public java.lang.String getModeString()