Capital Markets Adapters 10.15 | Apama Capital Markets Adapters Documentation 10.15 | EBS Spot Ai FIX Adapter | Sample Messages and events | EBS FIX handling of different views | Depth subscription | Amount view
 
Amount view
Subscribe Depth:
com.apama.marketdata.SubscribeDepth(“EBS-AMOUNT”, “Connection Name”,
“EUR/USD”, {“461”:”RCSXXX”, “63”:”0”})
Generated Depth:
com.apama.marketdata.Depth(“EUR/USD”, [1.3272,1.3271,1.327], [1.3289,1.329,1.3291],
[1.32805,1.32805,1.32805], [50000000,150000000,250000000], [50000000,150000000,250000000],
{“1021”:”1102”,”20203”:”1”,”35”:”X”, “461”:”RCSXXX”, “52”:”20110105-07:46:37.472”, “63”:”0”,
“ASK1_CFICode”:”RCSXXX”, “ASK1_SettlmntTyp”:”0”,
“ASK2_CFICode”:”RCSXXX”, “ASK2_SettlmntTyp”:”0”,
“ASK3_CFICode”:”RCSXXX”, “ASK3_SettlmntTyp”:”0”,
“ASK4_CFICode”:”RCSXXX”,”ASK4_SettlmntTyp”:”0”,
“ASK5_CFICode”:”RCSXXX”, “ASK5_SettlmntTyp”:”0”,
“BID1_CFICode”:”RCSXXX”, “BID1_SettlmntTyp”:”0”,
“BID2_CFICode”:”RCSXXX”,”BID2_SettlmntTyp”:”0”,
“BID3_CFICode”:”RCSXXX”, “BID3_SettlmntTyp”:”0”,
“BID4_CFICode”:”RCSXXX”,”BID4_SettlmntTyp”:”0”,
“BID5_CFICode”:”RCSXXX”,”BID5_SettlmntTyp”:”0”,
“Market”:”Connection”,”SERVICE_NAME”:”EBS-AMOUNT”})
In case of no market:
com.apama.marketdata.Depth(“EUR/USD”, [], [], [], [], [],
{“1021”:”1102”, “461”:”RCSXXX”, “63”:”0”, “Market”:” Connection Name”,
“SERVICE_NAME”:”EBS-AMOUNT”,
“_ERROR”:”Subscription Error: Session Connection has been logged-off”})
Un-subscribe Depth:
com.apama.marketdata.UnsubscribeDepth(“EBS-AMOUNT”, “Connection Name”,
“EUR/USD”, {“461”:”RCSXXX”, “63”:”0”})