Capital Markets Adapters 10.7 | Apama Capital Markets Adapters Documentation 10.7 | Trading Technologies Adapter | Trading Technologies FIX platform | IAF configuration | Order management
 
Order management
Order sessions must be configured with the following configuration parameters:
"OrderManager.KillOrdersOnSessionDown" :"false",
"OrderManager.IgnoreStatusOnOrderCancelReject":"true",
"OrderManager.CopyExecTypeToOrdStatus":"true"
For example,
com.apama.fix.SessionConfiguration("TT_FIX_TRADING",
{"FixChannel":"FIX_CHANNEL","logLevel":"DEBUG",
"OrderManager.GenerateNewStyleOrderIds":"true",
"OrderManager.KillOrdersOnSessionDown" :"false",
"OrderManager.IgnoreStatusOnOrderCancelReject":"true",
"OrderManager.CopyExecTypeToOrdStatus":"true"})
Party information must be in the "Party0":"1,D,10,2376:22" format in the extra parameters of new order.
For example,
com.apama.oms.NewOrder("5","ES",272325,"SELL","LIMIT",1,
"FIX","","","TT_FIX_TRADING","","",{"1":"softwareag","1028":"N",
"1385":"1","16106":"blabla","16111":"I","1724":"5","18":"2",
"207":"CME","21":"3","22":"96",
"2593":"[com.apama.fix.tt.OrderAttributes(2,\"Y\",{})]",
"48":"5505520756192796493","528":"I","59":"1","77":"O",
"Party0":"1,D,10,2376:22"})
Note:
You must wait for com.apama.fix.News to ensure that the recovery is completed, and then place the orders.