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)




"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"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
"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
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
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) »Data and Content Support »Historical candles were changed
Author Topic: Historical candles were changed (4 messages, Page 1 of 1)

tarasov
-Interested User-
Posts: 12
Joined: Oct 24, 2020


Posted: Oct 24, 2020 09:43 AM          Msg. 1 of 4
Hello.
I worked with API for the last week and I faced a situation I can't understand, I hope you can help me.

In the beginning of the last week (19.10.2020) I loaded 1-minutes bars for AAPL for period 2013-01-01 - 2020-10-16 with request HIT. I saved this data and after a couple of days (21.10.2020) I loaded the same data again, with the same request. I compared this data using pandas (datetime column in index, merge and calculating differences between corresponding columns) and saw that there are differences between old and new files.

I'm attaching a file with differences to the post, I hope you can look at this. Differences mostly in volume, but there are a few differences for prices too. Can you explain to me what data are correct, old one or new one and how is it possible, that so old data (2016 and 2018 years) was changed?

I tried to get a specific request from the package I use and I think it is
HIT,AAPL,60,20130101 000000,20201016 235959,"","","",True,1,100,s,True<CR><LF>

Time in file in GMT.



File Attached: diffs.txt (downloaded 893 times)

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Oct 26, 2020 07:21 AM          Msg. 2 of 4
Tarasov,

Are you certain that both were identical HIT requests? Because different historical requests handle trades and volume differently.

Interval history (HI_) includes only Last Qualified and Form T trades, and the period volume will include only those trades, but total volume includes all trades.

Daily history (HD_) includes only last-qualified prices (not Form T), and the period volume will include only those trades, but total volume includes all trades.

However, the daily volume includes all trades in both cases. So if you're doing different types of requests, the total volume will appear different.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Oct 26, 2020 01:41 PM          Msg. 3 of 4
Tarasov,

We are investigating something that might have caused the results you describe. I'll follow up on this thread when I have more info.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

tarasov
-Interested User-
Posts: 12
Joined: Oct 24, 2020


Posted: Oct 28, 2020 04:14 AM          Msg. 4 of 4
I'm sure that both queries were HIT type, so it means that both of them were "Interval history" type, right?

Thank you, I will wait for results of your investigation.
 

 

Time: Wed April 24, 2024 8:21 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003