Re: [Quickfix-users] SessionQualifier and MySQL
Brought to you by:
orenmnero
From: Nikolay P. <ko...@xl...> - 2006-03-22 12:33:57
|
Example about using SessionQuilifier with connections on different ports. Using QuickFix examples executor and tradeclient with : -------------------------------------------------------executor.cfg------------------------------------------------------- [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 StartTime=00:00:00 EndTime=00:00:00 DataDictionary=../spec/FIX42.xml [SESSION] BeginString=FIX.4.2 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store [SESSION] BeginString=FIX.4.2 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store SocketAcceptPort=5002 [SESSION] BeginString=FIX.4.2 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store SocketAcceptPort=5003 [SESSION] BeginString=FIX.4.2 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store SocketAcceptPort=5004 -------------------------------------------------------tradeclient.cfg------------------------------------------------------- [DEFAULT] ConnectionType=initiator HeartBtInt=30 FileStorePath=store FileLogPath=log StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=N SocketConnectHost=localhost SocketConnectPort=5001 [SESSION] BeginString=FIX.4.2 SenderCompID=CLIENT1 TargetCompID=EXECUTOR SessionQualifier=TC1 SocketConnectPort=5001 [SESSION] BeginString=FIX.4.2 SenderCompID=CLIENT1 TargetCompID=EXECUTOR SocketConnectPort=5002 SessionQualifier=TC2 [SESSION] BeginString=FIX.4.2 SenderCompID=CLIENT1 TargetCompID=EXECUTOR SocketConnectPort=5003 SessionQualifier=TC3 and wgat i've got with tradeclient: 1) Enter Order 2) Cancel Order 3) Replace Order 4) Market data test 5) Quit Action: Logon - FIX.4.2:CLIENT1->EXECUTOR:TC1 and executor printed no explanation of the reason why other sessions had not log on -- View this message in context: http://www.nabble.com/SessionQualifier-and-MySQL-t1318780.html#a3531315 Sent from the QuickFIX - User forum at Nabble.com. |