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)

"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg 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
"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
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - 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 »IQFeed Developer »IQFeed Developer Support »Inconsistent Lookup History Results with Same Query
Author Topic: Inconsistent Lookup History Results with Same Query (2 messages, Page 1 of 1)

-Interested User-
Posts: 15
Joined: Aug 16, 2012

Posted: Sep 9, 2012 08:01 PM          Msg. 1 of 2
While doing some optimization testing, I discovered different result sets when running the same lookup request multiple times. My examples show requests with different DatapointsPerSend, but the same problem exists even when the DPS value is held static. I also tested other symbols and had the same problems. I am running the current beta version and all lookups are done via the TCP/IP API. This is a very repeatable problem with a sample size of 5 to 10 requests. I found that I usually end up with 3 or 4 different record count sets. Of the sets that have the same number of rows, I have seen discrepancies in those as well. It appears to me that this data is being calculated, as opposed to being static. I have log files if needed. Here are some examples:

Two Same History Requests

Two Different Results
***** HTD,SLV,120,0,,,1,18,25000
18,2012-05-14 09:31:27,27.6300,300,522559,27.6300,27.6400,5940,0,0,C,
18,2012-05-14 09:31:27,27.6300,200,522759,27.6300,27.6400,5941,0,0,C,
18,2012-05-14 09:31:27,27.6300,696,523455,27.6300,27.6400,5942,0,0,C,
18,2012-05-14 09:31:27,27.6300,100,523555,27.6300,27.6400,5943,0,0,C,
18,2012-05-14 09:31:27,27.6300,500,524055,27.6300,27.6400,5944,0,0,C,
18,2012-05-14 09:31:27,27.6300,510,524565,27.6200,27.6300,5945,0,0,C,
***** HTD,SLV,120,0,,,1,18,20000
18,2012-05-14 09:31:27,27.6300,300,522559,27.6300,27.6400,5940,0,0,C,
18,2012-05-14 09:31:27,27.6300,200,522759,27.6200,27.6300,5941,0,0,C,
18,2012-05-14 09:31:27,27.6300,696,523455,27.6200,27.6300,5942,0,0,C,
18,2012-05-14 09:31:27,27.6300,100,523555,27.6200,27.6300,5943,0,0,C,
18,2012-05-14 09:31:27,27.6300,500,524055,27.6200,27.6300,5944,0,0,C,
18,2012-05-14 09:31:27,27.6300,510,524565,27.6200,27.6300,5945,0,0,C,

***** HTD,SLV,120,0,,,1,18,25000
18,2012-05-14 14:06:30,27.6100,100,10498253,27.6000,27.6100,118621,0,0,C,
18,2012-05-14 14:06:30,27.6100,200,10498453,27.6100,27.6200,118622,0,0,C,
18,2012-05-14 14:06:30,27.6100,492,10498945,27.6100,27.6200,118623,0,0,C,
***** HTD,SLV,120,0,,,1,18,20000
18,2012-05-14 14:06:30,27.6100,100,10498253,27.6000,27.6100,118621,0,0,C,
18,2012-05-14 14:06:30,27.6100,200,10498453,27.6000,27.6100,118622,0,0,C,
18,2012-05-14 14:06:30,27.6100,492,10498945,27.6100,27.6200,118623,0,0,C,

Thank you.

DTN Brian Wood
-Interested User-
Posts: 17
Joined: Jun 2, 2004

Posted: Sep 11, 2012 04:48 PM          Msg. 2 of 2
We receive the data in two different feeds from the exchange and then combine and interweave the data. One feed has the trades and the other has the bids and asks. The reason some of the data is slightly different between runs is that some of the runs may be from different server farms and they didn’t combine/interweave it at exactly at the same point (moment in time) on each system so they are just so slightly off from each other. Having duplicate systems is very good, but it’s also very difficult to make them all perfectly the same with the huge volumes of data that go though them.

Visit our new online forums! DTN employees actively monitor the forums to provide you the highest level of support in the industry. Our forums also has an announcements area where you can learn about new features or changes within DTN. You can even use the forums to exchange trading ideas or tips and tricks on how you use your DTN data to be more profitable.

Go to now to start sharing information with fellow DTN subscribers!


Time: Thu May 26, 2022 12:13 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003