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

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

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