I just switched my trading system from Mac OS to Ubuntu 14.04 for use with Tensorflow + GPUs. I have everything set up again but I am seeing a new behavior with client Ids.
My order system has always connected to clientId 0. This allowed me to call reqAutoOpenOrders to handle orders(even those made in TWS).
Since switching over to Ubuntu, I always get the error showing that id is already in use. I checked the connections window in TWS and there are no other clients with this id, nor I am trying to connect to it with other connections. Is TWS on Ubuntu itself consuming the clientId 0 and preventing me from using it perhaps?
Has anyone seen this issue before? It is not a show stopper by any means, but I was hoping to understand the issue more.