com.apama.scenarios
Event ScenarioOrderHandler


Defines an order handler for a particular scenario.

The input map contains a mapping from new/amend order events to scenario create/edit events whereas the output map contains a mapping from scenario update events to order update events.

Each mapping entry is of the form "field:value" where 'field' is the field or extra parameter that will be set in the target event and 'value' is the field or extra parameter in the source event or an literal value if preceded with '#' (e.g. VWAP_Window=#100).

To invoke this mapping, a new order must reference the id in its brokerId field.

The configuration is a dictionary of name/value pairs for controlling the behaviour of the handler.
Member Summary
 stringid
 stringscenarioId
 dictionary<string, string >inputMap
 dictionary<string, string >outputMap
 dictionary<string, string >configuration
 
Member Detail

configuration

dictionary<string, string > configuration

id

string id

inputMap

dictionary<string, string > inputMap

outputMap

dictionary<string, string > outputMap

scenarioId

string scenarioId