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 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
"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 had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"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 just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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: Tue April 23, 2024 5:45 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003