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 are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
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 »TCP/IP Historical data issues
Author Topic: TCP/IP Historical data issues (6 messages, Page 1 of 1)

bigfoot
-Interested User-
Posts: 11
Joined: May 12, 2004


Posted: Sep 24, 2007 12:39 AM          Msg. 1 of 6
I am having issues requesting historical data. I have already have socket a connection to get tick data and that works fine. I created a second socket to request historical data, however I have tried various formats to get historical tick data to no avail. I have tried
HT,GROW,2;
HT,[GROW],[2];
[HT,GROW,2];

I have also tried by getting the second socket to initialize the feed and tcp/ip before requesting historical data and tried the three combinations however no luck.

Interesting that the error messages are not consisted for the same format.

I have attached a screenshot of the IQFeed log. The left side (green background) is from the first scenario and the right side (yellowish background) is the second scenario.

Anything I am doing wrong or is there something not mentioned in the manuals that I need to do.



File Attached: iqfeed_error.png (downloaded 1542 times)

bigfoot
-Interested User-
Posts: 11
Joined: May 12, 2004


Posted: Sep 24, 2007 12:41 AM          Msg. 2 of 6
The second socket is connecting to the lookup port 9100.

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


Posted: Sep 24, 2007 09:33 AM          Msg. 3 of 6
The history server requests need to be in calendar days (not trading days). This means that requesting 2 days on monday morning (before market open) for most contracts will not return any results (since you are requesting monday and sunday's data).

bigfoot
-Interested User-
Posts: 11
Joined: May 12, 2004


Posted: Sep 24, 2007 11:13 AM          Msg. 4 of 6
Thanks. Did not realize it was calender days. One more question though. DTN website states on e can get historical tick data for 8 calender days. However I am only getting data for 6 days.

I requested tick data for GROW specifying 10 days and the I only got data from 2007-09-19 08:07:00 to 2007-09-24 am. Which is 6 days.
Edited by bigfoot on Sep 24, 2007 at 11:14 AM

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


Posted: Sep 24, 2007 12:25 PM          Msg. 5 of 6
This is a side effect from the new server code that was rolled out this weekend. There are some hardware limitations that are preventing us from servicing the entire 8 days currently. Our server team is currently working on a software solution to this issue.

bigfoot
-Interested User-
Posts: 11
Joined: May 12, 2004


Posted: Sep 25, 2007 08:56 AM          Msg. 6 of 6
Thanks
 

 

Time: Sun May 19, 2024 8:49 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003