public interface OrderDetailsGenerator
OrderBuilder
s.Modifier and Type | Interface and Description |
---|---|
static class |
OrderDetailsGenerator.Context |
Modifier and Type | Method and Description |
---|---|
void |
initialise(OrderDetailsGenerator.Context context)
This notifies the
OrderDetailsGenerator that it is about to be loaded. |
void |
populateOrderBuilder(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
com.caplin.ret.trapi.fx.order.strategy.OrderNode orderNode)
Creates a new
OrderBuilder and populates it with fields from the given OrderNode . |
void |
updateOrderBuilderForDeletedOrder(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
com.caplin.ret.trapi.fx.order.OrderEvent event)
Updates an existing OrderBuilder with fields from an
OrderEvent . |
void |
updateOrderBuilderWithHistory(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder,
com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
Updates an existing OrderBuilder with fields from
OrderEventHistories . |
void initialise(OrderDetailsGenerator.Context context)
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.
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
OrderBuilder
and populates it with fields from the given OrderNode
.com.caplin.motif.fx.trading.orders.OrderConfigurationException
void updateOrderBuilderForDeletedOrder(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder, com.caplin.ret.trapi.fx.order.OrderEvent event)
OrderEvent
.void updateOrderBuilderWithHistory(com.caplin.motif.fx.trading.orders.details.OrderBuilder builder, com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
OrderEventHistories
.Copyright © 2016 Caplin Systems.