Enum MetatraderSymbolSpecification.FillingMode
- java.lang.Object
-
- java.lang.Enum<MetatraderSymbolSpecification.FillingMode>
-
- cloud.metaapi.sdk.clients.meta_api.models.MetatraderSymbolSpecification.FillingMode
-
- All Implemented Interfaces:
Serializable,Comparable<MetatraderSymbolSpecification.FillingMode>
- Enclosing class:
- MetatraderSymbolSpecification
public static enum MetatraderSymbolSpecification.FillingMode extends Enum<MetatraderSymbolSpecification.FillingMode>
Order filling modes. See https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode for more details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYMBOL_FILLING_FOKSYMBOL_FILLING_IOC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetatraderSymbolSpecification.FillingModevalueOf(String name)Returns the enum constant of this type with the specified name.static MetatraderSymbolSpecification.FillingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYMBOL_FILLING_FOK
public static final MetatraderSymbolSpecification.FillingMode SYMBOL_FILLING_FOK
-
SYMBOL_FILLING_IOC
public static final MetatraderSymbolSpecification.FillingMode SYMBOL_FILLING_IOC
-
-
Method Detail
-
values
public static MetatraderSymbolSpecification.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 (MetatraderSymbolSpecification.FillingMode c : MetatraderSymbolSpecification.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 MetatraderSymbolSpecification.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
-
-