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) »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: 453
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: Sat July 20, 2024 9:06 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003