Class MotifOrderFactory

  • All Implemented Interfaces:
    OrderFactory

    @Deprecated
    public class MotifOrderFactory
    extends java.lang.Object
    implements OrderFactory
    Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      MotifOrderFactory()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Order createOrder​(com.caplin.trading.Trade trade, java.lang.String legId)
      Deprecated.
      Returns an instance of Order for the specified trade instance and leg id.
      • Methods inherited from class java.lang.Object

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

      • MotifOrderFactory

        public MotifOrderFactory()
        Deprecated.
    • Method Detail

      • createOrder

        public Order createOrder​(com.caplin.trading.Trade trade,
                                 java.lang.String legId)
                          throws OrderConfigurationException
        Deprecated.
        Description copied from interface: OrderFactory
        Returns an instance of Order for the specified trade instance and leg id.
        Specified by:
        createOrder in interface OrderFactory
        Parameters:
        trade - The order trade containing all legs of the order strategy
        legId - The Id of particular leg the Order object should represent
        Returns:
        The Order object representing the one of the legs of the order strategy.
        Throws:
        OrderConfigurationException - If there was an error creating the Order