Closed charlesedwards closed 5 years ago
It works for me (on Linux). It'll be a while before I can try this out on Windows.
Yep I am on Windows
The issue was that on windows terminating the IBC process did not terminate the TWS/gateway child process. The taskkill windows command is now used to terminate the whole lot.
Hi,
I cannot get IB TWS to shutdown with ib_insync
IBC
orWatchdog
. after theapp.stop()
oribc.terminate()
statement, the script just sits there and never ends. the TWS platform does not shut down.My code:
The IB log after start up:
after that last
terminating
message, the script just sits there and nothing happens. IB never closes.I have the same result when trying to use
watchdog
instead.How can I fix this so IB TWS closes and the script ends?
Thanks