Profit Trailer management scripts

I have created a GitHub repository with a number of bash scripts I use to manage Profit Trailer (PT) on my VPS running Ubuntu 17.10. Profit Trailer (PT) is a cryptocurrency trading bot.

The repository contains the following scripts:

  1. Deploy script (
  2. PT upgrade (

What the scripts do is described briefly in the following sections. Please refer to the read me file in the repository for more information.


These script are based on my setup of Ubuntu and Profit Trailer. See my blogs for more information.

1. Deploy scripts (

This script deploys the management scripts to each Profit Trailer (PT) instances, so each instance has the latest versions of the scripts. This means you can use git clone and pull to keep the scripts up to date. When a new version is available, just do a pull to sync and then call this script to deploy it to each PT instances.

2. PT upgrade (

Upgrades a Profit Trailer (PT) instance to the latest version. It downloads the latest version of PT from GitHub and installs it to a new directory and copies the existing data, config files and scripts over from the currently installed version. This script must be run from inside the directory of the current PT instance you wish to upgrade. If the latest version is already installed it will display a warning message and exit.


These scripts make upgrading PT a breeze. I hope you find them helpful.

Related posts

If you liked this post, you might be interested in the following posts.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s