Hi, I have been using TWS without too much trouble, but recently started running some algos that are quite active. This seems to have impacted TWS such that it is slow to the point I cannot really use it. Is there a way to disable this window from popping up / monitoring all the live orders? I have already set the memory allocation to like 8192mb. TIA!
Do you need TWS's GUI? If you don't need to see what's happening you could switch over to IB's Gateway. Same connectivity to IB's servers without the graphical load.
I have a separate user/workstation running gateway with API orders. I run TWS for non systematic trading. But now that the load from API is higher it seems to have impacted TWS performance
In that case it would make sense to investigate what is slowing it down. I'm assuming that your computer is using a Windows OS. Maybe you can check the CPU load (%) and the memory load (%). At the same time you may want to check the amount of internet traffic (MB/s), although I suspect that less likely to be a cause.
I havent been able to solve this problem. TWS is unuseable when I have a algo running with about 100 live orders. The CPU load ranges anywhere between 25-85% and Memory usage is about 70-88% with TWS taking 50% of that. I have a 16GB machine with 8GB allocated to the JRE for TWS. Anyone with ideas? unless i turn off my algos.
So it is not your computer hardware which is creating a bottleneck: your CPU load is not reaching its maximum, nor is your RAM memory usage. It could be that TWS had to update many charts for you and that it can't keep up with redrawing all those charts. We can't see how your TWS looks like and don't know whether that is the case. It is known issue that TWS can't handle many charts at the same time. I assume that you internet connection is not a bottleneck?
I have no charts running, just watchlist and order panel on the desktop. When I do not have API/orders running then TWS works perfectly. If i could turn "off"/disable TWS monitoring those API orders, I think that should suffice, maybe if a solution to set TWS as clientID NOT 0?