Thread: [Quickfix-users] QuickFix Log Question
Brought to you by:
orenmnero
From: Mike P. <mic...@ya...> - 2006-08-09 21:53:28
|
I downloaded and compiled QuickFix 1.12.1. I then copied and stripped down the executor.cfg to just two sessions (FIX.4.0 CLIENT1 & CLIENT2 sessions) and moved the session port specification to the Session level of the config file. I use ports 6001 and 9001. I then made two copies of the tradeclient.cfg and only put one session in each file. I started the executor and two clients using the respective config file and they all seemed to work connect. I entered a trade and it got rejected. Here is the log messages: <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, incoming> (8=FIX.4.09=9835=D34=249=CLIENT152=20060809-21:43:5156=EXECUTOR11=12-321=138=100040=154=155=MSFT59=010=144) <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, event> (Message 2 Rejected: Value is incorrect (out of range) for this tag:40) <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, outgoing> (8=FIX.4.09=11435=334=249=EXECUTOR52=20060809-21:43:5156=CLIENT145=258=Value is incorrect (out of range) for this tag (40)10=093) I then went to look at the "store" file and use the Quickfix Log viewer, I attempted to open up the file that ends with .body but there only seems to be one message in the file. I used vi to look at the file and it seems as though there are now newlines in the log. Is that the way it's supposed to be? What file would I use to look at all the messages of a session? Do I not have the session or logging configured properly? Thanks, Mike __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Oren M. <or...@qu...> - 2006-08-09 22:41:41
|
Mike, The logviewer requires that messages be separated by a newline. The store is not really a log file, but a storage file that is optimized for processing quick storage and processing resend requests. Properly reading a storage file requires both the .body file and the .header file. This is very QuickFIX specific. Instead, you should be opening up the .messages file created by your logger. This is a more traditional log with line feeds between entries. The logviewer will be able to handle this file. --oren On Aug 9, 2006, at 4:53 PM, Mike Perik wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > I downloaded and compiled QuickFix 1.12.1. > I then copied and stripped down the executor.cfg to > just two sessions (FIX.4.0 CLIENT1 & CLIENT2 sessions) > and moved the session port specification to the > Session level of the config file. I use ports 6001 and > 9001. I then made two copies of the tradeclient.cfg > and only put one session in each file. I started the > executor and two clients using the respective config > file and they all seemed to work connect. I entered a > trade and it got rejected. > > Here is the log messages: > <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, > incoming> > > (8=FIX. > 4.09=9835=D34=249=CLIENT152=20060809-21:43:5156=EXECUTOR11=12-321=138= > 100040=154=155=MSFT59=010=144) > <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, event> > (Message 2 Rejected: Value is incorrect (out of > range) for this tag:40) > <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, > outgoing> > > (8=FIX. > 4.09=11435=334=249=EXECUTOR52=20060809-21:43:5156=CLIENT145=258=Value > is incorrect (out of range) for this tag (40)10=093) > > > I then went to look at the "store" file and use the > Quickfix Log viewer, I attempted to open up the file > that ends with .body but there only seems to be one > message in the file. > > I used vi to look at the file and it seems as though > there are now newlines in the log. Is that the way > it's supposed to be? What file would I use to look > at all the messages of a session? Do I not have the > session or logging configured properly? > > Thanks, > Mike > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |
From: Eranga S. <pe...@ri...> - 2006-08-10 04:32:46
|
Here I give sample configuration for logging and storing. [DEFAULT] ConnectionType=initiator HeartBtInt=30 FileStorePath=store StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=N SocketConnectHost=localhost SocketConnectPort=4444 ReconnectInterval=1 FileLogPath=log [SESSION] BeginString=FIX.4.2 SenderCompID=AX1 TargetCompID=BKK DataDictionary=../spec/FIX42.xml Your tag 40 (Order Type) value is out of range. It should be a char type single value. I didn't see any error in your logs. FIX.4.0:EXECUTOR->CLIENT1, incoming--- display all the incoming messages for that sessions. Eranga -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Mike Perik Sent: Thursday, August 10, 2006 3:23 AM To: qui...@li... Subject: [Quickfix-users] QuickFix Log Question QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html I downloaded and compiled QuickFix 1.12.1. I then copied and stripped down the executor.cfg to just two sessions (FIX.4.0 CLIENT1 & CLIENT2 sessions) and moved the session port specification to the Session level of the config file. I use ports 6001 and 9001. I then made two copies of the tradeclient.cfg and only put one session in each file. I started the executor and two clients using the respective config file and they all seemed to work connect. I entered a trade and it got rejected. Here is the log messages: <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, incoming> (8=FIX.4.09=9835=D34=249=CLIENT152=20060809-21:43:5156=EXECUTOR11=12-321=138 =100040=154=155=MSFT59=010=144) <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, event> (Message 2 Rejected: Value is incorrect (out of range) for this tag:40) <20060809-21:43:51, FIX.4.0:EXECUTOR->CLIENT1, outgoing> (8=FIX.4.09=11435=334=249=EXECUTOR52=20060809-21:43:5156=CLIENT145=258=Value is incorrect (out of range) for this tag (40)10=093) I then went to look at the "store" file and use the Quickfix Log viewer, I attempted to open up the file that ends with .body but there only seems to be one message in the file. I used vi to look at the file and it seems as though there are now newlines in the log. Is that the way it's supposed to be? What file would I use to look at all the messages of a session? Do I not have the session or logging configured properly? Thanks, Mike __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/413 - Release Date: 8/8/2006 |