Apama Capital Markets Adapters 10.1 | Apama Capital Markets Adapters Documentation 10.1 | EBS Spot Ai FIX Adapter | Querying Login Response Fields
 
Querying Login Response Fields
User can request for login fields in login response through com.apama.fix.ebs.GetUserSessionParams interface. Requested fields are exposed by com.apama.fix.ebs.UserSessionParams Interface.

com.apama.fix.ebs.GetUserSessionParams(string Transport,string
symbol,sequence <string> fields,dictionary <string,string>
extraParams)
Where,
*Transport is connection name
*symbol is interested symbol to retrieve fields
*fields is sequence of comma separated interested fields
*extraParams. You can provide CFICode (defaults to RCSXXX) and SettlType (defaults to "0" (that is, Regular)) in extraParams
Note: Symbol can be empty("") to retrieve fields of UserData in UserResponse Interface.
To retrieve TradingSessions related information, user expects to send field as "TradingSession".

com.apama.fix.ebs.UserSessionParams(string Transport,string
symbol,dictionary<string,string> values)
Transport is connection name, symbol is interested symbol to retrieve fields and .
Where,
*Transport is connection name
*symbol is interested symbol to retrieve fields
*values is dictionary of field versus value
Sample event without extraParams:

com.apama.fix.ebs.GetUserSessionParams("Connection","XAG/USD",
["TradingSession","SettlDate","IcebergRandomTimeIncrement"],{})
Sample response
com.apama.fix.ebs.UserSessionParams("Connection","XAG/USD",
{"IcebergRandomTimeIncrement":"100","MarketSegmentID_0":"Standard",
"SettlDate":"20140318","TradingSessionID_0":"56128"})
Sample event with extraParams:

com.apama.fix.ebs.GetUserSessionParams("Connection","EUR/USD",["SettlDate",
"541","SettlType","CFICode"],{"CFICode":"FFCNNO","SettlType":"M1"})
Sample response
com.apama.fix.ebs.UserSessionParams("Connection","USD/CNS",{"541":"20170808",
"CFICode":"FFCNNO","SettlDate":"20170810","SettlType":"M1"})

Copyright © 2013-2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.