Running MC in autotrade I have to manualy click the yes button in the pop up window:
(Accept incoming connection attemt? YES)
when TWS is loging in again after a broken connection to the server.
Is it possible to reconnect to TWS without being prompted?
autotrading problem
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
You can avoid the prompt appearing completely by adding your IP to the list of Trusted Addresses in TWS: Configure, API, All API Settings, then add your Trading PC's IP address, see screenshot attached. I use the loopback IP address 127.0.0.1 which is always the local computer.
- Attachments
-
- IB API connect no prompt.gif
- (3.92 KiB) Downloaded 590 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times