Class FxMotifOrderDetailsGenerator

    • Constructor Detail

      • FxMotifOrderDetailsGenerator

        public FxMotifOrderDetailsGenerator()
    • Method Detail

      • initialise

        public void initialise​(OrderDetailsGenerator.Context context)
        Description copied from interface: OrderDetailsGenerator

        This notifies the OrderDetailsGenerator that it is about to be loaded. This method will be called by the system once.

        You should use this method to perform any initialisation required before the OrderDetailsGenerator is loaded by the system.

        Specified by:
        initialise in interface OrderDetailsGenerator
      • populateOrderBuilder

        public void populateOrderBuilder​(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
                                         com.caplin.ret.trapi.fx.order.strategy.OrderNode orderNode)
                                  throws com.caplin.motif.fx.trading.orders.OrderConfigurationException
        Description copied from interface: OrderDetailsGenerator
        Creates a new OrderBuilder and populates it with fields from the given OrderNode.
        Specified by:
        populateOrderBuilder in interface OrderDetailsGenerator
        Throws:
        com.caplin.motif.fx.trading.orders.OrderConfigurationException
      • updateOrderBuilderForDeletedOrder

        public void updateOrderBuilderForDeletedOrder​(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
                                                      com.caplin.ret.trapi.fx.order.OrderEvent event)
        Description copied from interface: OrderDetailsGenerator
        Updates an existing OrderBuilder with fields from an OrderEvent.
        Specified by:
        updateOrderBuilderForDeletedOrder in interface OrderDetailsGenerator
      • updateOrderBuilderWithHistory

        public void updateOrderBuilderWithHistory​(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
                                                  com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
        Description copied from interface: OrderDetailsGenerator
        Updates an existing OrderBuilder with fields from OrderEventHistories.
        Specified by:
        updateOrderBuilderWithHistory in interface OrderDetailsGenerator