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)




"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
"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
"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'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"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
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 »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: 2093
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: Fri April 26, 2024 3:18 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003