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 use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"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
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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 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
"Excellent datafeed !!!" - Comment from Arely
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. 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) »IQFeed Developer Support »Reading historical data.
Author Topic: Reading historical data. (8 messages, Page 1 of 1)

alexB
-Interested User-
Posts: 75
Joined: Dec 19, 2009


Posted: Jan 3, 2010 01:38 PM          Msg. 1 of 8
Stargrazer, you've sent me in the right direction. I now have much more clarity. I messed up the previous thread and decided to start a new one since it is a new tipic anyway.

I am reading this html document: Historical via TCP/IP and haveing a few questions.

It looks like HIX provides granulated tick data by minute or saying differently, averaged ticks aggregated into one minute intervals. Is it true? Some minutes are missing that means that those bins did not have trades, correct?

Their description is confusing. I think they mix ticks that are individual trades with granulated data which are ticks averaged over one minute or one hour or whatever.

I need one minute granulated trades, that's it.

I would appreciate if you make the subject clear, just in case.

Thanks.


AlexB
Edited by alexB on Jan 3, 2010 at 01:39 PM

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Jan 3, 2010 02:50 PM          Msg. 2 of 8
HIX is minute data, correct. You choose the interval (1 minute, 5 minute, 9 minute, etc) I am not sure what you mean by "granulated trades" vs. "individual trades". Minute intervals provide OHLCV based on the trades that occurred during that interval. If the stock didn't trade during an interval, you won't get a value since there was no open, high, low, close or volume during that interval. There is no averaging of any data during the interval.

Jay Froscheiser
DTN

alexB
-Interested User-
Posts: 75
Joined: Dec 19, 2009


Posted: Jan 3, 2010 06:47 PM          Msg. 3 of 8
Thank you Jay,

How about intervals (1 min) where there have been a number of trades closed with different close values? What do you do with let say 5 such values:

12:05:23 201.2
12:05:29 201.5
12:05:40 201.09
etc.

How do you close this bin?

Thanks.

AlexB

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Jan 3, 2010 07:09 PM          Msg. 4 of 8
Your definition of a bin is typically referred to as a bar, which is basically a summary of all trades within an interval. In your example, an interval would be [12:05:00 - 12:05:59]. The bar has open/high/low/close (ohlc). The bar from your data would be 201.20/201.50/201.09/201.09.

alexB
-Interested User-
Posts: 75
Joined: Dec 19, 2009


Posted: Jan 3, 2010 07:51 PM          Msg. 5 of 8
Thank you. But I don't understand it. A bar (bin) can have only one value as a close, one value for open, one value for high, one for low. You cannot say that a bin has three close.

How do you calculate those?

I suspect you take first open as the final open, last close for the final close and last bid and ask for the final bid and ask. Is it correct? Or you average all bid's and assume it is the representative bid for the interval, average all close and assume it as a value for the itnerval, etc?

AlexB

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Jan 3, 2010 07:54 PM          Msg. 6 of 8
The open is the value of the first trade of the interval, the close is the value of the last trade of the interval, the high is the max(all trades of interval), the low is the min(all trades of interval).

alexB
-Interested User-
Posts: 75
Joined: Dec 19, 2009


Posted: Jan 3, 2010 07:54 PM          Msg. 7 of 8
When I granulate ticks in one minute interval (I do it in real time in my machine) I average all values that come in during that 60 sec period.

AlexB

alexB
-Interested User-
Posts: 75
Joined: Dec 19, 2009


Posted: Jan 3, 2010 07:55 PM          Msg. 8 of 8
The open is the value of the first trade of the interval, the close is the value of the last trade of the interval, the high is the max(all trades of interval), the low is the min(all trades of interval).

It answers my question. Thanks.

AlexB
 

 

Time: Thu April 25, 2024 6:37 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003