Hello everyone
I have been French and computer scientist for over 30 years. I am 72 years old and I have been using python for 6 months. I have developed an API to process the eurusd. When you are French, you absolutely have to preserve your euro capital? This is what my API does. I also ran into the shutdown of TWS. To remedy this, check the automatic restart box in the general configuration from "modification", "lock and exit" and specify the time for the automatic restart.
You should know that IB reboots its servers at 0am US time, ie 6am French time. It is therefore necessary to program the automatic restart after 0 hours to allow the reboots to take place. But this is not enough if you have an API that works 24 hours a day, you have to restart your API also automatically AFTER the TWS reboot. For that I use a DOS .bat to restart
. I hope I answered the question
Good weekend to all
cordially
Guy
?
?
?
?
toggle quoted message
Show quoted text
> Message du 02/06/21 21:46
> De : "RobDawg35" <rob.sandberg26@...>
> A : "[email protected] Group Moderators" <[email protected]>
> Copie ¨¤ :
> Objet : Re: [TWS API] TWS vs Gateway at reconnections
>
>
Hi all,?
>
I have also had this problem and am currently switching to run this on a server. I am going to be paying around $20-40/month.?
>
I am in-between using "VULTR" or spinning up an EC2 instance then creating a UI for Linux on the server.?
>
Best,
Rob
>
On Wed, Jun 2, 2021 at 12:32 AM Despair <
boris@...> wrote:
>
The problem is not the reconnection to the API. The problem is the TWS shuts down completely. So I have to restart the TWS manually before the client can connect to it again.
>
>