Order management
Supported Order types:1.MARKET, 2.LIMIT and 3.PEGGED
Examples:
//New Order
com.apama.oms.NewOrder("12","EUR/USD",1.13765,"SELL","LIMIT",200000,
"FIX","","","HOTSPOT_TRADING","","",{"59":"3"})
//Place New Order with MaxShow
MinQty com.apama.oms.NewOrder("12","EUR/USD",1.14048,"SELL","LIMIT",10000000,
"FIX","","","HOTSPOT_TRADING","","",{
"59":"0","15":"EUR","210":"3000000","110":"2000000"})
//Place Pegged Order
com.apama.oms.NewOrder("1","EUR/USD",1.14048,"BUY","PEGGED",10000000,
"FIX","","","HOTSPOT_TRADING","","",{
"59":"0","15":"EUR","210":"3000000","110":"2000000","211":"0.003","18":"R"})
//Cancel Order
com.apama.oms.CancelOrder("12", "FIX", {"59":"0"})
//Amend Order
com.apama.oms.AmendOrder("12","FIX","EUR/USD",1.13716,"BUY","LIMIT",800000,{"59":"0"})
Note:
No Support for Mass Order Cancel and Order Status. When the order gets replaced, OrdStatus is 0 in extraparams of com.apama.oms.OrderUpdate.