Package Details: ib-tws 1:10.33.1c-1

Git Clone URL: https://aur.archlinux.org/ib-tws.git (read-only, click to copy)
Package Base: ib-tws
Description: Electronic trading platform from discount brokerage firm Interactive Brokers (IBKR)
Upstream URL: http://interactivebrokers.com/
Licenses: custom
Submitter: benalexau
Maintainer: benalexau
Last Packager: benalexau
Votes: 43
Popularity: 0.33
First Submitted: 2013-01-30 06:21 (UTC)
Last Updated: 2024-12-20 01:01 (UTC)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 21 Next › Last »

jose1711 commented on 2021-05-05 10:53 (UTC)

@benalexau Don't worry about it. Thank you for fixing and get well soon!

benalexau commented on 2021-05-05 01:54 (UTC)

My apologies, @jose1711. I am unwell at present and didn't look at your diff properly. I have now merged your changes. Thanks for your patience.

jose1711 commented on 2021-05-04 11:57 (UTC)

users to see the version number that has been installed.

Maybe I am missing a point but frankly I don't understand this sentence. There is no change to the way how the installed package looks - the only difference is that you'll get

tws-983.2j-standalone-linux-x64.sh

instead of

tws-latest-standalone-linux-x64.sh

in the build directory. This actually gives you the information about the version and also gives you a very simple way to switch between them (all you need to do is edit PKGBUILD) if there is a desire to.

I also don't see how this could affect your infrastructure around monitoring and updating the PKGBUILD in aur. Could you please elaborate?

benalexau commented on 2021-05-04 11:27 (UTC) (edited on 2021-05-04 11:28 (UTC) by benalexau)

Thanks @jose1711 for the suggestion.

I prefer to keep it as-is because it allows users to see the version number that has been installed. This also allows automatic detection of when an older version is installed that requires updating.

While it is tedious maintaining symmetry between IB's latest TWS version, running it up to capture logs to extract the version number, and pushing up the new PKGBUILD as needed, I have scripts that do all of this (they're also in the AUR Git repo) and it's rarely more than 24 hours behind the latest TWS release.

I intend to transition these scripts to some other infrastructure in the medium term that will run more often and push up revised PKGBUILDs with fewer delays.

jose1711 commented on 2021-05-04 07:32 (UTC)

@benalexau

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 @@
    'ib-gw'
    'ib-gw.conf'
    'ib-gw.desktop'
-   'https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh')
+   "tws-${pkgver}-standalone-linux-x64.sh"::'https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh')
 md5sums=('c93bcc44678aef8b9d0ec6faecb27927'
          '428c553da90bb2ea650a7f96ae076937'
          '384f68e00a3010f7317cbfa0ffb9d719'
@@ -32,11 +32,11 @@

 build() {
   cd ${srcdir}
-  chmod +x tws-latest-standalone-linux-x64.sh
+  chmod +x tws-${pkgver}-standalone-linux-x64.sh
   # 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
-  ./tws-latest-standalone-linux-x64.sh -q
+  ./tws-${pkgver}-standalone-linux-x64.sh -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 (UTC)

@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 (UTC)

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

git clone https://aur.archlinux.org/ib-tws.git
cd ib-tws
makepkg -rs

harappan commented on 2021-01-27 09:48 (UTC)

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