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 Details

    • SINGLE_NAME

      public static final String SINGLE_NAME
      Deprecated.
      See Also:
    • IF_DONE_OCO_NAME

      public static final String IF_DONE_OCO_NAME
      Deprecated.
      See Also:
    • OCO_NAME

      public static final String OCO_NAME
      Deprecated.
      See Also:
    • IF_DONE_NAME

      public static final String IF_DONE_NAME
      Deprecated.
      See Also:
    • IF_TIMEOUT_NAME

      public static final String IF_TIMEOUT_NAME
      Deprecated.
      See Also:
    • IF_DONE_LOOP_NAME

      public static final String IF_DONE_LOOP_NAME
      Deprecated.
      See Also:
    • LOOP_NAME

      public static final String LOOP_NAME
      Deprecated.
      See Also:
    • 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 Details

    • StrategyType

      public StrategyType(String name)
      Deprecated.
      Constructs the StrategyType with name
      Parameters:
      name - The name of the StrategyType
  • Method Details

    • 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.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object