public interface StrategyDetailsGenerator
StrategyBuilder
s.Modifier and Type | Method and Description |
---|---|
void |
initialise(OrderDetailsGenerator.Context context)
This notifies the
StrategyDetailsGenerator that it is about to be loaded. |
com.caplin.motif.fx.trading.orders.details.StrategyBuilder |
populateStrategyBuilder(com.caplin.ret.trapi.fx.order.strategy.StrategyTree tree,
com.caplin.motif.fx.trading.orders.details.StrategyBuilder builder)
Creates a new
StrategyBuilder and populates it with fields from the given StrategyTree . |
void |
updateStrategyBuilderWithDeletedOrder(com.caplin.motif.fx.trading.orders.details.StrategyBuilder strategyBuilder,
com.caplin.ret.trapi.fx.order.OrderEvent event)
Updates an existing StrategyBuilder with fields from an
OrderEvent . |
void |
updateStrategyBuilderWithOrderHistory(com.caplin.motif.fx.trading.orders.details.StrategyBuilder strategyBuilder,
com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
Updates an existing StrategyBuilder with fields from
OrderEventHistories . |
void initialise(OrderDetailsGenerator.Context context)
This notifies the StrategyDetailsGenerator
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
StrategyDetailsGenerator
is loaded by the system.
com.caplin.motif.fx.trading.orders.details.StrategyBuilder populateStrategyBuilder(com.caplin.ret.trapi.fx.order.strategy.StrategyTree tree, com.caplin.motif.fx.trading.orders.details.StrategyBuilder builder) throws com.caplin.motif.fx.trading.orders.OrderConfigurationException
StrategyBuilder
and populates it with fields from the given StrategyTree
.com.caplin.motif.fx.trading.orders.OrderConfigurationException
void updateStrategyBuilderWithDeletedOrder(com.caplin.motif.fx.trading.orders.details.StrategyBuilder strategyBuilder, com.caplin.ret.trapi.fx.order.OrderEvent event)
OrderEvent
.void updateStrategyBuilderWithOrderHistory(com.caplin.motif.fx.trading.orders.details.StrategyBuilder strategyBuilder, com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
OrderEventHistories
.Copyright © 2016 Caplin Systems.