Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | EBS Spot Ai FIX Adapter | Session configuration
 
Session configuration
EBS FIX Session can be configured with the following optional configuration parameters:
*"FixChannel":"FIX"
The channel to emit upstream events to. It defaults to FIX.
*"EBSFIX.SERVICEID":"EBS-FIX"
It should not be "FIX" and it should be different from "SERVICEID" if mentioned. All new/amend/cancel orders must use this service id rather than the usual "SERVICEID". It defaults to "EBS-FIX".
*"OrderManager.OrderIDServiceName":"EBS-FIX"
It should not be "FIX" and it should be different from "SERVICEID" if mentioned. It allows customization of clOrdId for orders. Specifying a value here will allow the EBS service to override the default behavior of order id generation in the FIX service. It defaults to "EBS-FIX".
*"EBSFIX.EnablePriceRounding":"false"
Setting it to "true" enables the rounding of price to symbol PIP for Orders. It defaults to "false".
*"EBSFIX.LogonRetryCount":"2"
Maximum user logon retry count. It defaults to 2.
*"EBSFIX.DisableAutoPasswdGeneration":"false"
If enabled adapter will not autogenerate new password when it receives a password expire response. Adapter will wait for a "PasswordChangeRequest" event from the user.
*"EBSFIX.EBSOrderTypes":
Currently, our adapter supports order types 'LIMIT', 'FIXING'. Here 'LIMIT' orders can buy/sell at a price using tag 44. The other two order types trade at a fixed price hence the prices for these orders should not be submitted. In future, if EBS introduces any new order type which support price or not then same can be configured as, "string:boolean, string:boolean, string:boolean"
For example: "EBSFIX.EBSOrderTypes":"orderTyp1:true, orderTyp2:false, orderTyp3:true"
*"EBSFIX.SubKeyTags":
A dictionary of tags:default that will be used to uniquely identify a subscription. By default the subscription key is a combination of Symbol, SettleType(63), CFICode(461). This can be modified by providing the dictionary of parameter and default values that user wants.
For example: "EBSFIX.SubKeyTags":"{\"64\":\"1\", \"121\":\"A\"}".
The subscription key will now be a combination of Symbol:64:121. If the SubscribeDepth/Tick event doesn't have these tags, the default values of these tags (1, A) will be used the subscription key.
Sample configuration event
com.apama.fix.ebs.SessionConfiguration("Connection Name",
{"FixChannel":"FIX", "OrderManager.OrderIDServiceName":"EBS-FIX",
"EBSFIX.SERVICEID":"EBS-FIX", "EBSFIX.EnablePriceRounding":"true",
"EBSFIX.LogonRetryCount":"2" })
The above configuration is equivalent to
com.apama.fix.ebs.SessionConfiguration("Connection Name", {})