Class DefaultOCOValidator

  • All Implemented Interfaces:
    OrderSubmissionValidator

    @Deprecated
    public class DefaultOCOValidator
    extends java.lang.Object
    implements OrderSubmissionValidator
    Deprecated.

    The default implementation of OrderSubmissionValidator for OCO submissions

    Checks that the first leg is a STOP-LOSS and the second leg is a TAKE-PROFIT

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void validate​(StrategyType type, OrderStrategy strategy, java.util.Map<java.lang.String,​java.lang.String> fields)
      Deprecated.
      Checks the validity of a strategy based on its type, the strategy object itself, and the raw field map that the strategy was derived from.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultOCOValidator

        public DefaultOCOValidator()
        Deprecated.