Package Details: ib-tws 10.10.2n-1

Git Clone URL: (read-only, click to copy)
Package Base: ib-tws
Description: Electronic trading platform from discount brokerage firm Interactive Brokers
Upstream URL:
Licenses: custom
Submitter: benalexau
Maintainer: benalexau
Last Packager: benalexau
Votes: 25
Popularity: 0.085747
First Submitted: 2013-01-30 06:21
Last Updated: 2021-09-17 14:04

Pinned Comments

benalexau commented on 2021-07-31 04:53

Pre-built packages are available: benalexau-aur-repo (x86_64) contains automatically built ib-tws binary packages

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

jose1711 commented on 2021-05-04 07:32


In order to fight the hash sum changes (often seen with package managers caching the old data), can you please make the following change?

--- PKGBUILD.orig   2021-05-04 09:30:30.913973088 +0200
+++ PKGBUILD    2021-05-04 09:29:08.783541113 +0200
@@ -20,7 +20,7 @@
-   '')
+   "tws-${pkgver}"::'')
@@ -32,11 +32,11 @@

 build() {
   cd ${srcdir}
-  chmod +x
+  chmod +x tws-${pkgver}
   # Assumes no other Install4J packages are in use by user; if so, makepkg from dedicated user account
   majorVer=$(echo "$pkgver" | sed "s/\([0-9]\+\)\..*/\1/")
   rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/tws $HOME/Desktop/Trader\ Workstation*.desktop $HOME/.local/share/applications/Trader\ Workstation*.desktop
-  ./ -q
+  ./tws-${pkgver} -q

   BUNDLED_JRE_VER=$(ls -1 ${HOME}/.i4j_jres)
   mv ${HOME}/.i4j_jres/${BUNDLED_JRE_VER} ${HOME}/.i4j_jres/jre

Thank you, jose

KerfuffleV2 commented on 2021-04-14 14:14

@benalexau The likely reason some people get the package integrity problem and you don't is because you're trying it right after you create the package so your hashes match the IB installer script. Later on, IB updates it and the hash no longer matches so people trying to install after that point get the issue.

benalexau commented on 2021-01-28 01:48

In case it helps for the future, the easiest way to build this package without using an AUR helper is:

git clone
cd ib-tws
makepkg -rs

agamemnon commented on 2021-01-27 09:48

Doesn't work with yay -Syyu for some reason, but works for your command line codes.

benalexau commented on 2021-01-27 08:56

@agamemnon, can you explain what you mean? It works for me:

[bpa@bpanb ~]$packer-aur -G ib-tws
[bpa@bpanb ~]$cd ib-tws/
[bpa@bpanb ib-tws]$makepkg -rs
==> Making package: ib-tws 981.2p-1 (Wed 27 Jan 2021 19:54:09)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found ib-tws
  -> Found ib-tws.conf
  -> Found ib-tws.desktop
  -> Found ib-gw
  -> Found ib-gw.conf
  -> Found ib-gw.desktop
  -> Downloading
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  145M  100  145M    0     0  9385k      0  0:00:15  0:00:15 --:--:--  9.8M
==> Validating source files with md5sums...
    LICENSE ... Passed
    ib-tws ... Passed
    ib-tws.conf ... Passed
    ib-tws.desktop ... Passed
    ib-gw ... Passed
    ib-gw.conf ... Passed
    ib-gw.desktop ... Passed ... Passed
==> Extracting sources...
==> Starting build()...
Unpacking JRE ...
Starting Installer ...
The installation directory has been set to /home/bpa/tws.
Extracting files ...
Finishing installation ...
Archive:  jts4launch-981.jar
  inflating: trader/common/images/ibapp_icon_48x48.gif  
Archive:  jts4launch-981.jar
  inflating: trader/common/images/quote_details_48x48.jpg  
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ib-tws"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ib-tws 981.2p-1 (Wed 27 Jan 2021 19:55:04)

agamemnon commented on 2021-01-27 08:38

doesn't update, error veryfing

esemeniuc commented on 2020-12-16 03:28

Awesome, thank you @benalexau :)

benalexau commented on 2020-12-15 23:34

Thanks @cwaffles. I made this change (to both the TWS and IB Gateway configuration files) and also updated it more generally to reflect the settings in IB's present tws.vmoptions.

esemeniuc commented on 2020-12-15 17:30

In iw-tws.conf, I would suggest setting the following:

JAVA_UI_FLAGS="-Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on"
  1. Increasing the heap size prevents the app from hanging at 100% cpu utilization
  2. Enable anti-aliasing/font smoothing. This makes the UI much more legible.

benalexau commented on 2020-12-07 02:17

Unsure why you needed --skipinteg. I just made a series of changes and successfully built version 981.2g-1. Can you try the latest PKGBUILD?