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