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)




"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
"Excellent datafeed !!!" - Comment from Arely
"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
"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
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"IQ feed is brilliant. The support is mind-bending. What service!" - 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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
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: Sun May 19, 2024 2:06 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003