[ts-gen] strange regression in latest TWS - TAC ticket 640862

R P Herrold herrold at owlriver.com
Wed Jan 30 12:18:39 EST 2008


The TWS releases for this month have taken to NOT always 
pulling the day's order journal at startup in all cases.  I 
consider this a regression in function, but ... got this 
response and an autoclose from TAC.

ticket: 640862

If an order was executed it should certainty be displayed 
within your Trade executions window.

If your trades are not showing up then you will need to delete 
the files responsible for pulling this data from our server 
and allow the TWS to re-download to retrieve trade data.

To do this you will need to delete 3 files within your TWS 
settings dir. (c;/JTS). Ensure your logged out of TWS before 
deleting files.

Within the JTS folder you will see another folder beginning 
with the letter "d". (If you have multiple "d" folders it 
means you logged into TWS with multiple usernames, each d 
folder represents a username used to login to TWS on that PC)

So, open the "d" folder and look for the following files 
providing youre not able to view trades for Tuesday.

Tue.rpt
Tue.rul
seqNum.dat

If you were not able to view trades for Wednesday then you 
would delete the following files.

Wed.rpt
Wed.rul
and the seqNum.dat

Once files are deleted, log back into TWS and check the Trade 
window to see if your trades are there.

Please keep in mind the TWS will only show trades that 
occurred on that day, so if you were missing trades in the 
Trade Window for Tuesday you will not be able to follow the 
above steps on Wednesday to retrieve Tuesday trades. Above 
steps must be completed on the day youre missing the trade.

~Kevin
IB TAC

=================================

This is a VERY curious reponse by IB TAC to the regression of 
NOT needing to do this with prior TWS versions -- a fix 
entailing a required disconnection the TWS, and manually 
mungeing of files is a fairly hefty burden and loss of 
functionality.

Obviously I can script rm'ing the relevant files, but then the 
scripting process needs to be taught to correctly predict 
which login ID is ABOUT TO BE used BEFORE the TWS is started, 
so that it cleans out files ONLY in the proper sub-tree below 
./IBJts/ [i.e., which ./IBJts/d* ] ;( This makes the system 
more fragile.

-- Russ herrold


More information about the ts-general mailing list