Class ExecutionType
java.lang.Object
com.caplin.motif.fx.trading.orders.submission.ExecutionType
Deprecated.
The ExecutionType determines how order should be executed.
The common execution types can be accessed as public constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ExecutionType
Deprecated.The "Benchmark" execution typestatic final ExecutionType
Deprecated.The "Call Order" execution typestatic final ExecutionType
Deprecated.The "Market" execution typestatic final ExecutionType
Deprecated.The "Pegged" execution typestatic final ExecutionType
Deprecated.The "Stop Loss" execution typestatic final ExecutionType
Deprecated.The "Take Profit" execution type -
Constructor Summary
ConstructorDescriptionExecutionType
(String name) Deprecated.Constructs an ExecutionType for the specified name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.getName()
Deprecated.Returns the name of the execution type.static ExecutionType
Deprecated.Returns the ExecutionType for the specified field name.int
hashCode()
Deprecated.toString()
Deprecated.
-
Field Details
-
CALL_ORDER
Deprecated.The "Call Order" execution type -
TAKE_PROFIT
Deprecated.The "Take Profit" execution type -
STOP_LOSS
Deprecated.The "Stop Loss" execution type -
MARKET
Deprecated.The "Market" execution type -
BENCHMARK
Deprecated.The "Benchmark" execution type -
PEGGED
Deprecated.The "Pegged" execution type
-
-
Constructor Details
-
ExecutionType
Deprecated.Constructs an ExecutionType for the specified name.- Parameters:
name
- The name of the ExecutionType.
-
-
Method Details
-
getValue
Deprecated.Returns the ExecutionType for the specified field name. This will either be one of the constants defined in this class, or a new instance of ExecutionType created with the name specified.- Parameters:
name
- The name of the ExecutionType- Returns:
- The ExecutionType
-
getName
Deprecated.Returns the name of the execution type. This will be the field value as sent down from the frontend.- Returns:
- The execution type name.
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-