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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
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 »Archive (2017 and earlier) »IQFeed Developer Support »Server Time
Author Topic: Server Time (4 messages, Page 1 of 1)

simon33
-Interested User-
Posts: 28
Joined: Apr 9, 2005


Posted: Aug 5, 2005 11:05 PM          Msg. 1 of 4
Is there a call that can be issued that will return the current time that DTN/IQFeed servers are using?

I am writing an application and want to be sure that our computer clock is synced up to the time the IQFeed is using (in my app, being off by even a minute could have consequences).

By the way, I am using Java and calling the HTTP stuff.

Thanks in advance

skunk
-DTN Evangelist-
Posts: 249
Joined: May 7, 2004


Posted: Aug 6, 2005 09:26 AM          Msg. 2 of 4
Once every minute your socket will receieve a message like this

T,20021023 11:34

Search the help for "Time Message Format"

If we all live long enough we may even see seconds appended to the timestamp someday.

nsolot
-DTN Guru-
Posts: 273
Joined: Sep 4, 2004


Posted: Aug 6, 2005 09:52 AM          Msg. 3 of 4
I use this to make sure my system time is accurate:

http://www.worldtimeserver.com/atomic-clock/

I agree with Skunk. Without second resolution, I wouldn't use the time message as a synch source, and I'm not sure I'd use it in any case. Looking at a log file from my app, the time message usually arrives when seconds = "00", but it appears that during heavy trading the message may be delayed a few seconds. I suspect it's placed in a message queue for delivery to the IQfeed client.

Each morning I use the utility to check time against the atomic clock. On my trading platform it's almost always in synch. I have another box where it usually adjusts a few seconds every 2 or 3 days. If you find that to be the case, I'd look at swapping out the hardware; something is probably wrong with the real time clock.

simon33
-Interested User-
Posts: 28
Joined: Apr 9, 2005


Posted: Aug 7, 2005 10:03 PM          Msg. 4 of 4
Skunk:

While I do create a connection via IQ_32 and registering a client app, I do not have a listener on that socket as I am not using marke****ch stuff, etc. Instead I only make calls to historical data. Are you saying that if I add a listener it will send it to the socket?

- Simon33
 

 

Time: Wed April 24, 2024 1:39 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003