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 have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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 am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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: Sat May 18, 2024 1:21 AM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003