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)




"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"Excellent datafeed !!!" - Comment from Arely
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"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
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 »SymbolLookup2 hanging
Author Topic: SymbolLookup2 hanging (2 messages, Page 1 of 1)

rodney trotter
-Interested User-
Posts: 45
Joined: Aug 28, 2005


Posted: Sep 14, 2005 06:47 PM          Msg. 1 of 2
I am using IQFeedY and calling SymbolLookup2 in C++ using a type library. My program gets call option chain and then looks up description for each call using SymbolLookup2 and works well for many calls but then suddenly just gets time record. I set iqconnect log file to level 4 and received following type of log entry on many symbols:

ThreadID = af4 (FROM CLIENT)=2005-09-14 15:32:01: SOS,PKG_IX
ThreadID = af4 (recv(m_hClientSocket))=2005-09-14 15:32:02: nRead == 0
FROM CLIENT (LEVEL1)=2005-09-14 15:32:02: S,ECHO
TO CLIENT (LEVEL1)=2005-09-14 15:32:02: S,ECHO,Got it!

Then I get these log entries when it hangs:

ThreadID = 3f8 (FROM CLIENT)=2005-09-14 15:32:55: SOS,PKI_AU
TO CLIENT (LEVEL1)=2005-09-14 15:33:07: T,20050914 16:33

TO CLIENT (LEVEL1)=2005-09-14 15:34:07: T,20050914 16:34

TO CLIENT (LEVEL1)=2005-09-14 15:35:07: T,20050914 16:35

TO CLIENT (LEVEL1)=2005-09-14 15:36:07: T,20050914 16:36

TO CLIENT (LEVEL1)=2005-09-14 15:37:07: T,20050914 16:37

TO CLIENT (LEVEL1)=2005-09-14 15:38:07: T,20050914 16:38

TO CLIENT (LEVEL1)=2005-09-14 15:39:07: T,20050914 16:39

TO CLIENT (LEVEL1)=2005-09-14 15:40:07: T,20050914 16:40

TO CLIENT (LEVEL1)=2005-09-14 15:41:07: T,20050914 16:41

And these repeat every minute until I abort the program. Any idea what is happening here?

Thanks,
Rodney

P.S. - I am using IQFeed v4.0.0.0

P.S.S. - I have found it usuallu hangs after about 2 hours. Reviewing iqconnectlog.txt from 3 runs show hanging up after 2:12:06, 2:09:49 and 2:11:37. When program starts it takes 8 seconds to process 16 SymbolLookup2 calls, after about an hour it takes 52 seconds for 16 calls and then just prior to hanging it takes 81 seconds for 16 calls. Does the COM object not release thread after each call and should the Connect function be used prior to calling SymbolLookup2 and Disconnect afterwards?

Edited by rodney trotter on Sep 14, 2005 at 06:52 PM
Edited by rodney trotter on Sep 15, 2005 at 02:08 PM

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Sep 16, 2005 08:35 AM          Msg. 2 of 2
Rodney,

I will look into this. Thanks!

Natalie

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Sun May 19, 2024 2:15 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003