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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"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've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"Everything is working great with the API. I love it." - Comment from Calvin
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 »No update records with 4.1.1.1
Author Topic: No update records with 4.1.1.1 (7 messages, Page 1 of 1)

taa_dtn
-DTN Evangelist-
Posts: 154
Joined: May 7, 2004


Posted: Feb 3, 2006 03:09 PM          Msg. 1 of 7
I had been waiting for the various problems with the 4.X series to shake out before upgrading, but this comment in the 4.1.1.1 announcement:
Quote: However, if you are still using a version of IQFeed prior to 4.0, we highly recommend upgrading now. When we release second resolution on our servers, it may negatively impact earlier versions of IQFeed.

persuaded me that the time to upgrade has arrived. (By the way, this seems to contradict earlier statements that previous versions of IQFeed would continue to operate...)

Sure enough, now that I've upgraded, I'm running into problems. The main one is that after connecting successfully, and subscribing to a handful of symbols, I get a summary record for each and a few update records for each. Then I get a second set of KEY and CONNECTED records, and after that point I no longer receive any updates.

Has anyone else seen behavior like this?

Allen

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


Posted: Feb 3, 2006 03:35 PM          Msg. 2 of 7
Allen, I haven't came across this issue as of yet.

Does it happen every time? or is it random?

Can you tell me the commands you are sending to IQConnect?

Also, Have you tried turning on Logging to see if there is anything there that would explain this?

taa_dtn
-DTN Evangelist-
Posts: 154
Joined: May 7, 2004


Posted: Feb 4, 2006 07:09 PM          Msg. 3 of 7
Hi, Steve. I have an update on this one, though not enough information to claim a solution yet.

Yes, it happens every time.

The second set of key-exchange messages appears to be due to a difference in the behavior of the S,CONNECT message between V2.X and V4.X. I can't prove this conclusively (because at the moment I can't downgrade to V2.X to check the old behavior), but I do have old logs from my app so I'm pretty sure which messages have been exchanged between the app and IQConnect.

It seems that in V2.X, if IQConnect is already connected, sending an S,CONNECT message has no effect. However, in V4.X, it triggers the key exchange again.

I doubt this is responsible for the failure to receive update messages. I think the Level II port problem I mentioned in my other message is more likely to be related to the cause, but I haven't been able to test that yet.

Allen

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


Posted: Feb 6, 2006 01:31 PM          Msg. 4 of 7
The resending of the S,CONNECT is the reason you are no longer able to recieve Update messages.

The reason the new Key exchanges are comming through is that currently, everytime you send a S,CONNECT message, IQConnect is reestablishing the connection for Level1 Data to the server. This is essentially unwatching all of the symbols you are currently watching and starting the connection all over again as though you restarted IQFEED. I do not believe this is the intended functionality and will look into it further.

taa_dtn
-DTN Evangelist-
Posts: 154
Joined: May 7, 2004


Posted: Feb 6, 2006 02:26 PM          Msg. 5 of 7
Ah, that makes sense. I didn't notice that the watchlist had been cleared; I was looking for the cause of the problem in a different area.

My code sends the S,CONNECT as part of error recovery that it needed with the earlier versions of IQConnect. I'll fix it so that it avoids the redundant S,CONNECT or re-establishes the watchlist for the new versions.

Let's hear what other developers say, but as far as I'm concerned it might be useful to leave the behavior as it is in 4.X. It could be valuable to have a simple way to force IQConnect to reinitialize completely.

Thanks!
Allen

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


Posted: Feb 6, 2006 02:38 PM          Msg. 6 of 7
My previous wording isn't completely accurate as to what is going on behind the scenes. This behavior isn't actually clearing the old watchlist. It simply has the appearance of doing so. You can verify this by looking at the stats dialog and see that the old symbols are not actually being unwatched.

taa_dtn
-DTN Evangelist-
Posts: 154
Joined: May 7, 2004


Posted: Feb 6, 2006 04:29 PM          Msg. 7 of 7
I see. Well, I'll make sure that my fix works whether or not the watchlist is cleared.

Thanks,
Allen
 

 

Time: Wed May 8, 2024 7:46 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003