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)




"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"You have an excellent product !!!!!!" - Comment from Arely
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
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: Sat May 18, 2024 5:51 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003