Class ExecutionType
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.ExecutionType
-
@Deprecated public class ExecutionType extends Object
Deprecated.The ExecutionType determines how order should be executed.
The common execution types can be accessed as public constants.
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionType
BENCHMARK
Deprecated.The "Benchmark" execution typestatic ExecutionType
CALL_ORDER
Deprecated.The "Call Order" execution typestatic ExecutionType
MARKET
Deprecated.The "Market" execution typestatic ExecutionType
PEGGED
Deprecated.The "Pegged" execution typestatic ExecutionType
STOP_LOSS
Deprecated.The "Stop Loss" execution typestatic ExecutionType
TAKE_PROFIT
Deprecated.The "Take Profit" execution type
-
Constructor Summary
Constructors Constructor Description ExecutionType(String name)
Deprecated.Constructs an ExecutionType for the specified name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.String
getName()
Deprecated.Returns the name of the execution type.static ExecutionType
getValue(String name)
Deprecated.Returns the ExecutionType for the specified field name.int
hashCode()
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
CALL_ORDER
public static final ExecutionType CALL_ORDER
Deprecated.The "Call Order" execution type
-
TAKE_PROFIT
public static final ExecutionType TAKE_PROFIT
Deprecated.The "Take Profit" execution type
-
STOP_LOSS
public static final ExecutionType STOP_LOSS
Deprecated.The "Stop Loss" execution type
-
MARKET
public static final ExecutionType MARKET
Deprecated.The "Market" execution type
-
BENCHMARK
public static final ExecutionType BENCHMARK
Deprecated.The "Benchmark" execution type
-
PEGGED
public static final ExecutionType PEGGED
Deprecated.The "Pegged" execution type
-
-
Constructor Detail
-
ExecutionType
public ExecutionType(String name)
Deprecated.Constructs an ExecutionType for the specified name.- Parameters:
name
- The name of the ExecutionType.
-
-
Method Detail
-
getValue
public static ExecutionType getValue(String name)
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
public String 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.
-
-