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'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.
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"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
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"It’s so nice to be working with real professionals!" - Comment from Len
"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
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 »NEW IQFEED FORUMS »IQFeed API Questions »how many number of connections are supported
Author Topic: how many number of connections are supported (2 messages, Page 1 of 1)

carter888
-Interested User-
Posts: 9
Joined: Oct 31, 2020


Posted: Jan 8, 2022 04:51 AM          Msg. 1 of 2
Hi I have a question.

Is it OK to use 500 connections to listen to 500 symbols (each connection listen to one symbol) ?
Or it's recommended to use one connection to listen to all symbols?
Do you utilize multi cores when there are a lot of connections?

Thanks.

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Jan 10, 2022 10:50 AM          Msg. 2 of 2
First, are we talking about the number of connections to the iqfeed server, or are you talking about the number of socket connections you can make from one server connection?

Your login ID can make multiple connections to the iqfeed API server, but they must all be from the same machine. If login ID 123456 is connected to the server, and you try to connect it from another computer, the first connection will be severed. It is possible to make one server connection, and then open many different socket connections using it.

It's not clear from your initial message which of these you're trying to do. But in general, both types of multiple connections are allowed, within the limitations that I've previously given. We don't have an upper limit on the number of connections you can have. But the "Maximum Symbols" limit for the number of symbols you can watch (typically 1300 total), and rate-limiting for historical look up requests (50 per second), are per login ID, not per connection. So having two different server or socket connections using the same login ID will not let you request 100 historical lookups.

We don't really recommend a specific number of connections to have; do whatever works best for your app and environment. Having one connection per symbol is probably a little excessive. But many users will split a workload among multiple connections, like having 10 connections and watching 50 symbols on each.

I hope this information is helpful!

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Mon May 20, 2024 12:40 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003