Package velox.api.layer1.data
Enum Layer1ApiProviderSupportedFeatures.ClientSideFeature
java.lang.Object
java.lang.Enum<Layer1ApiProviderSupportedFeatures.ClientSideFeature>
velox.api.layer1.data.Layer1ApiProviderSupportedFeatures.ClientSideFeature
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Layer1ApiProviderSupportedFeatures.ClientSideFeature>,java.lang.constant.Constable
- Enclosing class:
- Layer1ApiProviderSupportedFeatures
public static enum Layer1ApiProviderSupportedFeatures.ClientSideFeature extends java.lang.Enum<Layer1ApiProviderSupportedFeatures.ClientSideFeature>
Features that are implemented on the client side. Each enum value corresponds
to one of
Layer1ApiProviderSupportedFeatures fields.
It is only trading features here for now, so we copy all them in case of crosstrading.
It you add non-trading features at this list, please filter it out on
Layer1ApiProviderSupportedFeatures.getCopyWithAppliedTradingParams(Layer1ApiProviderSupportedFeatures other)-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BRACKETSLayer1ApiProviderSupportedFeatures.bracketsis client-sideOCOLayer1ApiProviderSupportedFeatures.ocois client-sideOSOLayer1ApiProviderSupportedFeatures.osois client-sideTRAILING_STOPS_AS_BRACKET_CHILDRENTRAILING_STOPS_INDEPENDENT -
Method Summary
Modifier and Type Method Description static Layer1ApiProviderSupportedFeatures.ClientSideFeaturevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Layer1ApiProviderSupportedFeatures.ClientSideFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BRACKETS
Layer1ApiProviderSupportedFeatures.bracketsis client-side -
OCO
Layer1ApiProviderSupportedFeatures.ocois client-side -
OSO
Layer1ApiProviderSupportedFeatures.osois client-side -
TRAILING_STOPS_INDEPENDENT
-
TRAILING_STOPS_AS_BRACKET_CHILDREN
public static final Layer1ApiProviderSupportedFeatures.ClientSideFeature TRAILING_STOPS_AS_BRACKET_CHILDREN
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-