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)




"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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
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 »Missing level-2 data (sometimes)
Author Topic: Missing level-2 data (sometimes) (3 messages, Page 1 of 1)

jmv
-Interested User-
Posts: 19
Joined: May 31, 2011


Posted: May 31, 2011 04:37 AM          Msg. 1 of 3
Hello all,

I'm working with IQFeed's API and everything works great. However, there seems to be some special occurrences where L2 data is just not available. I mean, everything goes ok, the API gets connected, and then I receive the normal startup messages:

--------------------------------
[DTN] IQConnectStatus [0,0]

[DTN L1] S,KEY,9796
[DTN L1] S,SERVER CONNECTED
[DTN L1] S,IP,66.112.148.180 60004,66.112.148.211 60002,66.112.148.212 60009,66.112.148.213 60001,66.112.148.211 60005,66.112.148.211 60012,66.112.148.200 60003,66.112.148.214 60015,66.112.148.212 60050,66.112.148.213 60014,66.112.148.212 60016,66.112.148.212 60018
[DTN L1] S,CUST,real_time,66.112.148.112,60003,xxxxxxxxxxxxx,4.7.0.9,0, L2_SERV EUREX L2 ,,500,QT_API,,


---------------------------------

Now I send "wXGM11\r\n" to port 5200, and the contract's L1 data starts flowing. No problem here.
But then, when I send "wXGM11\r\n" to 9200 (L2 port), "usually" it will work ok. I say "usually" because at least twice (being today the second one, by the way) IQFeed server will refuse to send the L2 data.

No matter if I disconnect/recconect IQLink, or whether I try restarting a number of times my software's connection. L2 data just won't arrive.

Admittedly, this has only happned twice... but it is nonetheless a worrying situation, because you can have a whole day without L2 data before IQ servers "decide" to send you the L2 data again (last time, I had no L2 data until the following day. Today , I do not know how much it will last)

has someone experienced this problem?

thanks for your time,

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


Posted: May 31, 2011 04:57 PM          Msg. 2 of 3
Do you get any traffic at all on port 9200 when it isn't working? Does it ever just stop working on an existing connection or is it always after a reconnection that you stop getting data?

Lastly, the next time it doesn't work, can you run a netstat (there is a netstat tab in the diagnostics app to do this for you) and post or email a screenshot?

jmv
-Interested User-
Posts: 19
Joined: May 31, 2011


Posted: Jun 1, 2011 01:08 AM          Msg. 3 of 3
After several attempts, I finally got a "cannot connect" java IO exception regarding the L2 port (9200). Which led me to think that perhaps I was not closing the client sockets in a clean way and, somehow, after a few reconnections port 9200 got "stucked" (i.e., permanently bound to an old process, thus unable to get bound by new software instances).

I found a couple of cases where the port closure wasn't clean: I've fixed it, thus let's see whether it will work. For now, today I've got my L2 data back.

thanks
 

 

Time: Mon May 13, 2024 11:10 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003