E*TRADE Pro has an installer available for Windows and macOS, but none for Linux.
Linux users need to resort to the java web start application available from etrade.com, but launching Etrade Pro from the website every time can be annoying.
To work around it, let's make the java web start application a launchable application from Linux.
I. Install java
While other java versions might work, I only tried with Oracle's java:
II. Get the java web start application
Assuming you've been granted access to the Etrade Pro tools:
- Login in on http://www.etrade.com
- Go to Research > Products > E*TRADE Pro > Launch Pro Using Java
- Save etpro_launch.jnlp
III. Tweak the jnlp application to not hardcode the session
By default the jnlp application harcodes the current website session, which prevents you to reuse it.
Edit etpro_launch.jnlp and remove the following line:
IV. Get a script to launch the jnlp application
Edit etpro:
You can now either call this script from the command line or add a menu item calling this script.
Linux users need to resort to the java web start application available from etrade.com, but launching Etrade Pro from the website every time can be annoying.
To work around it, let's make the java web start application a launchable application from Linux.
I. Install java
While other java versions might work, I only tried with Oracle's java:
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
II. Get the java web start application
Assuming you've been granted access to the Etrade Pro tools:
- Login in on http://www.etrade.com
- Go to Research > Products > E*TRADE Pro > Launch Pro Using Java
- Save etpro_launch.jnlp
III. Tweak the jnlp application to not hardcode the session
By default the jnlp application harcodes the current website session, which prevents you to reuse it.
Edit etpro_launch.jnlp and remove the following line:
Code:
<property name="jnlp.smsession" value="*****" />
IV. Get a script to launch the jnlp application
Code:
mkdir etpro
cp ~/Downloads/etpro_launch.jnlp etpro/etpro_launch.jnlp
touch etpro/etpro
chmod 755 etpro/etpro
Edit etpro:
Code:
#!/bin/bash
set -e
scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
/usr/bin/javaws "${scriptdir}/etpro_launch.jnlp"
You can now either call this script from the command line or add a menu item calling this script.