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)




"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"Everything is working great with the API. I love it." - Comment from Calvin
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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.
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
Home  Search  Register  Login  Blogs 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 »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: Tue March 26, 2019 1:08 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003