Trader Workstation

From Wiki

Linux installation

  • download tws
  • tws.sh
#!/bin/bash
cd IBJts
java -cp jts.jar:hsqldb.jar:jcommon-1.0.12.jar:jfreechart-1.0.9.jar:jhall.jar:other.jar:rss.jar -Xmx512M -XX:MaxPermSize=512M jclient.LoginFrame . &
  • gateway.sh
#!/bin/bash
cd IBJts
java -cp jts.jar:hsqldb.jar:jcommon-1.0.12.jar:jhall.jar:other.jar:rss.jar -Dsun.java2d.noddraw=true -Xmx512M ibgateway.GWClient . &

autologin + keep alive

  • apt-get install devilspie xdotool
  • ~/.devilspie/tws_login.ds

  • ~/.devilspie/tws_login.sh

  • ~/.devilspie/tws_autologoff.ds

  • ~/.devilspie/tws_autologoff.sh