public interface StrategyDetailsListener
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.String error)
Signals an error on the subscription.
|
void |
onUpdate(com.caplin.motif.fx.trading.orders.details.Strategy strategy,
com.caplin.ret.trapi.fx.order.strategy.StrategyTree strategyTree)
Sends a strategy update to the subscription.
|
void onUpdate(com.caplin.motif.fx.trading.orders.details.Strategy strategy, com.caplin.ret.trapi.fx.order.strategy.StrategyTree strategyTree)
strategy
- The updated Strategy
.strategyTree
- The latest StrategyTree
that was used to produce the Strategy
.void onError(java.lang.String error)
Signals an error on the subscription.
Errors do NOT signal that the subscription has ended. Subscribers should still remove their listeners.error
- The reason for the error.Copyright © 2016 Caplin Systems.