Seeing companies support Linux brings music to my ears. One thing that is really lacking for Linux was a good stock trading platform. I’ve been a ThinkOrSwim user for a number of years but always thought it was a Windows or OSX only application. Only recently did I discover that ThinkOrSwim can actually run on Linux! ThinkOrSwim runs fast and efficient on Debian Linux with the only missing feature being the CNBC TV widget, which was a worthless resource anyway.
This guide will show you how to install the ThinkOrSwim stock trading platform by TD Ameritrade on Debian 10 Linux.
ThinkOrSwim is a Java based program and requires the Java Runtime Environment (JRE) version 8.x. Unfortunately, Oracle as decided to require registration to download the required JRE however, I found a GitHUB repository which has direct downloads for JRE.
I used the jre-8u212-linux-x64.tar.gz version. Simply un-compress the archive and move it to a public location such as /usr/local.
(base) james@techburnett:~/Downloads$ tar -zxvf jre-8u212-linux-x64.tar.gz jre1.8.0_212/ jre1.8.0_212/LICENSE jre1.8.0_212/THIRDPARTYLICENSEREADME-JAVAFX.txt ... ... (base) james@techburnett:~/Downloads$ ls -l total 99836 drwxr-xr-x 6 james james 4096 Apr 2 2019 jre1.8.0_212 -rw-r--r-- 1 james james 87886931 Nov 3 08:24 jre-8u212-linux-x64.tar.gz
Then move the jre1.8.0_212 folder to /usr/local and create a symbolic link to the java executable in /usr/local/bin.
$ sudo mv jre1.8.0_212/ /usr/local $ sudo ln -s /usr/local/re1.8.0_212/bin/java /usr/local/bin/java
Run the java command to make sure it works.
java -showversion java version "1.8.0_212" Java(TM) SE Runtime Environment (build 1.8.0_212-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)
Once you have Java installed you can install the ThinkOrSwim software. Simply run the thinkorswim_install.sh program while logged into your normal user.
james@io:~/Downloads$ sh ./thinkorswim_installer.sh
During the installation you will be asked if you want to install for all users of the machine or just your local user. I chose local user only and used the default folder which is $home/thinkorswim.