public static enum MetatraderTrade.ActionType extends Enum<MetatraderTrade.ActionType>
| Enum Constant and Description |
|---|
ORDER_CANCEL |
ORDER_MODIFY |
ORDER_TYPE_BUY |
ORDER_TYPE_BUY_LIMIT |
ORDER_TYPE_BUY_STOP |
ORDER_TYPE_SELL |
ORDER_TYPE_SELL_LIMIT |
ORDER_TYPE_SELL_STOP |
POSITION_CLOSE_ID |
POSITION_MODIFY |
POSITION_PARTIAL |
POSITIONS_CLOSE_SYMBOL |
| Modifier and Type | Method and Description |
|---|---|
static MetatraderTrade.ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetatraderTrade.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetatraderTrade.ActionType ORDER_TYPE_SELL
public static final MetatraderTrade.ActionType ORDER_TYPE_BUY
public static final MetatraderTrade.ActionType ORDER_TYPE_BUY_LIMIT
public static final MetatraderTrade.ActionType ORDER_TYPE_SELL_LIMIT
public static final MetatraderTrade.ActionType ORDER_TYPE_BUY_STOP
public static final MetatraderTrade.ActionType ORDER_TYPE_SELL_STOP
public static final MetatraderTrade.ActionType POSITION_MODIFY
public static final MetatraderTrade.ActionType POSITION_PARTIAL
public static final MetatraderTrade.ActionType POSITION_CLOSE_ID
public static final MetatraderTrade.ActionType POSITIONS_CLOSE_SYMBOL
public static final MetatraderTrade.ActionType ORDER_MODIFY
public static final MetatraderTrade.ActionType ORDER_CANCEL
public static MetatraderTrade.ActionType[] values()
for (MetatraderTrade.ActionType c : MetatraderTrade.ActionType.values()) System.out.println(c);
public static MetatraderTrade.ActionType 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 nullCopyright © 2020. All rights reserved.