com.apama.sor.strategy
Event StrategyHelperCallbacks
The StrategyHelperCallbacks object is passed in as part of the action to the StrategyHelperInterface objects createInterface() call.
A default implementation of this call is returned from the StrategyHelperInterface objects getDefaultHelperCallbacks() action.
This interface allows the User to override a set of behaviour for this Strategy instance.
-
Since:
- CMF 2.1.0
setChildOrderHandler
action< > returns com.apama.sor.oms.ChildOrderNormaliserInterface setChildOrderHandler
This action is called by the Strategy on creation to allow the user to override the Child order implementation prior to execution.
- Returns:
- An interface that contains a set of callbacks that handle the Child order
strategyError
action<string, string > strategyError
This action is called by the Strategy when an error occurs in the handling of the Strategy.
- Parameters:
- orderId - The identifier of the order that generated the error
- errMsg - The error message that was returned by the Strategy
- Returns:
- The Parent Order object associated with the specified orderId