NewOrder
Example: SPOT
com.apama.oms.NewOrder("1","EUR.USD",100.10000000000001,"BUY",
"FOREX - PREVIOUSLY QUOTED",1000,"FXALL_TCPI","","","FXALL_TCPI_TRANSPORT","",
"APAMATest",{"Leg_1_AllocationQty_1":"-1000","Leg_1_AllocationQty_2":"-1000",
"Leg_1_Allocation_1":"ACCT1","Leg_1_Allocation_2":"ACCT2","Leg_1_Currency":"EUR.USD",
"Leg_1_ForwardPoints":"0","Leg_1_FutSettDate":"06/01/2014",
"Leg_1_LastSpotRate":"100.10000000000001","Leg_1_OrderQty":"2000",
"Leg_1_OutrightRate":"100.10000000000001","Leg_1_Side":"BUY","Leg_1_TenorValue":"SPOT",
"OrderType":"SPOT","RequestKey":"1","TradeDate":"20140106",
"TransactTime":"20140106-19:17:56.063","__type":"DEAL_REQUEST",
"customerName":"APAMA","serviceId":"FXALL_TCPI"})
Example: SWAP
com.apama.oms.NewOrder("1","EUR.USD",100.10000000000001,"BUY",
"FOREX - PREVIOUSLY QUOTED",1000,"FXALL_TCPI","","","FXALL_TCPI_TRANSPORT","",
"APAMATest",{"Leg_1_AllocationQty_1":"1000","Leg_1_Allocation_1":"ACCT1",
"Leg_1_Currency":"EUR.USD","Leg_1_ForwardPoints":"0","Leg_1_FutSettDate":"06/01/2014",
"Leg_1_LastSpotRate":"100.10000000000001","Leg_1_OrderQty":"1000",
"Leg_1_OutrightRate":"100.10000000000001","Leg_1_Side":"BUY","Leg_1_TenorValue":"SPOT",
"Leg_2_Currency":"EUR.USD","Leg_2_ForwardPoints":"0","Leg_2_FutSettDate":"06/01/2014",
"Leg_2_LastSpotRate":"100.10000000000001","Leg_2_OrderQty":"1000",
"Leg_2_OutrightRate":"100.10000000000001","Leg_2_Side":"BUY","Leg_2_TenorValue":"SPOT",
"OrderType":"SWAP","RequestKey":"1","TradeDate":"20140106",
"TransactTime":"20140106-19:17:56.063","__type":"DEAL_REQUEST",
"customerName":"APAMA","serviceId":"FXALL_TCPI"})