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.
|