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)




"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"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
"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
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
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 best practice
Author Topic: Historical lookup best practice (2 messages, Page 1 of 1)

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


Posted: Nov 20, 2005 10:43 PM          Msg. 1 of 2
Do I need to serialize my lookup thru one socket connection? Or, can I open a connection for each symbol, using a fixed size thread pool so that the number of connections at any one time will be limited? I will be requesting daily data for up to one thousand symbols, usually before the market open. Are there any tricks, hints, or things to look out for?
I program in Java.
Thanks,
David

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Nov 21, 2005 01:49 AM          Msg. 2 of 2
We don't have a specific limit to the number of threads or socket connections you can make to IQFeed, but then, we also haven't tested a worse case scenario to see at what level you may impact the client/server. I think you will find that most developers set a fixed size thread pool as you mentioned. If you are going to be pulling a thousand symbols' daily data, it would make sense that you only need to pull a single data point each day, and you should be able to churn through pretty quick. However, we recommend and prefer that you do this during after hours (as you mentioned).

Jay Froscheiser
DTN - Trading Markets
 

 

Time: Sun April 28, 2024 10:55 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003