Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Everything is working great with the API. I love it." - Comment from Calvin
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »NEW IQFEED FORUMS »New IQFeed Forum »Best Way to align local machine time and IQFeed server time
Author Topic: Best Way to align local machine time and IQFeed server time (5 messages, Page 1 of 1)

buscq9421
-Interested User-
Posts: 10
Joined: Jan 26, 2019


Posted: Feb 12, 2019 11:00 AM          Msg. 1 of 5
I am trying to calculate the delay from my local_time to IQFeed's server_time.

Right after I receive a Q message whose message content contains "b" or "a", I logging my local_time. The Bid Time or Ask Time in the Q message provides the server_time.

I expect local_time - server_time to be some small positive number, but I notice it's pretty consistently around -0.55 seconds. Hence, I wonder if IQFeed offers some good way for local machine to align to the server time.

Thanks.

quickTick
-Interested User-
Posts: 53
Joined: Nov 17, 2013


Posted: Feb 12, 2019 11:31 AM          Msg. 2 of 5
There are 'T' messages giving you the server time each second. I haven't tried to use them to synch yet, however I would assume they are sent at each full second.

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Feb 12, 2019 12:57 PM          Msg. 3 of 5
Do you use NTP to sync the time of your server to the 'rest of the world'?

quickTick
-Interested User-
Posts: 53
Joined: Nov 17, 2013


Posted: Feb 12, 2019 02:26 PM          Msg. 4 of 5
A quick test: the difference between local NTP time and "T" server time indicates "T" time has a small delay in addition to half of ping roundtrip. Symbols from Chicago have another, yet small, delay on top of that, and symbols from New York a bit higher delay. As far as I can tell, nothing strange or unexpected.

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Feb 12, 2019 02:33 PM          Msg. 5 of 5
I'm not sure what the question is, because I think the discrepancies can be attributed to mostly physics then.

When I looked at this many moons ago, Chicago was closer then NY to the DTN servers, thus the differences in time.
 

 

Time: Sun April 28, 2024 10:08 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003