Capital Markets Adapters 10.15 | Apama Capital Markets Adapters Documentation 10.15 | Reuters MAPI Adapter | Order management | Locked orders
 
Locked orders
For an order to be locked, add tag 5007 in the new order. IOC order cannot be locked.
Example:
com.apama.oms.NewOrder("2","eur/usd",1.1125,"SELL","LIMIT",9000000,"MAPI-FIX","",
"","MAPI_TRADING","","",
{"167":"FXSPOT","59":"0","Header:50":"234","854":"1","231":"1000000.0","15":"eur",
"1":"RBCL","5007":"Y"})