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)




"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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
Home  Search  Register  Login  Blogs 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 »IQFeed Developer »IQFeed Developer Support »Unable to connect to Admin port afetr starting IQconnect
Author Topic: Unable to connect to Admin port afetr starting IQconnect (4 messages, Page 1 of 1)

rlt6246
-Interested User-
Posts: 3
Joined: Feb 8, 2016


Posted: Feb 8, 2016 06:56 AM          Msg. 1 of 4
I'm attempting to connect to IQFeed from a MATLAB application. I am using the Instrument Control Toolbox rather than the Datafeed toolbox. The launch of IQConnect is successful. But after constructing a tcpip object, the open command fails, suggesting that either IQConnect is not listening to the Admin port or it rejects the connection. I start IQConnect with the command:

IQConnect.exe -product RICHARD_THRASHER_***** -version 0.0.0.0 -login ****** -password ******** -autoconnect

(where ofc I used the actual data instead of *'s). I have attached the log. Ofc, I am pursuing this issue with MATLAB as well.



File Attached: IQConnectLog4.txt (downloaded 437 times)

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


Posted: Feb 8, 2016 08:34 AM          Msg. 2 of 4
I sent you an email Richard, let us know if anything else comes up.

Tim

rlt6246
-Interested User-
Posts: 3
Joined: Feb 8, 2016


Posted: Feb 8, 2016 08:53 AM          Msg. 3 of 4
Thanks for your help. The problem was that my app called IQConnect synchronously, thus waiting until IQConnect timed out before it tried to connect. Making the call asynchronous solved the problem.

altmany
-Interested User-
Posts: 24
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Mar 12, 2019 06:56 AM          Msg. 4 of 4
For completeness, in case anyone else has a similar problem, you can start IQConnect asynchronously by appending '&' at the end of the command:

IQConnect.exe ... -autoconnect &

Note that this is not specific to Matlab - It is an OS issue that may be relevant for anyone who launches IQConnect programmatically, using any programming language. Some programming languages also have alternative mechanisms for starting an external process asynchronously, without requiring an extra '&', but sending a system command with & should work across the board.

Note: I am not a DTN employee; my post reflects my personal opinion and not necessarily DTN's

- Yair
IQML - IQFeed-Matlab connector
https://UndocumentedMatlab.com/IQML
 

 

Time: Fri April 19, 2019 5:30 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003