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)




"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
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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 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
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"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
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
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: Sun May 5, 2024 7:26 PM CFBB v1.2.0 35 ms.
© AderSoftware 2002-2003