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)




"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
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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.
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
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) »IQFeed Developer Support »Unable to connect to IQFeed without launching IQFeed launcher
Author Topic: Unable to connect to IQFeed without launching IQFeed launcher (6 messages, Page 1 of 1)

orderflow
-Interested User-
Posts: 7
Joined: Aug 12, 2010


Posted: Dec 8, 2010 11:03 AM          Msg. 1 of 6
C# application written to connect to IQFeed using DTNIQFeedComLib.
Before running the C# application, I have to launch IQFeed using IQFeed launcher. Once IQFeed launcher is started then my custom C# application connects to data feed without any problem.

The above is true only on some computers on others it works fine.

I have solved the above problem (on problematic computers) by adding the product using IQFeed Diagnostics Utility. Once I add the product to the IQFeed Diagnostics Utility, I no longer have to launch IQFeed using IQFeed Link Launcher.

I would like to do this programmatically instead of asking my users to use IQFeed Diagnostics Utility. Can someone suggest me the solution. Thanks in advance.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Dec 8, 2010 11:06 AM          Msg. 2 of 6
You can launch the feed directly from your app and pass the appropriate product and version via command line parameters.

Take a look at the documentation for initializing the feed and email/chat with developer support if you have questions.

orderflow
-Interested User-
Posts: 7
Joined: Aug 12, 2010


Posted: Dec 8, 2010 11:54 AM          Msg. 3 of 6
I am using following to Register client app:

RegisterClientApp(new WindowWrapper(AppCollection.MainWindow).Handle.ToInt32(), "xxxx", "0.11111111", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString());

This did not work for me.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Dec 8, 2010 12:31 PM          Msg. 4 of 6
That is an older method for launching the feed but it should still work currently. I'm assuming you replaced "xxxx" with your registered productID. What happens when you Call that method (how do you determine that it didn't work)?

There is a newer method for launching the feed that simplifies the process (and doesn't require you to use the IQ32.dll) by just launching the exe directly and providing your product information with command line parameters. Since you are already doing development to fix what isn't currently working for you (for whatever reason), I would recommend that you just bypass the issue and update to the new launching method.

orderflow
-Interested User-
Posts: 7
Joined: Aug 12, 2010


Posted: Dec 8, 2010 03:08 PM          Msg. 5 of 6
Will it be possible to send me link to proposed document. Also, if possible an example to launch the exe. Thanks!

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Dec 8, 2010 03:18 PM          Msg. 6 of 6
Do you have the developer version of IQFeed installed?

If so, you should have the documentation installed in your MyDocs directory (that is the default directory unless you changed it) along with the source code for the example apps (although there isn't a sample in the download for C#). The filename is InitializingTheFeed.html

If you don't have the dev install of IQFeed, you can download it by logging into the dev section of the website here: http://www.iqfeed.net/dev/index.cfm?login=login

After you are logged in, click on "Download API" in the left hand navigation menu. Note, you can also see the IQFeed documentation on the website after you have logged in (also using the left hand navigation menu)

I can email you a C# example for launching the feed. Which email address would you like sent to (feel free to send to to me in a Private Message instead of posting it on the public forums).
 

 

Time: Sat April 27, 2024 12:38 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003