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 someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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 following up with me. You guys do a great job in tech support." - Comment from Phelps
"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
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"You have an excellent product !!!!!!" - Comment from Arely
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - 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 »Product Support »DTN.IQ Client Software Support »Problem with getting quotes in the morning / repeated disconnects
Author Topic: Problem with getting quotes in the morning / repeated disconnects (3 messages, Page 1 of 1)

illuminatus7
-Interested User-
Posts: 34
Joined: Jan 27, 2011


Posted: Jan 3, 2018 01:26 PM          Msg. 1 of 3
Hi there,
I'm using the latest version of your client and in the past couple of days I've started seeing problems in the morning with frequent reconnections. For example last night I started the IQFeed client some time after midnight Eastern time. At 7:30am ET my code subscribed to about 1800 US stocks. What followed is hundreds of cycles of disconnection/reconnection over the next 3 hours (and no quotes received during that time for most stocks) after which it seems everything became normal.

This is what I see (repeatedly) in the IQFeed log:
...
STATUS Connectivity 47 0 2018-01-03 07:29:47 Successful connection to quote server made.
STATUS Connectivity 47 0 2018-01-03 07:29:47 Socket close called, socket valid, closing.
STATUS Connectivity 47 0 2018-01-03 07:29:47 Close called, socket closed. 0
STATUS Connectivity 47 0 2018-01-03 07:29:47 Close called, socket closed. 10054
STATUS Connectivity 47 0 2018-01-03 07:29:53 No data from Level 1 server in 6s. Reconnecting
STATUS Connectivity 47 0 2018-01-03 07:29:53 Stop called while feed was already disconnected. : 0 :0 : Not Connected
STATUS Connectivity 47 0 2018-01-03 07:29:53 Starting Feed (0:0)
STATUS Connectivity 47 0 2018-01-03 07:29:53 Initiating a login of type (2).
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connecting To Login Server - 66.112.148.211:60000
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connecting to server (66.112.148.211) on port 60000.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connect Process: Status 1.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connect Process: Status 2.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connect Process: Status 3.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connected to server 0.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Setting symbol limit to 1800
STATUS Connectivity 50 0 2018-01-03 07:29:53 Processed Server 15 (66.112.148.227:60002)
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connection to server 0 closed.
STATUS Connectivity 50 0 2018-01-03 07:29:53 Connection to server (0) closed gracefully.
STATUS Connectivity 50 0 2018-01-03 07:29:53 0 products left to authenticate. Ready
STATUS Connectivity 50 0 2018-01-03 07:29:53 Resetting socket in authentication thread.
STATUS Connectivity 47 0 2018-01-03 07:29:53 Authentication Complete - Debug value = 1
STATUS Connectivity 47 0 2018-01-03 07:29:53 Connecting to quote server (66.112.148.227, 60002).
STATUS Connectivity 47 0 2018-01-03 07:29:53 Login Initiated without IQ32.dll
STATUS Connectivity 47 0 2018-01-03 07:29:53 Successful connection to quote server made.
STATUS Connectivity 47 0 2018-01-03 07:29:53 Socket close called, socket valid, closing.
STATUS Connectivity 47 0 2018-01-03 07:29:53 Close called, socket closed. 0
STATUS Connectivity 47 0 2018-01-03 07:29:53 Close called, socket closed. 10054
STATUS Connectivity 47 0 2018-01-03 07:29:59 No data from Level 1 server in 6s. Reconnecting
STATUS Connectivity 47 0 2018-01-03 07:29:59 Stop called while feed was already disconnected. : 0 :0 : Not Connected
STATUS Connectivity 47 0 2018-01-03 07:29:59 Starting Feed (0:0)
STATUS Connectivity 47 0 2018-01-03 07:29:59 Initiating a login of type (2).
...

On my side of the code I get SERVER DISCONNECTED messages periodically. Furthermore, my code has the logic that if it doesn't receive any quotes for a stock within 40 secs, it unsubscribes and resubscribes. It looks like my code did a total of 300,000 subscription requests this morning as it just wasn't getting any prices.

Thoughts? Does this look like some kind of race condition caused by my repeated unsubscriptions/subscriptions? Giving your API 40 secs to return data for 1800 securities doesn't sound that aggressive to me.

Thanks

illuminatus7
-Interested User-
Posts: 34
Joined: Jan 27, 2011


Posted: Jan 4, 2018 10:12 AM          Msg. 2 of 3
Btw, I stopped by unsubscribing & subscribing when prices are missing but I still see regular SERVER DISCONNECTED messages in the morning until 8:10am ET.

DTN_Stephen
-DTN Guru-
Posts: 286
Joined: Aug 22, 2014


Posted: Jan 4, 2018 10:46 AM          Msg. 3 of 3
We would like to get additional details about your account so that we can work on a resolution.

Please contact us at support@iqfeed.net with your Login ID.

You can also start a Live Chat with us at www.iqfeed.net or feel free to contact us at 1-800-779-7299.

Stephen Shockey | Telvent DTN LLC | Trading Markets | United States |Customer Service Technical Support
Email: support@iqfeed.net
 

 

Time: Sun September 27, 2020 10:34 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003