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 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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Excellent datafeed !!!" - Comment from Arely
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"It’s so nice to be working with real professionals!" - Comment from Len
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - 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 »Strange behavior while requesting news headlines
Author Topic: Strange behavior while requesting news headlines (4 messages, Page 1 of 1)

lastakademik
-Interested User-
Posts: 11
Joined: May 30, 2014


Posted: Sep 1, 2014 09:55 AM          Msg. 1 of 4
Hi!

I have noticed today that the headlines lookup response messages could be different when requesting almost at the same time.

The following logs has been saved on 1 September 2014 (GMT +7).

1 part of logs:
21:31:04.026 DEBUG >>> NHL,RTI,,x,,,news_nhl@@
21:31:04.636 DEBUG <<< news_nhl,<?xml version='1.0'?>@@news_nhl,<news_headlines>@@news_nhl, <news_headline>@@news_nhl, <id>10134529069</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140901100025</timestamp>@@news_nhl, <text>Quarterly Corporate Earnings (09/01/14)</text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529039</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140829165621</timestamp>@@news_nhl, <text>Calendars and Reports Update</text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529063</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140829153740</timestamp>@@news_nhl, <text>Commitment of Traders Report </text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529054</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140827104510</timestamp>@@news_nhl, <text>Calendars and Reports Update</text>@@news_nhl, </news_headline>@@news_nhl,</news_headlines>@@news_nhl,!ENDMSG!,@@

2 part of logs (response is differs):
21:33:11.925 DEBUG >>> NHL,RTI,,x,,,news_nhl@@
21:33:12.476 DEBUG <<< news_nhl,<?xml version='1.0'?>@@news_nhl,<news_headlines>@@news_nhl, <news_headline>@@news_nhl, <id>10134529069</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140901100025</timestamp>@@news_nhl, <text>Quarterly Corporate Earnings (09/01/14)</text>@@news_nhl, </news_headline>@@news_nhl,</news_headlines>@@news_nhl,!ENDMSG!,@@

3 part of logs (response the same as 1 part):
21:34:03.575 DEBUG >>> NHL,RTI,,x,,,news_nhl@@
21:34:04.215 DEBUG <<< news_nhl,<?xml version='1.0'?>@@news_nhl,<news_headlines>@@news_nhl, <news_headline>@@news_nhl, <id>10134529069</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140901100025</timestamp>@@news_nhl, <text>Quarterly Corporate Earnings (09/01/14)</text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529039</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140829165621</timestamp>@@news_nhl, <text>Calendars and Reports Update</text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529063</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140829153740</timestamp>@@news_nhl, <text>Commitment of Traders Report </text>@@news_nhl, </news_headline>@@news_nhl, <news_headline>@@news_nhl, <id>10134529054</id>@@news_nhl, <source>RTI</source>@@news_nhl, <timestamp>20140827104510</timestamp>@@news_nhl, <text>Calendars and Reports Update</text>@@news_nhl, </news_headline>@@news_nhl,</news_headlines>@@news_nhl,!ENDMSG!,@@

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 2, 2014 04:11 AM          Msg. 2 of 4
Good morning,

I am not sure why this would be actually. As I try it currently, I get basically what I am seeing in part 2 from your post. But, I have gotten the same thing on each try, so I will run it by the server team to see if they have any ideas to offer as well.

Tim

NHL,RTI,,x,,,news_nhl@@
news_nhl@@,<?xml version='1.0'?>
news_nhl@@,<news_headlines>
news_nhl@@, <news_headline>
news_nhl@@, <id>10134529069</id>
news_nhl@@, <source>RTI</source>
news_nhl@@, <timestamp>20140902050031</timestamp>
news_nhl@@, <text>Quarterly Corporate Earnings (09/02/14)</text>
news_nhl@@, </news_headline>
news_nhl@@, <news_headline>
news_nhl@@, <id>10134529063</id>
news_nhl@@, <source>RTI</source>
news_nhl@@, <timestamp>20140829153741</timestamp>
news_nhl@@, <text>Commitment of Traders Report </text>
news_nhl@@, </news_headline>
news_nhl@@,</news_headlines>
news_nhl@@,!ENDMSG!,

lastakademik
-Interested User-
Posts: 11
Joined: May 30, 2014


Posted: Sep 2, 2014 04:47 AM          Msg. 3 of 4
Thanks, Tim.

Today I've reproduced this situation and got the same situation which I've described in my first post.

Btw, this behavior could be reproduced only with different launces of iqconnect.exe. For example, if I connect to IQFeed server and do 100 requests of news headlines by RTI source, I'll get 100 responses that will be the same.
But, if I'll do 2 cycles of following steps:
1. connect to IQFeed;
2. send one request of news headlines by RTI source;
3. save the response;
4. disconnect from IQFeed.
In this case will be high probability that this 2 responses will be different.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 2, 2014 05:02 AM          Msg. 4 of 4
I actually thought of the fact that you had to be reconnecting for this to occur after I posted and confirmed that I am seeing this as well. You are connecting to two different server groups, when you see the difference, but why the returns are different I am not sure yet, but I will be discussing this with the server team when they get in this morning.

Thanks for the additional info though and I will keep you in the loop as I learn more,

Tim
 

 

Time: Sat May 18, 2024 9:44 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003