Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | FXCMPro FIX Adapter | Sample events
 
Sample events
Subscription

com.apama.marketdata.SubscribeDepth("FIX", "FXCMPRO_MARKET_DATA",
"EUR/GBP",{"264":"0","266":"N","7560":"Y"})
Order Placing

com.apama.oms.NewOrder("order1", "EUR/USD",1.27378,"BUY",
"FOREX LIMIT",500000,"FIX","","", "FXCMPRO_TRADING", "", "", {"15":"EUR","59":"0"})
ICEBERG Order with hidden quantity. Tag 210 indicates quantity displayed, The Quantity field of NewOrder holds the total quantity including the hidden amount.

com.apama.oms.NewOrder("order1", "EUR/USD",1.27378,"BUY",
"FOREX ICEBERG",500000,"FIX","","", "FXCMPRO_TRADING", "", "",
{"15":"EUR","59":"0","210":"200000"})