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
|
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
|