Linux vs Max RE clientId 0

20 views
Skip to first unread message

Derek Tishler

unread,
Jun 3, 2016, 10:22:06 AM6/3/16
to IbPy Discuss
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?

In the mean time, I have switched to using a manually set Master API client ID. Weak source: https://www.interactivebrokers.com/en/software/tws/usersguidebook/configuretws/apisettings.htm

Has anyone seen this issue before? It is not a show stopper by any means, but I was hoping to understand the issue more.
Reply all
Reply to author
Forward
0 new messages