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)




"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"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
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"Everything is working great with the API. I love it." - Comment from Calvin
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
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 April 26, 2024 11:07 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003