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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"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
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"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
"It’s so nice to be working with real professionals!" - Comment from Len
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
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 »Inconsistent Lookup History Results with Same Query
Author Topic: Inconsistent Lookup History Results with Same Query (2 messages, Page 1 of 1)

FistPeso
-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
HTD,SLV,120,0,,,1,18,25000
HTD,SLV,120,0,,,1,18,20000

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 http://forums.dtniq.com now to start sharing information with fellow DTN subscribers!
 

 

Time: Sat May 4, 2024 1:56 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003