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 very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Everything is working great with the API. I love it." - Comment from Calvin
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: 394
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: 394
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: Tue April 23, 2024 9:00 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003