Class StrategyType
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.strategy.StrategyType
-
@Deprecated public class StrategyType extends Object
Deprecated.The strategy type representing the strategy of a limit order
-
-
Field Summary
Fields Modifier and Type Field Description static StrategyType
IF_DONE
Deprecated.Represents an If Done Then strategy which contains a parent order and one child order.static StrategyType
IF_DONE_LOOP
Deprecated.static String
IF_DONE_LOOP_NAME
Deprecated.static String
IF_DONE_NAME
Deprecated.static StrategyType
IF_DONE_OCO
Deprecated.Represents an If Done Then One Cancels the Other strategy which contains a parent order and an OCO child strategy.static String
IF_DONE_OCO_NAME
Deprecated.static StrategyType
IF_TIMEOUT
Deprecated.Represents an If Timeout strategy which contains a parent order and one child order.static String
IF_TIMEOUT_NAME
Deprecated.static StrategyType
LOOP
Deprecated.static String
LOOP_NAME
Deprecated.static StrategyType
OCO
Deprecated.Represents a One Cancels the Other strategy which contains a take profit and stop loss order.static String
OCO_NAME
Deprecated.static StrategyType
SINGLE
Deprecated.Represents a single order strategy that does not contain any contingent orders.static String
SINGLE_NAME
Deprecated.
-
Constructor Summary
Constructors Constructor Description StrategyType(String name)
Deprecated.Constructs the StrategyType with 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 a printable name for the strategy type.static StrategyType
getValue(String value)
Deprecated.Returns the StrategyType corresponding to the passed in StrategyTypeint
hashCode()
Deprecated.String
toString()
Deprecated.static Set<StrategyType>
values()
Deprecated.Returns a set containing the default StrategyTypes
-
-
-
Field Detail
-
SINGLE_NAME
public static final String SINGLE_NAME
Deprecated.- See Also:
- Constant Field Values
-
IF_DONE_OCO_NAME
public static final String IF_DONE_OCO_NAME
Deprecated.- See Also:
- Constant Field Values
-
OCO_NAME
public static final String OCO_NAME
Deprecated.- See Also:
- Constant Field Values
-
IF_DONE_NAME
public static final String IF_DONE_NAME
Deprecated.- See Also:
- Constant Field Values
-
IF_TIMEOUT_NAME
public static final String IF_TIMEOUT_NAME
Deprecated.- See Also:
- Constant Field Values
-
IF_DONE_LOOP_NAME
public static final String IF_DONE_LOOP_NAME
Deprecated.- See Also:
- Constant Field Values
-
LOOP_NAME
public static final String LOOP_NAME
Deprecated.- See Also:
- Constant Field Values
-
SINGLE
public static final StrategyType SINGLE
Deprecated.Represents a single order strategy that does not contain any contingent orders.
-
OCO
public static final StrategyType OCO
Deprecated.Represents a One Cancels the Other strategy which contains a take profit and stop loss order.
-
IF_DONE
public static final StrategyType IF_DONE
Deprecated.Represents an If Done Then strategy which contains a parent order and one child order.
-
IF_DONE_OCO
public static final StrategyType IF_DONE_OCO
Deprecated.Represents an If Done Then One Cancels the Other strategy which contains a parent order and an OCO child strategy.
-
IF_TIMEOUT
public static final StrategyType IF_TIMEOUT
Deprecated.Represents an If Timeout strategy which contains a parent order and one child order.
-
IF_DONE_LOOP
public static final StrategyType IF_DONE_LOOP
Deprecated.
-
LOOP
public static final StrategyType LOOP
Deprecated.
-
-
Constructor Detail
-
StrategyType
public StrategyType(String name)
Deprecated.Constructs the StrategyType with name- Parameters:
name
- The name of the StrategyType
-
-
Method Detail
-
getValue
public static StrategyType getValue(String value)
Deprecated.Returns the StrategyType corresponding to the passed in StrategyType- Parameters:
value
- The string value of the StrategyType- Returns:
- The StrategyType corresponding to the string value
-
values
public static Set<StrategyType> values()
Deprecated.Returns a set containing the default StrategyTypes- Returns:
- A set of the default StrategyTypes
-
getName
public String getName()
Deprecated.Returns a printable name for the strategy type.- Returns:
- a printable name.
-
-