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: 2096
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: 2096
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 October 7, 2024 10:44 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003