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 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
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"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
"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
"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
"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
"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
"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
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
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 »Realtime vs Historical tick resolution
Author Topic: Realtime vs Historical tick resolution (5 messages, Page 1 of 1)

lgwaustralia
-Interested User-
Posts: 16
Joined: Apr 11, 2016

Trade on


Posted: Apr 5, 2018 06:34 AM          Msg. 1 of 5
Hi there,

We have a system where we use Realtime tick data from IQFeed and then we download all the data for the day at the end of the day as Historical data from IQFeed.

We are seeing that they do not match. For example:

Here is data from a time period we got in realtime: (using command: wXG#)
Q,XG#,04/04/2018,07:57:20.072000,11838.50,11839.50,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.50,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.00,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.50,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.00,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.50,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.00,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.00,11839.50,11838.50,
Q,XG#,04/04/2018,07:57:20.072000,11838.50,11839.50,11838.50,

Here is the data from the same time period we got as historical data: (using command: HTT,XG#,20180404 000000,20180409 170500,,,,0,,)
2018-04-04 07:57:20.072000,11838.50,1,57349,11838.50,11839.50,3106867,C,68,01,

It seems that the historical data is consolidated some how.
Is it possible to get the same resolution as realtime when downloading historical data?

Regards.

Lance

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Apr 5, 2018 06:39 AM          Msg. 2 of 5
Good morning,

We do not have bid and ask history available, so I believe that is the discrepancy you are seeing here. You could add the message contents field to your request to validate that.

Tim

lgwaustralia
-Interested User-
Posts: 16
Joined: Apr 11, 2016

Trade on


Posted: Apr 5, 2018 07:57 AM          Msg. 3 of 5
Hello.

Thanks for the reply. I see now that we can match realtime with historical by not processing realtime data that has Message Content that's not C.

Is there a way in realtime to just get Message Contents that are C so we don't have to filter on our end?

Thanks.

Lance

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Apr 5, 2018 08:00 AM          Msg. 4 of 5
You can do a tSYM watch and that will give you all of the trades and that should match our history.

Note: Trades can also be of type O or of type E, in addition to C as you noted above.

Tim

lgwaustralia
-Interested User-
Posts: 16
Joined: Apr 11, 2016

Trade on


Posted: Apr 5, 2018 08:07 AM          Msg. 5 of 5
Thanks for the quick reply. Will try out tSymbol.

Lance
 

 

Time: Sun May 19, 2024 10:08 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003