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)




"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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 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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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.
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: 394
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: Tue April 23, 2024 7:06 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003