We would like to stay connected to IB all the time and my programmer and I have been working hard to resolve this issue. We have not yet found a solution thus far.
We need the trade log to be able to export the trade results so for that reason IB Gateway is not going to work and we have to use TWS instead.
Any suggestions on how to keep IB connected are greatly appreciated.