Capital Markets Adapters 10.15 | Apama Capital Markets Adapters Documentation 10.15 | EBS Spot Ai FIX Adapter | Connecting to CME EBS Ai | Subscribing and Unsubscribing
 
Subscribing and Unsubscribing
The EBS Ai platform supports only the Price Depth market view (that is, the aggregate depth book is sorted by price, descending for bids and ascending for offers). Therefore, EBS Ai supports the depth subscriptions (CMF MDA MBP(com.apama.md.D)) and trade subscriptions (com.apama.md.Trade). The MBP stream subscriptions provide depth data, while Trade stream provides trade updates.
You must fill the required fields like the currency/Symbol(55), CFI Code (461 tag), SettlType (63) in the control parameters while sending the subscriptions.
com.apama.utils.Params controlParams := new com.apama.utils.Params
controlParams.addParam("55","USD");
controlParams.addParam("461"," RCSXXX ");
controlParams.addParam("63","0");
controlParams.addParam("1300"," Standard");
controlParams.addParam("1021","2");