Quote from braincell:
See, I thought so but wasn't sure. Since that's the case, the OPs best setup would be:
No java machine:
-Get a data feed API that supports unix without Java
-Use the IB API for sending orders to TWS (and recieving responses from TWS)
Machine with java:
-Host TWS on another machine which will get orders from the API and relay them to IB.
The machine to host TWS doesn't need anything other than java and TWS installed to run, and no coding required. TWS is simply there to accept API commands.
Just to clarify again, the process is like this:
1-Get data from data feed
2-Process data, do whatever with it with your own code
3-Send orders via IB API
4-TWS accepts orders and relays them to IB.
5-Monitor response codes sent back from IB (TWS sends to API and you can transfer them into your own code for order management,position management, etc.)