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 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 is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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
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 »Handling IQConnect disconnects
Author Topic: Handling IQConnect disconnects (5 messages, Page 1 of 1)

USV
-Interested User-
Posts: 20
Joined: Mar 20, 2015


Posted: May 4, 2015 10:49 AM          Msg. 1 of 5
Hello,

What would be the best way of handling IQConnect disconnects due to local network failure. As of now, I have my application setup so that upon startup, it uses the Lookup socket to load data since the close of the previous day and then appends real-time data from the Level1 socket. When IQConnect disconnects from DTN servers due to a local network failure, and then reconnects, the real-time feed resumes but the data during the "outage" is missing. I want to handle this situation so that the application reloads from the Lookup port upon reconnect and repeats the same process that it runs upon startup.

From the documentation, it looks like utilizing the S,STATS messages on the Admin port is one way to go. I could monitor the Status field in this message and when it changes to "Not Connected", I could flag the condition and wait for a subsequent "Connected" status change and reload the data. Would this be the right way to go?

Thanks.
Edited by USV on May 4, 2015 at 10:50 AM

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: May 4, 2015 10:52 AM          Msg. 2 of 5
That would certainly be one way to go. However, if you already have a connection to the Level 1 feed established, you should be getting a S,SERVER DISCONNECTED message when the network outage is detected followed by a S,SERVER CONNECTED message when connectivity is once again restored. Monitoring for those messages would probably be the easiest for you.

USV
-Interested User-
Posts: 20
Joined: Mar 20, 2015


Posted: May 4, 2015 11:14 AM          Msg. 3 of 5
Thank you Steve. I guess I didn't look at the docs hard enough :-)

fixDTN
-Interested User-
Posts: 3
Joined: Jul 13, 2015


Posted: Jul 13, 2015 12:51 PM          Msg. 4 of 5
I am wondering why there is this recent surge in disconnect issues. No one seems to know why and it's a relatively new issue.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 13, 2015 01:30 PM          Msg. 5 of 5
I am sorry you are having issues, I have replied in your original thread and sent emails in regards to this matter, but given that your issue is unrelated to these posts I will be using email primarily going forward. We can report any new issues found in a separate thread so that it is less confusing to others that might benefit from what we find.

Tim
 

 

Time: Fri May 3, 2024 12:39 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003