Class PerLegOrderFactory

  • All Implemented Interfaces:
    OrderFactory

    @Deprecated
    public class PerLegOrderFactory
    extends java.lang.Object
    implements OrderFactory
    Deprecated.
    scheduled to be removed in the next release
    Build TrAPI order from given strategy and order. Reads data common to strategy and order by leg order and sets them to the TrAPI order.
    • Constructor Summary

      Constructors 
      Constructor Description
      PerLegOrderFactory()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void createOrder​(java.lang.String user, java.lang.String retClientName, OrderTypeInStrategy orderType, com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy, com.caplin.motif.fx.trading.orders.submission.Order order, com.caplin.ret.trapi.fx.order.transaction.strategy.submit.SubmissionFXOrder trapiFXOrder, boolean isSales)
      Deprecated.
      Sets data on a FXOrder from the given strategy and order
      void initialise​(OrderFactory.Context context)
      Deprecated.
      Initialises the factory.
      • Methods inherited from class java.lang.Object

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

      • PerLegOrderFactory

        public PerLegOrderFactory()
        Deprecated.
    • Method Detail

      • createOrder

        public void createOrder​(java.lang.String user,
                                java.lang.String retClientName,
                                OrderTypeInStrategy orderType,
                                com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy,
                                com.caplin.motif.fx.trading.orders.submission.Order order,
                                com.caplin.ret.trapi.fx.order.transaction.strategy.submit.SubmissionFXOrder trapiFXOrder,
                                boolean isSales)
                         throws java.lang.Exception
        Deprecated.
        Description copied from interface: OrderFactory
        Sets data on a FXOrder from the given strategy and order
        Specified by:
        createOrder in interface OrderFactory
        Parameters:
        user - the user
        retClientName - the ret client name
        orderType - OrderTypeInStrategy
        strategy - a strategy
        order - an order
        trapiFXOrder - the order to be built
        isSales - Whether or not the order is being entered a Sales Trader.
        Throws:
        java.lang.Exception