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)




"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"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.
"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
"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
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"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
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
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) »DTN.IQ Client Software Support »IqFeed client crushes
Author Topic: IqFeed client crushes (9 messages, Page 1 of 1)

Ariloum
-Interested User-
Posts: 20
Joined: Oct 22, 2014


Posted: Oct 24, 2015 07:26 AM          Msg. 1 of 9
Hello,
I've written a screener which download and update last day candles by downloading historical data, I'm using a few threads connecting to iqfeed client historical data port and if I set it's amount to 100 threads(connections) iqfeed client crushes. It works well with 40 connections thread, but I need more threads to get higher rate for updating speed. I'm using iqfeed client v.5.1.3.1.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Oct 24, 2015 08:06 AM          Msg. 2 of 9
Good morning,

In regards to history, 18 concurrent history requests is the maximum that can be processed at any one time, so you will not be able to pull data across 100 threads without seeing lots of errors I would guess.

That said, there is a patched build that deals with a bug that is probably what you are seeing, I'll email you a link.

Tim

Ariloum
-Interested User-
Posts: 20
Joined: Oct 22, 2014


Posted: Oct 26, 2015 10:32 AM          Msg. 3 of 9
Hi Tim, thanx for your input,

I tried this patched version and looks like it works fine, need to test it for a few days.

http://prntscr.com/8vjlx0
Edited by Ariloum on Oct 26, 2015 at 10:32 AM



File Attached: QIP Shot - Screen 2015.10.26 18-28-53.png (downloaded 1632 times)

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Oct 26, 2015 10:35 AM          Msg. 4 of 9
Glad to hear it. Thanks for letting us know.

Tim

Ariloum
-Interested User-
Posts: 20
Joined: Oct 22, 2014


Posted: Oct 30, 2015 08:46 AM          Msg. 5 of 9
Sometimes I've too many errors with simultaneous history requests while I'm using 30 connections to historical service port:
E,Too many simultaneous history requests.,

Sometimes it's ok and errors are rare, but sometimes I'm getting it very often. Do you have some load balancer on your serverside which dynamically limit connections to historical service?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Oct 30, 2015 08:49 AM          Msg. 6 of 9
Yes, as mentioned above, there is a limit of 15 concurrent connections on pulling data from history. More than that will result in the error you are seeing. In this case, you will simply have to re-request when you have slots available, or limit your active requests to 15.

Tim
Edited by DTN_Tim Walter on Oct 30, 2015 at 09:09 AM

Ariloum
-Interested User-
Posts: 20
Joined: Oct 22, 2014


Posted: Oct 30, 2015 09:20 AM          Msg. 7 of 9
Did this limit is hardcoded or it's dynamic?
Sometimes I'm going pretty well with 30 connections with only a few errors, but sometimes I receive a horde of errors..

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Oct 30, 2015 09:29 AM          Msg. 8 of 9
It is hardcoded, but it is related to how many are actually processing at any one time. Many requests happen in just milliseconds so it can appear that you are processing more than 15 requests with these smaller requests. But, if you did 15 requests for a large amount of tick data and those requests all took 10 seconds each to complete each, then all other requests would fail and return errors.

Tim

Ariloum
-Interested User-
Posts: 20
Joined: Oct 22, 2014


Posted: Oct 30, 2015 09:36 AM          Msg. 9 of 9
I see, thanx for the info.
I'm receiving only last few 1minute candles to update my current stock snapshot.
 

 

Time: Sun May 5, 2024 12:49 AM CFBB v1.2.0 19 ms.
© AderSoftware 2002-2003