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 »How to get the earliest date tick data available
Author Topic: How to get the earliest date tick data available (2 messages, Page 1 of 1)

arth_trader
-Interested User-
Posts: 5
Joined: Apr 16, 2014


Posted: May 19, 2016 04:16 PM          Msg. 1 of 2
I was trying to write a function to retrieve the earliest date tick data is available for a symbol. I am sending a HTT request with begin date as a very old date ( 20000101 000000), end date as blank, data direction as oldest to newest and maxdatapoints as 1. Its only returning the latest tick.

But if I supply only the end date with trial and error it does return the oldest date. Is there any other simple way?

Thanks.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: May 19, 2016 04:45 PM          Msg. 2 of 2
Hello,

We will never have more than 180 days of tick history, so today's date - 180 calendar days is going to be the earliest for anything that has been listed more than 6 months.

Beyond that, the maxdatapoints filter is applied before the direction filter so that will not work as you have noted.

You could do a 60 minute interval request for the last 180 days, this would be a much faster request than the equivalent tick request, and the date associated with the first minute available would be the first day of tick data as well, so that may be an option that would work.

Tim
 

 

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