gwalschl
-Interested User-
Posts: 46
Joined: Oct 25, 2006
|
Posted: Sep 10, 2007 05:15 PM
Msg. 1 of 4
I am just getting started on writing an interface to the streaming news capability of IQFeed using TCP/IP (sockets). The IQFeed documentation for the SNT command indicates that the date provided is the "oldest date to retrieve in the format YYYYMMDD".
Today is 9-10-2007 and I sent a string of "SNT:AAPL::1:20070901:;" to IQFeed. I get only the news for that single day, not all days starting with 9-1-2007. If I change the date to something else like 9-10-2007, I get only that date. It appears that the documentation does not reflect the real way this command works.
I would VERY much like to specify a single starting date (like the documentation says I can do) in order to get all news from that point and later up to the current day.
Is this possible? How would I do this?
|
DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004
DTN IQFeed/DTN.IQ/DTN NxCore
|
Posted: Sep 10, 2007 05:29 PM
Msg. 2 of 4
This does appear to be an error in the documentation. Enter the date with a range, such as "20070901-20070910" to get the data you are looking for.
Jay Froscheiser DTN - Trading Markets
|
gwalschl
-Interested User-
Posts: 46
Joined: Oct 25, 2006
|
Posted: Sep 10, 2007 06:12 PM
Msg. 3 of 4
Thanks. That does work. How many days of data can I retrieve for the news feed? Seems like I don't get much more than a month if I request one year's worth of data.
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Sep 17, 2007 01:47 PM
Msg. 4 of 4
The news servers store each story for 30days
|