Apama 10.3.1 | Apama Capital Markets Foundation Documentation | Algorithmic Trading Accelerator (deprecated) | Running the ATA Samples | Using market test scenarios | Testing with the Order Manager scenarios
 
Testing with the Order Manager scenarios
The Order Manager test scenario allows a user to submit and manage orders directly to a connected adapter or exchange simulator, optionally bypassing any trading restrictions configured by the firewall. The order parameters on the dashboard are mapped to the corresponding input variables on the standard Order Manager smart block. Refer to the documentation for these smart blocks for more details of how their parameters are interpreted.
To submit a new order, fill in the required parameters, and then click Create. Usually, the following parameters need to be specified:
*Symbol
*Price
*Quantity
*Side
*Type
*ServiceId
*Market
The service id and market values are those used to configure the adapter session where the order will be submitted. Consult the adapter documentation for more details of the service and market identifiers used by the specific adapter. Generally, these values are the same as those used in a symbol set that operates with that adapter.
Extra parameters can be passed to the order through the ExtraParams field in the form name1=value1;name2=value2;...
To submit an order through the risk firewall rather than directly to the adapter, set the ServiceId parameter to __ObjectionBasedFirewallController (notice that there are two leading underscores) and add Firewall.TargetService=serviceId to the ExtraParams field, where serviceId is the service identifier of the adapter to which the order should be sent after it has passed through the firewall (provided that it is not rejected by any of the configured firewall rules.)
Once an order has been submitted, it displays in the table at the bottom of the dashboard. When an order from this table is selected, its details display in the top part of the dashboard. The fields on the right hand side of the dashboard show details of any fills (executions) for the selected order.
The selected order can be cancelled by clicking Cancel, or amended by updating any parameters to be changed, and then clicking Modify. Clicking Delete deletes the scenario instance associated with the selected order, after attempting to cancel the underlying order. Clicking Delete All deletes all scenario instances, attempting to cancel any currently active related orders.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.