Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 06:03:28 +0000



Time syncing in SC

View Count: 2975

[2016-05-04 17:57:30]
User754985 - Posts: 109
Hi, SC,

A couple of "time" related questions:

1. A message log normally shows "time difference to Server" in whole seconds. Is it possible to change the resolution to 2 decimals?

2. Manuals have references to two date/time sync settings:
- Global Settings -> Set System Time from Server
- Data and Trade Service -> Timestamp using local computer clock

https://www.sierrachart.com/index.php?l=doc/helpdetails38.html

Both would be very useful, but I cannot find them in the relevant menus. I am using IB and SC 1400.

Please support.

H.
[2016-05-05 01:03:52]
User754985 - Posts: 109
OK, I upgraded to ver.1405 and can now see "Set System Date-time from server" under Global settings.

(WHY is there no Change Log?? This is not such a minor development. What other changes have there been from v1401 to 1405?)

Under "General Settings" there is now also an option to "Periodically Set System Date-Time from server" - WHICH IS NOT DOCUMENTED.

So, how often would this last option re-sync local computer clock?

Still could not find "Timestamp using local computer clock" option in the Data and Trading service...


I tried to re-sync time with SC's "Set system Date-time" from server and found that it is ahead of the clock vs. a Stratum One time provider in NYC that I normally sync my VPS in NYC with(clock.nyc.he.net) -
http://support.ntp.org/bin/view/Servers/StratumOneTimeServers?sortcol=0;table=1;up=0#sorted_table

- most often by 1069-1071ms(!) and sometimes by around 60-70ms.(RTT to SC server in Europe is 141ms).

From the other hand, IB's end-of-minutes are mostly consistent with the sync I use.

Would greatly appreciate your thoughts/suggestions/recommendations on the most accurate time syncing.
How do brokers sync time?
[2016-05-05 05:14:32]
Sierra Chart Engineering - Posts: 104368

- Data and Trade Service -> Timestamp using local computer clock
This setting does not exist for Interactive Brokers. The documentation has been clarified on the subject.

In the case of Interactive Brokers your local computer clock is used for time stamping.
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-05-05 05:14:47
[2016-05-05 05:16:54]
Sierra Chart Engineering - Posts: 104368

Under "General Settings" there is now also an option to "Periodically Set System Date-Time from server" - WHICH IS NOT DOCUMENTED.
We are documenting this now. The documentation will answer your questions.

We have limited time to be updating the What is New page. Our primary focus is continuing with development and updating the main documentation.
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-05-05 07:10:59]
User754985 - Posts: 109
But how are current users supposed to discover new functionality? By re-clicking and closely looking through all of SC menus and submenus and then reverting to the manual? I understand time constraints and only covering key changes...but at least those.

1. A message log normally shows "time difference to Server" in whole seconds. Is it possible to change the resolution to 2 decimals?
[2016-05-05 07:13:41]
Sierra Chart Engineering - Posts: 104368

1. A message log normally shows "time difference to Server" in whole seconds. Is it possible to change the resolution to 2 decimals?
This is not so simple to do.
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-05-05 07:19:13]
User754985 - Posts: 109
New "Set system date-time from server" functionality provides a similar message log with the necessary detail..
[2016-05-05 09:00:01]
Sierra Chart Engineering - Posts: 104368
As we said this is not simple and it will not be done.
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-05-05 09:04:34]
Sierra Chart Engineering - Posts: 104368
However, in the next release, when you have Global Settings >> General Settings >> Periodically Set System Date-Time from Server, this will be done on startup and the time from the server with milliseconds is given.
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-05-05 10:00:41]
Sierra Chart Engineering - Posts: 104368
This is an example of what you will see in the Message Log in the next release when there is a time synchronization:

Received Date-time from server. Delay adjusted UTC Date-time: 2016-05-05 09:58:32.858. Round-trip delay: 00:00:00.442 | 2016-05-05 05:58:32
Computer time to server time difference: 00:00:00.006 | 2016-05-05 05:58:32
Successfully set the system Date-time to: 2016-05-05 09:58:32.858 UTC. | 2016-05-05 05:58:32
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-05-05 15:52:34]
User754985 - Posts: 109
Ok, thank you!
[2016-05-09 16:02:03]
User13668 - Posts: 291
Okay so I thought I would give this setting a go under v1406 as my computer clock was always about 2 seconds slower than SC time bars. I use W10 OS and it is very difficult to change the frequency with which W10 will sync with Internet Time (I think the default is weekly).

Anyhow, here is the extract from my SC log following selecting this option under General Settings:

HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236. | 2016-05-09 10:53:53
HTTP connection to www.sierrachart.com:80 (75) | Connected. | 2016-05-09 10:53:53
HTTP connection to www.sierrachart.com:80 (75) | Closed. No error. | 2016-05-09 10:53:58
HTTP connection to www.sierrachart.com:80 (75) | Shutdown and closed. | 2016-05-09 10:53:58
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236. | 2016-05-09 11:53:53
HTTP connection to www.sierrachart.com:80 (106) | Connected. | 2016-05-09 11:53:53
Received Date-time from server. Delay adjusted UTC Date-time: 2016-05-09 15:53:55.919. Round-trip delay: 00:00:00.086 | 2016-05-09 11:53:53
Error setting the system Date-time: Windows error code 1314: A required privilege is not held by the client. | 2016-05-09 11:53:53 *
HTTP connection to www.sierrachart.com:80 (106) | Closed. No error. | 2016-05-09 11:53:58
HTTP connection to www.sierrachart.com:80 (106) | Shutdown and closed. | 2016-05-09 11:53:58

Bold section is my emphasis.
[2016-05-09 16:28:03]
Sierra Chart Engineering - Posts: 104368
The operating system is not allowing the time to be changed by a program.
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-05-09 16:31:32]
User13668 - Posts: 291
Isn't W10 just wonderful!!!!

So much of it is locked down.

I have read about some hacks where others have mucked around with the registry and other components to trick the OS into time syncing more frequently. Guess I will try one of those.

You might want to add to your documentation that this SC setting will not work under W10.
[2016-05-09 17:37:41]
Sierra Chart Engineering - Posts: 104368
We would not add that to the documentation at this time because we do not know whether this is specific to a standard installation of Windows 10.

Although probably it is.
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-11-25 19:39:54]
enemyspy - Posts: 304
This is an old post but has anyone figured out how to Fix this with Windows 10 yet...Also Don't get windows 10 it sucks.
[2016-11-28 17:07:48]
DabbaDo - Posts: 146
Once I set the SierraChart.exe file (or shortcut to it) to "Run as Administrator") it works fine on all my Windows 10 PCs. And I have UAC turned off, but I don't know if that matters.
[2016-11-28 17:52:00]
Sierra Chart Engineering - Posts: 104368
Thank you this is good to know. We are updating the documentation now with this information.
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

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

Login

Login Page - Create Account