Apama Capital Markets Adapters 10.1 | Apama Capital Markets Adapters Documentation 10.1 | Currenex FIX Adapter | Session configuration
 
Session configuration
Currenex sessions must be configured with the following configuration parameters:
Trading sessions:
OrderManager.RequireSessionsStatusOpen = true
OrderManager.IgnoreStatusOnOrderCancelReject = true
OrderManager.HandleSuspendedExecType = true
OrderManager.UseCurrencyFromSymbol = "BASE" or "TERM"

OrderManager.CustomOrdTypes = "TRAILING STOP:V,OCO:W,IFD OCO:Y"
This is used to set order types specific to currenex
Market data sessions:
SubscriptionManager.RequireSessionStatusOpen = true
SubscriptionManager.FieldOmissions = Currency
Sample session configuration events, compatible with the distributed configuration file:
// Currenex trading session
com.apama.fix.SessionConfiguration("CURRENEX_TRADING",
{"FixChannel":"CURRENEX_FIX", "OrderManager.RequireSessionStatusOpen":"true",
"OrderManager.IgnoreStatusOnOrderCancelReject":"true",
"OrderManager.HandleSuspendedExecType":"true",
"OrderManager.UseCurrencyFromSymbol":"BASE",
"OrderManager.CustomOrdTypes":"TRAILING STOP:V,OCO:W,IFD OCO:Y"})

// Currenex market data session
com.apama.fix.SessionConfiguration("CURRENEX_MARKET_DATA",
{"FixChannel":"CURRENEX_FIX",
"SubscriptionManager.RequireSessionStatusOpen":"true",
"SubscriptionManager.FieldOmissions":"Currency"})

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.