Class FxMotifOrderTranslator

    • Method Summary

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

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

      • createOrder

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