Enum MetatraderSymbolSpecification.ExecutionMode
- java.lang.Object
-
- java.lang.Enum<MetatraderSymbolSpecification.ExecutionMode>
-
- cloud.metaapi.sdk.clients.meta_api.models.MetatraderSymbolSpecification.ExecutionMode
-
- All Implemented Interfaces:
Serializable,Comparable<MetatraderSymbolSpecification.ExecutionMode>
- Enclosing class:
- MetatraderSymbolSpecification
public static enum MetatraderSymbolSpecification.ExecutionMode extends Enum<MetatraderSymbolSpecification.ExecutionMode>
Deal execution mode. See https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_trade_execution for more details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYMBOL_TRADE_EXECUTION_EXCHANGESYMBOL_TRADE_EXECUTION_INSTANTSYMBOL_TRADE_EXECUTION_MARKETSYMBOL_TRADE_EXECUTION_REQUEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetatraderSymbolSpecification.ExecutionModevalueOf(String name)Returns the enum constant of this type with the specified name.static MetatraderSymbolSpecification.ExecutionMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYMBOL_TRADE_EXECUTION_REQUEST
public static final MetatraderSymbolSpecification.ExecutionMode SYMBOL_TRADE_EXECUTION_REQUEST
-
SYMBOL_TRADE_EXECUTION_INSTANT
public static final MetatraderSymbolSpecification.ExecutionMode SYMBOL_TRADE_EXECUTION_INSTANT
-
SYMBOL_TRADE_EXECUTION_MARKET
public static final MetatraderSymbolSpecification.ExecutionMode SYMBOL_TRADE_EXECUTION_MARKET
-
SYMBOL_TRADE_EXECUTION_EXCHANGE
public static final MetatraderSymbolSpecification.ExecutionMode SYMBOL_TRADE_EXECUTION_EXCHANGE
-
-
Method Detail
-
values
public static MetatraderSymbolSpecification.ExecutionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetatraderSymbolSpecification.ExecutionMode c : MetatraderSymbolSpecification.ExecutionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetatraderSymbolSpecification.ExecutionMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-