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)




"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"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
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"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
"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
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 5:48 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003