Enum MetatraderOrder.FillingMode
- java.lang.Object
-
- java.lang.Enum<MetatraderOrder.FillingMode>
-
- cloud.metaapi.sdk.clients.meta_api.models.MetatraderOrder.FillingMode
-
- All Implemented Interfaces:
Serializable,Comparable<MetatraderOrder.FillingMode>
- Enclosing class:
- MetatraderOrder
public static enum MetatraderOrder.FillingMode extends Enum<MetatraderOrder.FillingMode>
Order filling mode. See https://www.mql5.com/en/docs/constants/tradingconstants/orderproperties#enum_order_type_filling
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORDER_FILLING_FOKORDER_FILLING_IOCORDER_FILLING_RETURN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetatraderOrder.FillingModevalueOf(String name)Returns the enum constant of this type with the specified name.static MetatraderOrder.FillingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORDER_FILLING_FOK
public static final MetatraderOrder.FillingMode ORDER_FILLING_FOK
-
ORDER_FILLING_IOC
public static final MetatraderOrder.FillingMode ORDER_FILLING_IOC
-
ORDER_FILLING_RETURN
public static final MetatraderOrder.FillingMode ORDER_FILLING_RETURN
-
-
Method Detail
-
values
public static MetatraderOrder.FillingMode[] 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 (MetatraderOrder.FillingMode c : MetatraderOrder.FillingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetatraderOrder.FillingMode 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
-
-