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)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
"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 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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
Home  Search  Register  Login  Blogs Recent Posts

Information on Various DTN Products:
DTN IQFeed | DTN ProphetX | DTN Ag | NxCore
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »Question about HIT returned data (interval candles)
Author Topic: Question about HIT returned data (interval candles) (2 messages, Page 1 of 1)

YDBackTester
-Interested User-
Posts: 5
Joined: Mar 5, 2016


Posted: Mar 5, 2016 06:44 AM          Msg. 1 of 2
When i run this query:
"HIT,NE,60,20160226 093000,20160226 160000,,093000,160000,1,,,s"

I get this data:
2016-02-26 09:31:00,7.7800,7.6600,7.6900,7.6600,44984,44160,0,
2016-02-26 09:32:00,7.7400,7.6900,7.7001,7.7100,58814,13764,0,
...
...
2016-02-26 16:00:00,8.2100,8.2000,8.2000,8.2100,7601346,57892,0,
2016-02-26 16:01:00,8.2000,8.2000,8.2000,8.2000,7883616,282270,0,

My question:
Why am I getting a 09:31:00 candle, and why am I getting a "16:01:00" candle?
So which seconds does the 09:31:00 candle represents ? is it actually an aggregation of all the seconds between and including 09:30:00 and 09:30:59 ?

DTN_Steve_S
-DTN Guru-
Posts: 2029
Joined: Nov 21, 2005


Posted: Mar 5, 2016 03:15 PM          Msg. 2 of 2
Interval data in IQFeed is timestamped in the second following the data it represents.

As a result, your 09:31 bar represents trades from 09:30:00-09:30:59.

We also do not send incomplete bars for time based intervals unless you are authorized for realtime data for the symbol AND requesting data up to the current second while it is still trading. Any bar that lies partially within the timeframe you are requesting will be returned.

As a result, your 16:01:00 bar represents data from 16:00:00 - 16:00:59 and is included because you requested the 16:00:00 second.
 

 

Time: Sat October 21, 2017 1:28 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003