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'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
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"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
"Everything is working great with the API. I love it." - Comment from Calvin
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
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 »IQFeed news
Author Topic: IQFeed news (4 messages, Page 1 of 1)

qzaqza15
-Interested User-
Posts: 12
Joined: Aug 15, 2017


Posted: Aug 17, 2017 06:00 AM          Msg. 1 of 4
I have success in retrieve IQFeed news on Linux(Centos 6) and run it with python.

I set it to retrieve news every 1 mins and let it idle for around half an hour.

After come back to it, I discover the news is not in order according to their id.

You can refer to the attachment, those value of each news id is the number of repeated news received.

I am curious why the news retrieved is random instead of order by id or datetime.

Could you send me a documentation regarding to news API? Thank you.



File Attached: Screenshot_7.png (downloaded 1157 times)

qzaqza15
-Interested User-
Posts: 12
Joined: Aug 15, 2017


Posted: Aug 20, 2017 10:54 PM          Msg. 2 of 4
Besides that, I saw some retrieved news which title is 'Following Is a Test Release' with content 'Following Is a Test Release Aug. 20 .....'.

Are there any way to detect whether the news is for testing? or I can detect it whether have the same title or the story consists more than a number of 'TESTING' ?

Please provide your opinion if you have better solution for this. Thank you.

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


Posted: Aug 21, 2017 07:40 AM          Msg. 3 of 4
Good morning,

My apologies for missing your earlier post. Stories can belong to multiple news sources, this is probably the source of the duplicates you are seeing. As to the order of the return, I am not sure. I am guessing that we don't want to spend the time and/or processing power sorting the request so that you can get the data back that much faster.

Documentation is located at the link below.
http://www.iqfeed.net/dev/api/docs/NewsLookupviaTCPIP.cfm

And no, different sources do different things when testing their datafeeds, but they do not send us any flag of what is real versus a test that we, or you, could trigger off of.

Tim

qzaqza15
-Interested User-
Posts: 12
Joined: Aug 15, 2017


Posted: Aug 21, 2017 11:10 PM          Msg. 4 of 4
Okay, thank you for your help.
 

 

Time: Sat April 27, 2024 4:35 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003