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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"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
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"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
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
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: Mon April 29, 2024 4:51 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003