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 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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"It’s so nice to be working with real professionals!" - Comment from Len
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"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 "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - 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
»Forums Index »Archive (2017 and earlier) »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 1568 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: 73
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: Sat April 27, 2024 12:05 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003