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 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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"Everything is working great with the API. I love it." - Comment from Calvin
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"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've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »Data and Content Support »adjust intraday data
Author Topic: adjust intraday data (4 messages, Page 1 of 1)

junkone
-Interested User-
Posts: 28
Joined: Jul 18, 2007


Posted: Jul 24, 2018 06:47 PM          Msg. 1 of 4
it looks like the eod data is adjusted but he intraday historical data is not adjusted. I want to do it manually. is there a script or logic that i can use to adjust it.
the other idea i had was to get the open price from both data sources and then use it as a ratio to adjust the intraday data.
what do you folks think?

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


Posted: Jul 26, 2018 07:41 AM          Msg. 2 of 4
Good morning,

We do not have any scripts for this kind of thing. But as to the logic for daily, we use the last price of the two relevant contracts and adjust all historical data by the difference to move old data, up or down, to match.

Tim
Edited by DTN_Tim Walter on Jul 26, 2018 at 07:43 AM

junkone
-Interested User-
Posts: 28
Joined: Jul 18, 2007


Posted: Jul 26, 2018 01:16 PM          Msg. 3 of 4
can you give me a example so i understand the daily logic

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


Posted: Jul 26, 2018 02:13 PM          Msg. 4 of 4
Example Before Data

@CU18 @CZ18
12th : $4.00 $13.00
13th : $4.50 $13.50
14th : $5.00 $14.00
15th : $2.50 $15.00
16th : ------ $15.50

Sure, given the prices above for two corn contracts, and leading up to a roll date on the 15th of Sept.

Up to the 15th @CU18 prices are used, but when the continuous contract rolls to the next month in line, @CZ18, we take the difference between the two closes, (15 - 2.5 = 12.5) and add it to all previous dates.

After calculation:
@CU18 @CZ18
12th : $16.50 $13.00
13th : $17.00 $13.50
14th : $17.50 $14.00
15th : $15.00 $15.00
16th : ------ $15.50

This results in a chart that goes
@C#C
12th : $16.50
13th : $17.00
14th : $17.50
15th : $15.00
16th : $15.50

As opposed to:
@C#C
12th : $4.00
13th : $4.50
14th : $5.00
15th : $2.50
16th : $15.50

Let us know if you need any other clarification.

Tim
 

 

Time: Sat December 15, 2018 7:22 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003