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.cfmBest 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.
|