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)




"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"You have an excellent product !!!!!!" - Comment from Arely
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
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 »New IQFeed Forum »Clarification on number of connections per second
Author Topic: Clarification on number of connections per second (2 messages, Page 1 of 1)

skoptions
-Interested User-
Posts: 4
Joined: Jul 10, 2022


Posted: Dec 12, 2022 12:10 AM          Msg. 1 of 2
I was looking for clarifications on the rate limiting for historical data requests. In the post describing this, it said whenever you make a new history request, your number of active requests is increased by 1. Every 1/25th of a second (40 milliseconds) this number decreases by one. As long as you don't exceed a rolling average of 50 history requests per second, you will avoid the "too many requests" error. In other words: time your requests such that you do not exceed 50 per second."

Does this mean I can make 50 new historical requests per second, even if the previous ones have not finished? Or do existing historical requests count in this 50 count as well? For example, if I have currently 15 historical data request ongoing, assuming they don't finish soon, am I limited to 50 new historical requests or 35 (50-15) requests in the next second?

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


Posted: Dec 12, 2022 08:08 AM          Msg. 2 of 2
Quote: Does this mean I can make 50 new historical requests per second, even if the previous ones have not finished?


Yes.

Quote: do existing historical requests count in this 50 count as well?


No. The historical request limits formerly worked this way, but don't anymore. It's just 50 per second, period. It doesn't matter how many are still running.

I should clarify that the 50 per second limit is per login ID. Making multiple connections with the same login ID doesn't let each connection make 50 requests per second. It is 50 total across all connections, unless you have multiple login IDs.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Wed February 21, 2024 8:27 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003