Which version of Windows for a VPS
the clock is synced by a windows service once a week by default. the rationale here is to ensure that the clock is up to date bang in front of the trading session. the clock CAN and DOES slip by varying amounts across 7 days (even if only a few seconds over that time period!)
if left for a week, that would be about 2-3 minutes - whao!! certainly worth recalibrating regularly then. I thought once a day was fine
Those larger entries were few and far between but even just working an average of 25ms every 15mins that's still around 2.4secs a day if left which isn't ideal when running automation and gathering data
Are you able to check that log in the program you recommended Dallas, Net Time? Or are you looking somewhere else?
I am surprised the time slips that much, over the course of a week that is significant slippage.
if you follow the steps in a previous post i added, it gives instructions for using the inbuilt windows sync tool via Task Scheduler. i have this runnning (albeit once a day at midday) on my VPS.
It has a 'view log' option within the program
You do not have the required permissions to view the files attached to this post.
- ShaunWhite
- Posts: 9731
- Joined: Sat Sep 03, 2016 3:42 am
That's because world clock only gets you to within about 50ms (due to the variation in your ping so could be more) so that's less stable as a relative measure through the day than your server clock doing 1 resync a day and letting it run. I was always told you shouldn't resync more than once an hour but even that's a bit ott really.
w32tm.exe does the job without installing any freeware.
i agree and would attach my task schedule xml if xml attachments were allowed. that said, the link to the article from earlier is simple to follow. https://www.pretentiousname.com/timesync/ShaunWhite wrote: ↑Fri Jan 25, 2019 2:30 pmThat's because world clock only gets you to within about 50ms (due to the variation in your ping so could be more) so that's less stable as a relative measure through the day than your server clock doing 1 resync a day and letting it run. I was always told you shouldn't resync more than once an hour but even that's a bit ott really.
w32tm.exe does the job without installing any freeware.
- ShaunWhite
- Posts: 9731
- Joined: Sat Sep 03, 2016 3:42 am
Rumour has it, the 'proper' way is to install a rubidium clock in your server room and sync all your machines to that....just a rumour obv
ANYWAY!!! ....ShaunWhite wrote: ↑Fri Jan 25, 2019 2:35 pmRumour has it, the 'proper' way is to install a rubidium clock in your server room and sync all your machines to that....just a rumour obv
Thank you both, I think I will switch to this method and just sync once a day as the article suggests at 01:15am each day.jimibt wrote: ↑Fri Jan 25, 2019 2:32 pmi agree and would attach my task schedule xml if xml attachments were allowed. that said, the link to the article from earlier is simple to follow. https://www.pretentiousname.com/timesync/ShaunWhite wrote: ↑Fri Jan 25, 2019 2:30 pmThat's because world clock only gets you to within about 50ms (due to the variation in your ping so could be more) so that's less stable as a relative measure through the day than your server clock doing 1 resync a day and letting it run. I was always told you shouldn't resync more than once an hour but even that's a bit ott really.
w32tm.exe does the job without installing any freeware.
i changed that time to 12:00 noon, so that all primed just ahead of trading start.PDC wrote: ↑Fri Jan 25, 2019 2:53 pmThank you both, I think I will switch to this method and just sync once a day as the article suggests at 01:15am each day.jimibt wrote: ↑Fri Jan 25, 2019 2:32 pmi agree and would attach my task schedule xml if xml attachments were allowed. that said, the link to the article from earlier is simple to follow. https://www.pretentiousname.com/timesync/ShaunWhite wrote: ↑Fri Jan 25, 2019 2:30 pm
That's because world clock only gets you to within about 50ms (due to the variation in your ping so could be more) so that's less stable as a relative measure through the day than your server clock doing 1 resync a day and letting it run. I was always told you shouldn't resync more than once an hour but even that's a bit ott really.
w32tm.exe does the job without installing any freeware.