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 am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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.
"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
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
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 »NEW IQFEED FORUMS »IQFeed API Questions »Undocumented limit of 4000 headlines?
Author Topic: Undocumented limit of 4000 headlines? (4 messages, Page 1 of 1)

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Mar 6, 2020 05:01 AM          Msg. 1 of 4
In the following headlines query, I consistently get only 4000 headlines although I requested 5000. Is 4000 an undocumented limit?
NHL,,:,t,5000,,


Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Mar 10, 2020 01:55 PM          Msg. 2 of 4
Yair,

That's actually not an expected behavior. I've opened an internal investigation on this. I will update this thread when I have findings.

Sincerely,
Gary Stephen
DTN IQFeed API Support

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Mar 11, 2020 01:17 PM          Msg. 3 of 4
As it turns out: yes, this was an undocumented limit, but I will document it here.

Limit is an optional parameter in an NHL request:

NHL,[Sources],[Symbols],[XML/Text],[Limit],[Date],[RequestID]

Your command above specified a limit of 5000 headlines. Here are the limits:
  • If your request doesn't specify a Limit, the limit will be 1000.

  • If you specify a Limit between 1000 and 4000, that will be the limit.

  • If you specify a Limit greater than 4000, the limit is 4000.

So the API actually imposes two different maximums on the number of headlines you can retrieve: 1,000 if you don't specify a Limit, and 4,000 if you do. You may also specify a limit between 1,000 and 4,000.

I hope this clarifies the behavior of the news API.


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on Mar 11, 2020 at 01:17 PM

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Mar 11, 2020 02:08 PM          Msg. 4 of 4
Thank you for the clarification Gary.

You may wish to consider updating the official API doc page accordingly: http://www.iqfeed.net/dev/api/docs/NewsLookupviaTCPIP.cfm

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion
 

 

Time: Fri May 17, 2024 7:22 AM CFBB v1.2.0 5 ms.
© AderSoftware 2002-2003