Capital Markets Adapters 10.15 | Apama Capital Markets Adapters Documentation 10.15 | Trading Technologies Adapter | Trading Technologies Gateway platform | Entering, modifying, or cancelling orders
 
Entering, modifying, or cancelling orders

com.apama.oms.NewOrder("14","ES",109525,"BUY","LIMIT",1,"TT-FIX",
"","","TT_TRADING","","",{"207":"CME","48":"00A0CK00ESZ","22":"5","1":"progress2"})
com.apama.oms.AmendOrder("14","TT-FIX","ES",109550,"BUY",
"LIMIT",5,{"207":"CME","48":"00A0CK00ESZ","22":"5","1":"progress2"})
com.apama.oms.CancelOrder("14", "TT-FIX", {"207":"CME",
"48":"00A0CK00ESZ","22":"5","1":"progress2"})
Staged Order
Order staging allows a user to enter and route a selected order to an execution trader or broker for customized handling and execution. TT introduced functionality for staged orders, also known as care orders, in X_TRADER® 7.11. TT's staged order solution allows a user to specify just the contract, the quantity and buy/sell direction, or specify up to a fully qualified order specification including detailed order parameters. The user can also include textual instructions to help the execution trader or broker better understand the user's intentions.
Added following tags to support same:
*Tag 21 (HandlInst): Order handling instructions
*Tag 16104 (TTUserTagData): Data to supply with an order. It corresponds to the X_TRADER User Tag field.
*Tag 16105 (TTOrderTagData):Data to supply with an order. It corresponds to the X_TRADER Order Tag field.
*Tag 16106 (StagedOrderMsg):Message text associated with the staged order.
*Tag 16111 (RoutingLevel) :Indicator of who can work the staged order. Possible values include:
*B: Broker order visible to traders with TTORD and exchange trader logins
*I : Internal order visible only to traders with TTORD logins