public class PerLegOrderEditor extends java.lang.Object implements OrderEditor
OrderEditor.Context
Constructor and Description |
---|
PerLegOrderEditor() |
Modifier and Type | Method and Description |
---|---|
void |
initialise(OrderEditor.Context context)
Initialises the OrderEditor.
|
boolean |
updateOrder(com.caplin.ret.trapi.fx.FXOrder trapiFXOrder,
com.caplin.motif.fx.trading.orders.details.Strategy strategy,
com.caplin.motif.fx.trading.orders.details.Order order,
com.caplin.motif.fx.trading.orders.edit.EditStrategyRequest editStrategyRequest)
Updates a given FXOrder with changes from strategy and order.
|
public void initialise(OrderEditor.Context context)
OrderEditor
initialise
in interface OrderEditor
public boolean updateOrder(com.caplin.ret.trapi.fx.FXOrder trapiFXOrder, com.caplin.motif.fx.trading.orders.details.Strategy strategy, com.caplin.motif.fx.trading.orders.details.Order order, com.caplin.motif.fx.trading.orders.edit.EditStrategyRequest editStrategyRequest) throws java.lang.Exception
OrderEditor
updateOrder
in interface OrderEditor
trapiFXOrder
- FXOrder that needs updating data.strategy
- Strategy with changed dataorder
- Order with changed dataeditStrategyRequest
- represents a front end request to edit a previously submitted single order or multi-order strategy.java.lang.Exception
Copyright © 2016 Caplin Systems.