I'm trying to connect to my TWS live on localhost using ib_insync but the connection is timing out (stacktrace for that at the bottom). Here's the weird parts: This only happens in "Live" mode Same ...
The line highlighted in the snippet below (from ibcontroller.py) causes TWS/gateway to restart when run in paper mode as IB complaints there are no market data ...