- Windows user? Please see the doc installing Gekko on windows instead.
- Docker user? You can run Gekko in a docker container, see installing Gekko using Docker instead.
- Server user? In order to run Gekko headless, see installing Gekko on a server instead.
Here is a video of me explaining how to install Gekko the easiest way possible:
To get Gekko running you need to do the following:
- install nodejs
- download Gekko
- install Gekko's dependencies
Gekko requires nodejs to be installed. Go ahead and install this if it's not already (Gekko requires at least version 6). We advice to download the current LTS.
The recommanded way of downloading Gekko is by using git. This makes keeping Gekko updated a lot easier. For git, run this in a terminal:
git clone git://github.com/askmike/gekko.git
cd gekko
Alternatively download and extract the zip here.
Once it is installed we need to install Gekko's dependencies, open your terminal and navigate to the gekko folder and run:
npm install --only=production
After all the above you can start Gekko by running the following in your terminal:
node gekko --ui
If you installed Gekko via git, simply run:
git pull
npm install --only=production
If you downloaded the zip you can just download the new version. If you want to move historical data over (for backtesting purposes), copy the constents of the history
folder found inside the gekko folder. If you have written your own strategies, don't forget to move them over as well.