[Quickfix-users] tradeclient and ordermatch examples
Brought to you by:
orenmnero
From: C C <cc2...@ya...> - 2009-09-11 17:53:00
|
I modified the bin/cfg/tradeclient.cfg as follows: [DEFAULT] ConnectionType=initiator HeartBtInt=300 ReconnectInterval=1 FileStorePath=store FileLogPath=log StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=N SocketConnectHost=localhost [SESSION] BeginString=FIX.4.2 SenderCompID=CLIENT1 TargetCompID=ORDERMATCH SocketConnectPort=5002 And I connect it to ordermatch example. After I enter the parameters for a sale, the order goes thru. Based on the logs, I see that tradeclient initiates a logout right after sending one order. I would like to know why, as the code indicates otherwise. I would also like to know how I can have the tradeclient running for more than one order. Many thanks. Log from the tradeclient is below. OUT: 8=FIX.4.29=12935=D34=1549=CLIENT152=20090911-17:48:02.89256=ORDERMATCH11=3321=138=10040=244=20054=155=MMM59=060=20090911-17:47:3010=169 <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, outgoing> (8=FIX.4.29=12935=D34=1549=CLIENT152=20090911-17:48:02.89256=ORDERMATCH11=3321=138=10040=244=20054=155=MMM59=060=20090911-17:47:3010=169) <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, incoming> (8=FIX.4.29=12935=834=349=ORDERMATCH52=20090911-17:48:02.89356=CLIENT16=011=3314=017=120=037=3338=10039=054=155=MMM150=0151=10010=016) IN: 8=FIX.4.29=12935=834=349=ORDERMATCH52=20090911-17:48:02.89356=CLIENT16=011=3314=017=120=037=3338=10039=054=155=MMM150=0151=10010=016 <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, event> (Initiated logout request) <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, outgoing> (8=FIX.4.29=6135=534=1649=CLIENT152=20090911-17:48:02.89756=ORDERMATCH10=249) <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, incoming> (8=FIX.4.29=6035=534=449=ORDERMATCH52=20090911-17:48:02.89856=CLIENT110=198) <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, event> (Received logout response) <20090911-17:48:02, FIX.4.2:CLIENT1->ORDERMATCH, event> (Disconnecting) Logout - FIX.4.2:CLIENT1->ORDERMATCH |