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)




"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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 are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
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 »NHL Request Documentation.
Author Topic: NHL Request Documentation. (5 messages, Page 1 of 1)

Craig
-DTN Guru-
Posts: 326
Joined: Apr 16, 2010


Posted: Oct 5, 2019 06:53 PM          Msg. 1 of 5
"[Date] - Optional - Colon delimited dates and ranges YYYYMMDD:YYYYMMDD-YYYYMMDD,YYYYMMDD. Requires a symbol be specified."

What does this actually mean? Why do we need 4 dates to define a range?

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

IQML - IQFeed-MATLAB connector


Posted: Oct 6, 2019 07:01 PM          Msg. 2 of 5
Craig - I agree with you that the description could probably be made clearer. I believe the meaning is simply that the optional Date parameter can be either a single date (YYYYMMDD) or a date range (YYYYMMDD-YYYYMMDD) or any combination of dates and date-ranges, separated by colons. For example, "20190620:20190701-20190731:20190908" means "the single date 2019-06-20, plus the date range 2019-07-01 to 2019-07-31, plus the single date 2019-09-08".

p.s. - in the description, the comma just before the final date is most probably a typo - it should be a colon (:). In IQFeed's API commas are used to separate between parameters and are not allowed within the parameter values. The colon character is used to separate values within a parameter (hence "colon delimited").

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

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

Craig
-DTN Guru-
Posts: 326
Joined: Apr 16, 2010


Posted: Oct 6, 2019 07:06 PM          Msg. 3 of 5
Thanks, that makes sense now.

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


Posted: Oct 7, 2019 03:25 PM          Msg. 4 of 5
Yes, this is correct. The text on the help page is unclear. I will have it corrected.

You can specify news from any specific date (20191007) or any date range, which is separated by a dash (20191001-20191007). If you want more than one specific date, or date range, you separate them with a colon:

For example:

NHL,,QQQ,,10,20191007 (returns stories from October 7)

NHL,,QQQ,,10,20191001-20191007 (returns stories from October 1 through October 7, inclusive of all dates in between)

NHL,,QQQ,,10,20190612:20191007 (returns stories from October 7 and June 12, but no dates in between)

NHL,,QQQ,,10,20190612:20191001-20191007 (returns stories from June 12, and October 1 through October 7)

NHL,,QQQ,,10,20190601-20190607:20191001-20191007 (returns stories from June 1 through June 7, and October 1 through October 7)

And so forth. You can also have three or more dates/date ranges.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Craig
-DTN Guru-
Posts: 326
Joined: Apr 16, 2010


Posted: Oct 7, 2019 03:48 PM          Msg. 5 of 5
Thanks for the clarification Gary.
I'd appreciate it if you could take a look at my other news related question please.
 

 

Time: Sun May 19, 2024 9:07 AM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003