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)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"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 the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - 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 »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: Thu April 25, 2024 10:51 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003