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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"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 enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"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
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
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 »Historical lookup efficiently
Author Topic: Historical lookup efficiently (2 messages, Page 1 of 1)

davhol_03086
-Interested User-
Posts: 10
Joined: Apr 27, 2005


Posted: Jun 10, 2009 11:27 AM          Msg. 1 of 2
If I need to retrieve historical data for 500 symbols via the socket lookup. Is it faster to use a thread pool of 50 threads making new connections to the LookupPort for each symbol, or push the 500 requests through on one connection to the LookupPort with a RequestID for each symbol? I think what this boils down to is can I take advantage of concurrent request handling on your server? Or maybe get my requests on your queue sooner? Is there a limit to how many requests I can make on one connection (with unique RequestIDs) at one time? Is there a disadvantage to a large number of requests on one connection?
Thanks

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jun 10, 2009 12:40 PM          Msg. 2 of 2
It will definately be more efficient to make multiple socket connections to IQConnect and make simultaneous connections. You will have to do some testing to find out where the breakeven point is in terms of speed vs CPU usage vs available bandwidth for your configuration. Most developers find that between 5 and 10 simultaneous connections is optimal.
 

 

Time: Fri May 3, 2024 2:39 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003