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)




"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay 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
"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
"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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed 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 Evangelist-
Posts: 128
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: Tue August 14, 2018 1:16 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003