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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"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
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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  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: Sat May 18, 2024 3:06 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003