Hi,
Can anyone help me with the config file or code for a FIX 5.0 logon on baxter server?
This is my config file:
Has anyone tried to connect to their servers with quick fix?
This is the config file:
#################################
# QuickFix related Parameters!!!#
#################################
[DEFAULT]
ConnectionType=initiator
SocketConnectHost=217.112.145.82
SocketConnectPort=3968
SenderCompID=gogo
BeginString=FIXT.1.1
TargetCompID=BAXTERtest
ReconnectInterval=60
HeartBtInt=30
ResetOnLogon=Y
ResetOnLogout=N
RefreshMessageStoreAtLogon=Y
ResetOnDisconnect=N
PersistMessages=N
SocketTcpNoDelay=Y
SocketKeepAlive=Y
MillisecondsInTimeStamp=Y
FileIncludeMilliseconds=Y
FileIncludeTimeStampForMessages=Y
ValidateFieldsOutOfOrder=N
FileStorePath=Logs
FileLogPath=Logs
FileStoreMaxCachedMsgs=1000
SenderSubID=MV
StartTime=00:00:00
EndTime=23:59:00
DefaultApplVerID=C:/FIX.5.0
AppDataDictionary.FIX.5.0=C:/FIX50_MV.xml
TransportDataDictionary=C:/FIXT11_MV.xml
and my connecting code in the initiator: (C#)
_settings = new QuickFix.SessionSettings("C:\\Settings2.txt");
_application = this;
_storeFactory = new QuickFix.FileStoreFactory(_settings);
_logFactory = new QuickFix.FileLogFactory("C:\\LogInfo");
_messageFactory = new QuickFix.DefaultMessageFactory();
_initiator = new QuickFix.SocketInitiator(_application,_storeFactory, _settings, _logFactory, _messageFactory);
_initiator.start();
while (!_initiator.isLoggedOn()) ;
// Do something
_initiator.stop();
Thanks