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 happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"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 had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
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 »Issues with Historical via TCP/IP
Author Topic: Issues with Historical via TCP/IP (2 messages, Page 1 of 1)

simon33
-Interested User-
Posts: 28
Joined: Apr 9, 2005


Posted: Jun 5, 2007 11:57 PM          Msg. 1 of 2
Working on upgrading to the new Servers and came across two odd issues in the *current servers*:

1. When I issue a command for daily prices like HD,[Symbol],[Days]; I get back the correct number of days (example: HD,MSFT,3;) However, when I issue a similar command for minute prices HM,[Symbol],[Days],[Interval]; I always get back one *less* day. (example: HM,MSFT,3,60;).

Further when I issued the daily command today I got back data for 6-5, 6-4 and 6-1.
When I issued the minute command today I got back data for only 6-5, 6-4.

2. Secondly, I started programming at about 8:50 CST and was getting back the number of days mentioned above. However, on or about 11:40 CST, it seems my connection suddenly went stale. When I reconnected, I was no longer getting the current days data!

Any ideas?

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jun 6, 2007 09:47 AM          Msg. 2 of 2
1) This is because the Minute requests return calendar days starting with the current day whereas the daily requests return the last x number of days that there is data. This is the intended functionality. This means that starting at midnight EST, if you want the previous day's minute data, you need to request 2 days instead of 1.

2) This is due to a design flaw in the history servers. Starting at midnight EST, there is a mainenance process that runs. This process makes the previous day's (since it is after midnight) history unavailable until the symbol is processed. Symbols are processed in reverse alphabetical order so this means that symbols starting with Z will be available almost immediately while symbols that start with A will take up to 90mins until they are available again.
 

 

Time: Wed April 24, 2024 7:58 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003