Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 18:40:13 +0000



Trade Activity Log - not saving data to file

View Count: 803

[2016-06-17 19:08:55]
User264623 - Posts: 26
I have been using Sierra Chart for several years, and this past week is the first time I've had this issue.

My trades populate in the Trade Activity Log as expected during a session, however the .dat file is not saving any TAL data since June 13, 2016. The TAL populates the trades while SC is running. If I exit the program and restart, it loads the last saved file which is from 6/13/16 and thus all of the trades in the past several days of trading are not available in the TAL.

I am using Rithmic as the data feed. I am using release 1426 of SC and Windows Vista. This is the same setup for the past few years. This issue is local to my desktop computer (which is my main trading computer). My laptop is also running SierraChart ver 1426 and it seems to be saving the TradeActivityLog.dat file as normal without issue.

Any ideas as to a solution for the desktop not saving the file?

Thanks
[2016-06-17 21:34:43]
Sierra Chart Engineering - Posts: 104368
Are there any error messages in Trade >> Trade Service Log that begin with "Trade Activity Log: "?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-06-18 13:20:13]
User264623 - Posts: 26
There are no error messages found in the Trade Service Log.
[2016-06-18 22:55:40]
Sierra Chart Engineering - Posts: 104368
Not really sure about this, if there are no error messages.

It seems to be a system specific issue.

Make a copy of the TradeActivityLog.dat file in the main Sierra Chart installation folder. Delete the existing one and rename the copy back to TradeActivityLog.dat.

Not sure what else we can suggest.

You can attach it here and we can see what the latest data is in it. Here are instructions to it privately attach it:
https://www.sierrachart.com/index.php?page=PostingInformation.php#AttachFile
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-06-22 18:47:15]
User264623 - Posts: 26
The issue has been resolved.

When attempting to copy / rename the TradeActivityLog.dat file the system was unable due to file in use. Upon investigating further, SC appeared not to be running, but actually it was running as hidden via a Windows Task Scheduler program load with incorrect settings.

It appears that having SC running hidden and no visual representation that it was active, I started SC unknowingly that it was already running. In turn this most likely created a "file in use" condition when SC went to save the current day's TradeActivityLog file - hence it would not save the new trades. The Windows Task Scheduler entry has been removed, and Sierra Chart is saving trades as expected now.

Thanks Support for helping to uncover the issue.
[2016-06-22 19:12:16]
Sierra Chart Engineering - Posts: 104368
So actually there were two instances of Sierra Chart running? One was hidden and one was not. That should not occur. A second instance is automatically exited when it is started. Although that might be possible if the other instance were running under a different Windows account.

In any case, at least the problem is resolved but it is not completely clear exactly what was happening and why.


Update: Actually the other instance probably was running under a different Windows account. This is why you did not see it.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2016-06-22 19:13:33
[2016-06-22 19:36:02]
User264623 - Posts: 26
Yes, it appears it appears the "hidden" instance was likely loaded under a different Windows account when loaded by Windows Task Scheduler.

The task had been created initially to run Sierra Chart upon computer startup in the morning. The issue of the TradeActivityLog.dat not saving began when the setting (in Task Scheduler): "run only when user is logged on", was changed to: "run whether user is logged on or not". Upon switching this setting back to "run only when user is logged on" the issue was resolved. Although this wasn't apparent that it was causing the issue until the investigation into why the "file in use" message was appearing.

While the same Windows account was used in both cases, that setting seemed to make a difference into which environment SC was loaded into, and whether or not it was "running hidden". So perhaps the Task Scheduler loaded it under a different user account with the change in setting, as you are saying.

Thanks again for the help.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account