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 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 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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"Everything is working great with the API. I love it." - Comment from Calvin
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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'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
"It’s so nice to be working with real professionals!" - Comment from Len
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
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: Thu May 2, 2024 9:13 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003