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 are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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 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
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
Viewing User Profile for: jimc
About Contact
Joined: Jan 22, 2008 05:54 PM
Last Post: Feb 14, 2022 07:37 PM
Last Visit: Feb 16, 2022 07:36 PM
Yahoo IM:
Post Statistics
jimc has contributed to 35 posts out of 21224 total posts (0.16%) in 5,991 days (0.01 posts per day).

20 Most recent posts:
IQFeed Developer Support » Can't get streaming bars to send data Feb 14, 2022 07:37 PM (Total replies: 0)

I've been using the API for a long time, but I just tried for the first time to get streaming bars. My code is logging in, and can retrieve historical data and streaming data, as it always has. I connect to port 9400, and I get "S,SERVER CONNECTED" back on that port. I send "BW,SPY,60,20220211 093000,,,,,req1,s,,1\r\n" and...nothing. I've played around with the parameters, no success, haven't figured out what I'm doing wrong, hope someone sees something obvious. Thanks.


IQFeed Developer Support » Could not connect to History socket. Dec 18, 2014 10:16 AM (Total replies: 8)

I was getting that error last evening, too. A few cycles of ensuring that IQConnect.exe was closed, then re-running my program did not fix it. I had the same problem with a short LinqPad script I use for testing as well. After running IQConnect.exe manually before starting my program, instead of letting the program start it, I was able to connect. The problem isn't happening at all for me this morning.


Thanks for the quick reply. I think you're saying that I can switch between 4.7 and 5.x by keeping two versions of IQ32.dll; e.g., IQ32_47.dll (the IQ32.dll I'm using now) and IQ32_5.dll (the IQ32.dll I'll get when I install the 5.x SDK), and renaming/copying whichever one I want to use at any given moment to IQ32.dll. Is that right?


I may be the last person in the world upgrading their app to use IQFeed 5.x; I'm still using IQFeed in production. My production version still uses the (very) old SetCallbackFunction initialization method. If I install the latest SDK, will my production app keep working, or does it need to be updated to use the "launch IQConnect, connect via Admin port" initialization method? Or can and 5.x both run on one computer?


IQFeed Developer Support » VERY slow history requests (sometimes) Nov 11, 2011 08:37 AM (Total replies: 12)

Steve, it's been good, but today again historical requests are very slow.


IQFeed Developer Support » VERY slow history requests (sometimes) Oct 25, 2011 10:22 AM (Total replies: 12)

Sorry I didn't reply to this; I didn't have the data easily accessible. Historical requests have been very slow for me all morning today; not sure if you can see anything on your side.


IQFeed Developer Support » VERY slow history requests (sometimes) Aug 30, 2011 03:56 PM (Total replies: 12)

I've been seeing similar behavior for about 5-6 weeks. This happened a year or two ago, then the problem stopped happening. Re-requesting eventually gets the feed going again, but this problem has really been slowing my app's startup down.

IQFeed Developer Support » Best for C# developper Jun 25, 2010 09:21 AM (Total replies: 4)

Bite the bullet and write a multi-threaded socket feed consumer. The COM interface has too much overhead, especially going back and forth to the .NET world. When volume spikes, the COM<->.NET solution won't be able to keep up, and you'll find your CPU pegged and your program falling farther and farther behind. It will eventually catch up, but when I was using COM with .NET, it sometimes took 10 minutes until my program was caught up.


IQFeed Developer Support » Not receiving historical data May 11, 2010 11:00 AM (Total replies: 2)

No, it started working at about 9:55am that day. I was online with someone from your support group, and she could see that my historical requests weren't getting to where they needed to be, but could not see why.

IQFeed Developer Support » Not receiving historical data May 10, 2010 08:52 AM (Total replies: 2)

At 9:30 EDT, I stopped receiving historical data. The IQFeed Diagnostics Utility also fails to get historical data. Am using version


IQFeed Developer Support » DST problem? Mar 16, 2010 08:26 AM (Total replies: 3)

Just to follow up on this, it finally got resolved. MarketDelta was interpreting the timestamp fro IQFeed as being in standard time, because it has no timezone/dst suffix. MD had me install an unreleased, upcoming version that fixes this bug. Unfortunately, as has often been the case with MarketDelta, the new release has new bugs that break existing functionality, and the response I got from them was one I get far too often: "That functionality isn't important, so we're in no rush to fix the bug we just created." Arghhh!

IQFeed Developer Support » DST problem? Mar 15, 2010 10:36 AM (Total replies: 3)

Thanks Curtis. I've tried all the normal fixes, without success. I'm working with MD tech support now. They've had me install an upcoming, unreleased version of MD and have tried various fixes, to no avail so far.


IQFeed Developer Support » DST problem? Mar 15, 2010 09:19 AM (Total replies: 3)

My IQFeed is consumed by both MarketDelta and a program I've written. My program is happy this morning, but MarketDelta is complaining that my local time is off from the IQFeed server time by an hour. MarketDelta's charts are correspondingly off by an hour, no matter how I configure daylight savings time in the <my>holidays.txt file. Is anyone else seeing that IQFeed's server is off by an hour today?


IQFeed Developer Support » iqconnect.exe maxxing out cpu on 500 symbols Dec 11, 2009 11:32 AM (Total replies: 16)

Russ, it's my experience that when my program fell behind and IQConnect had to queue stuff up, that caused IQConnect to peg the CPU. When I rewrote my code so that it ran much faster, this problem went away. So it does seem to be true that slow client code can lead to a kind of death spiral for IQConnect. My code is now using dynamic fieldsets and running in its own thread, and it almost always keeps up. There are still spikes in volume (e.g., right after a Fed announcement) that cause my code to fall behind by a few seconds, but it catches up pretty quickly, and never causes IQConnect to peg the CPU.


IQFeed Developer Support » Dynamic datasets bug Oct 9, 2009 08:37 AM (Total replies: 13)

I upgraded to; same problem.

IQFeed Developer Support » Dynamic datasets bug Oct 8, 2009 11:47 AM (Total replies: 13)

What is the status of this bug?

I'm using IQFeed version with MarketDelta, and with a program I've written. My program uses the socket feed and dynamic datasets. I get a "Parameter is Incorrect" error and message box every day - the first time after the equities market opens at 9:30 that I switch the symbol on a chart in MarketDelta. I also get it at various times throughout the day when I switch symbols on a chart. When I get this error, MarketDelta stops its data feed from IQFeed, and I have to restart the feed and re-download the ticks up to that point. My program doesn't seem to be affected. But it's a really annoying problem that I sure hope gets fixed soon. It's no fun to have a bunch of charts stop working at 9:30:15, and have the charting program (MarketDelta) take 30-90 seconds to recover from the problem.


IQFeed Developer Support » C# sample using sockets? Apr 17, 2009 10:46 AM (Total replies: 8)

I don't think there's a C#/sockets example in the SDK, but this old post should get you started:


IQFeed Developer Support » datafeed optimization Dec 1, 2008 11:31 AM (Total replies: 2)

One other thing: allocating memory is usually a relatively expensive operation. So look for places where you're allocating memory many times (e.g., string creation) and change them to avoid so many allocations (e.g., use the StringBuilder class).


IQFeed Developer Support » datafeed optimization Nov 26, 2008 02:41 PM (Total replies: 2)

Donald, I have a couple suggestions for you. First, I used the ActiveX feed with a .NET-based program (C#) for many months. The ActiveX overhead was too much for my computer (a reasonably fast dual CPU machine); when volume spiked, my program fell progressively further behind receiving and processing the feed. I'm only watching about 65 symbols, too. I recently switched to the socket interface, and it's much, much faster for me. (I think this big performance difference might not necessarily be there if one was writing a non-.NET program.) So rather than beat your head against the wall trying to get your ActiveX-based code running as fast as possible, you may want to switch to the socket interface. It's probably the biggest single thing you can do to speed things up.

Also, the socket interface lets you specify which fields you want to receive, and that can drastically reduce the amount of bandwidth and parsing it takes to receive the feed. The ActiveX interface doesn't support this feature yet.

Second, if your database can't keep up with so many inserts, you could:
1). Let the data build up for awhile (e.g., at least a few seconds), then have a separate thread go do an insert
2). Spend some time optimizing your database configuration for your needs; I use Oracle, so I don't know much about mySQL, but I'm sure there are plenty of things you can do to optimize it for an insert-heavy load like yours.
3). Run your database on a separate computer on your network
4). Instead, write the data to a file, and write a small program to run at the end of the day to insert it all into your database
5). Write the data to a file and read it back from a file, rather than into/out of a database

Third, when optimizing a program, usually a little bit of work goes a long way at first. In other words, look first for places where you're storing a value that's actually unchanged, or recalculating an indicator when the underlying data hasn't changed yet.

Fourth, once you've gotten the low-hanging fruit in terms of optimization, you may find it useful to use a third-party optimization tool. I use and like the Ants Profiler, but I'm sure there are many others.

One other thing: compile your program with using the "Release" configuration instead of the "Debug" configuration, if that's an option in VB. It makes a big difference in C#.

Good luck.


IQFeed Developer Support » Missing timestamps Nov 20, 2008 02:59 PM (Total replies: 8)

Steve, I figured out this afternoon that the problem was indeed due to a bug in my code. One of those obscure threading bugs. I've fixed it and haven't seen the problem since. Thanks.


Time: Sun June 16, 2024 12:10 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003