Class StrategyType


  • @Deprecated
    public class StrategyType
    extends Object
    Deprecated.
    The strategy type representing the strategy of a limit order
    • Field Detail

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

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

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