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)




"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Excellent datafeed !!!" - Comment from Arely
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"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
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"Everything is working great with the API. I love it." - Comment from Calvin
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"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
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 »autoconnect
Author Topic: autoconnect (4 messages, Page 1 of 1)

N4Apound
-Interested User-
Posts: 4
Joined: Jun 18, 2012


Posted: Jun 18, 2012 10:17 PM          Msg. 1 of 4
Hello,
I am SHELLing iqconnect.ext as per the documentation and ending the string with "-autoconnect". Because of this, I expect the pop-up to automatically connect and go away.

But what is currently happening when I run my program is that the popup appears with the login box entered correctly, but I have to manually click the "Connect" button on the popup. It then connects and goes away correctly. The "Automatically Connect" checkbox is not checked on the popup when it appears. I am using IQfeed 4.8.1.7

For me to only have to click the Connect button and nothing else, I think my password and product must also be entering correctly.

Any ideas?

Thanks,
N4

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


Posted: Jun 19, 2012 08:38 AM          Msg. 2 of 4
On the command line, the -autoconnect parameter is ignored unless you also send the -savelogininfo parameter (or if it was previously set).

N4Apound
-Interested User-
Posts: 4
Joined: Jun 18, 2012


Posted: Jun 19, 2012 05:30 PM          Msg. 3 of 4
Thanks, that worked great.

Just for completeness, it may be worth updating the API doc to include your statement and also correct the example given:

"IQConnect.exe -product <REMOVED> -version 1.0.0.0 -login 100000 -password 1234 -autoconnect"

http://www.iqfeed.net/dev/api/docs/InitializingTheFeed.cfm

Best regards,
N4
Edited by DTN_Steve_S on Feb 26, 2019 at 09:08 AM

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


Posted: Jun 20, 2012 08:42 AM          Msg. 4 of 4
You're right. I'll get the documentation updated.
 

 

Time: Mon May 6, 2024 11:50 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003