TWS works well with Linux?

Discussion in 'Trading Software' started by GloriaBrown, Jun 30, 2019.

  1. My understanding is that Java is platform-independent, so it does not matter whether you use it on a Ubuntu, other Linux distro, or Windows machine.
    I use automated trading in which my own program is written in Java. The computer uses Ubuntu as operating system and I am using IB's Gateway (not TWS) and API tools.
     
    #21     Jul 2, 2019
  2. d08

    d08

    For simple TWS/API trading, it shouldn't matter if it's windows or linux. There are other good reasons on why to deploy automated systems on linux but Java is irrelevant.
     
    #22     Jul 2, 2019
  3. TWS API maturity and TWS stability can be so different
     
    #23     Jul 2, 2019
  4. Didn't say "best". But it works quite well, yes. Well enough that there is no reason to fear trading on a Ubuntu box. "Best" is not a claim that I would be competent or experienced enough to defend, TBH.
     
    #24     Jul 2, 2019
    d08 likes this.
  5. My vote is for Python and TWS on docker. I've got it running pretty smoothly now and the only issues I've had are the hosting company rebooting the machine for processor updates.
     
    #25     Jul 2, 2019
  6. The API is mature enough for my needs. And I don't use TWS, only Gateway. I haven't had major issues with it over the last 3 years or so.
     
    #26     Jul 2, 2019
  7. Why Gateway but not TWS? I don't know about the benefit of Gateway...
     
    #27     Jul 2, 2019
  8. Simply put: Gateway is TWS without the graphic user interface. I don't need the user interface for automated trading, only the connection from my computer to IB's servers. Gateway performs this function. As it does not have a GUI, does it use much less memory on my computer (plus lower CPU load).
     
    #28     Jul 2, 2019
  9. Nice. So your setup is your own Java program + Ubuntu + IB Gateway?
     
    #29     Jul 2, 2019
  10. Yes. I also use IBController (https://github.com/IbcAlpha/IBC) to keep Gateway up and running the whole week.
    I start this combination on Sunday evening and let it run the whole week until Saturday morning. During the week I only do some monitoring of log files to see how things are going. I am able to interfere with my program, but hardly ever do that.
     
    #30     Jul 2, 2019