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)




"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. 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
"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
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"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 is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
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 »Garbage data on port 9100 ?!?
Author Topic: Garbage data on port 9100 ?!? (10 messages, Page 1 of 1)

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Oct 22, 2004 02:15 PM          Msg. 1 of 10
Hi,

I'm doing stress tests on my app (and IQFeed) and "hammer in" requests on news and historical data on port 9100.

Now for the third time I experienced, that there are some garbage bytes in the data read from port 9100:
20:56:41:883 (0) Dtn.DtnSocket.Write9100: msg='NH:US:10:0;'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='h-Dl version='1.0'?>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='<news_headlines>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='</news_headlines>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg=''
20:56:41:933 (0) Dtn.DtnSocket.Read9100: msg=''
20:56:41:973 (0) Dtn.DtnSocket.Read9100: msg='!ENDMSG!'

There have many successful requests on this testing session before, but out of sudden, this problem occured. (the wrong data should read "<?xml...")

Any idea what could be going wrong ?

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

DTN_Steve_G
-DTN IQFeed-
Posts: 28
Joined: Oct 1, 2004


Posted: Oct 22, 2004 02:39 PM          Msg. 2 of 10
Dierk,

I'm not sure what caused this problem. I'll forward it on to the software engineering staff to investigate.

Steve Grunberg
IQFeed Developer Support
DTN Market Access

sasha
-Interested User-
Posts: 54
Joined: Jul 21, 2004


Posted: Oct 22, 2004 05:57 PM          Msg. 3 of 10
Steve,

I think its a general problem "hammering" requests into DTN.

I'd like to refer you to http://forums.dtniq.com/index.cfm?page=topic&topicID=243 so you can do some more analysis.

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Oct 23, 2004 04:59 AM          Msg. 4 of 10
Steve,

Hmm, this scares me.

Has any of you DTN guys tried to reproduce the problem by using the sample code as suggested ? What are the results ?

I don't know if the issues are related, but as for "my" problem: As soon as the beta of next version of TM is out, there will be a public test driver to (hopefully) reproduce this problem. Please contact me on PM, if you need more information.

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

DTN_Steve_G
-DTN IQFeed-
Posts: 28
Joined: Oct 1, 2004


Posted: Oct 25, 2004 08:46 AM          Msg. 5 of 10
Dierk,

Are you referring to the sample code that frankzhou provided within another forum discussion thread ("IQLinkLauncher error report")? If so, it has been sent to our software engineering staff. We'll publish an update on what they find as soon as I get the results.

Steve Grunberg
IQFeed Developer Support
DTN Market Access

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 08:44 AM          Msg. 6 of 10
Here is more garbage data on port 9100:

(x lversion='1.0'?><news_headlines></news_headlines>

I experienced that problem on tracking 100 NASDAQ stocks as the market opened some minutes ago. I have 3 threads running on all 3 ports at the same time.

At this very moment that PC had a processor load of ~10%. Thus, I can't be related to processor load.

Is this issue related to: http://forums.iqfeed.net/index.cfm?page=topic&topicID=304 ?

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 08:49 AM          Msg. 7 of 10
After that event, my app crashed a minute later or so.

A Windows runtime box came up and indicated me, that the problem was not in my pure .NET code (which did run in debugger) but in native Win32 code. At this very moment, the only Win32 code loaded was "IQ32.dll".

There really is some issue, you should take care of. Please let me know what's going wrong there.

Regards


Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Edited by Dierk Droth on Nov 10, 2004 at 10:18 AM

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

DTN Market Access, LLC.


Posted: Nov 10, 2004 10:09 AM          Msg. 8 of 10
Dierk,

I think this issue is the same as the post titled "How can I ever get a message "Pt4" at port 9100 ?" because we are dealing with garbage and port 9100 in both posts.

You mentioned have 3 threads running on 3 ports...are the ports 5009, 9100 and 9200?

Also, in an earlier post on Oct 23, 2004 04:59 AM you asked if "Has any of you DTN guys tried to reproduce the problem by using the sample code as suggested ? What are the results ?"

We have tested history requests on port 9100 with our example apps. Were you referring to sample code other than IQFeed's example apps? Also, if you can give me more information on how you are "hammering" requests, I can try to reproduce it here. Thanks!

Natalie Hannan DTN Market Access, LLC.

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 10:27 AM          Msg. 9 of 10
Natalie,

Yep, these threads are running on ports 5009, 9100 and 9200.

Today I did run 2 kind of tests:
- A market data grid to retrieve the market data for the 100 stocks. I modified my app code a bit to eliminate performance impact on my app's end.
- A test suite which basically hammers in requests for historical data.

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 11, 2004 10:09 AM          Msg. 10 of 10
I just had this problem again:
- I did run tests on hammering in requests on historical data
- and had a skype voice chat session on the same internet connection

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best
 

 

Time: Sun May 5, 2024 8:40 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003