Capital Markets Adapters 10.7 | Apama Capital Markets Adapters Documentation 10.7 | EBS Spot Ai FIX Adapter | Connecting to EBS FIX 4.4 (EBS Direct) | Subscribing and Unsubscribing
 
Subscribing and Unsubscribing
You should subscribe for the symbol before placing order.
Sample configuration:

com.apama.fix.SessionConfiguration("EBSGW_TRADE_DATA",
{"FixChannel":"FIX_CHANNEL","OrderManager.updateKeyParamsOnStateChange":"true"})
The EBS FIX 4.4 adapter uses the CMF MDA MBP(com.apama.md.D), MBO(com.apama.md.O) and BBA(com.apama.md.BBA) streams to publish the EBS marketData . For EBS "PriceDepth Book" updates, you must be subscribed to MBP(com.apama.md.D) stream. For "MultiLevel PriceDepth Book" updates, you must be subscribed to MBO(com.apama.md.O) stream. With BBA stream, you will receive the "top of book" updates of EBS "PriceDepth Book".
If you want to subscribe non-aggregated PriceDepth Book, then you must use MBO stream with the control parameters below.
com.apama.session.CtrlParams controlParams := new
com.apama.session.CtrlParams; controlParams.addParam("1300","D")
controlParams.addParam("265","1") for Incremental updates. If not
specified it will always get a Snapshot update.