Gekko is an opensource, Node.js application for Bitcoin trading. The application is available on Github.
Gekko runs from a copy of its Github repository, so git downloads the application and nodejs runs it. It needs a recent Node.js release, which is why nodejs comes from the NodeSource repository rather than the distribution's own.
The project was archived by its developer in February 2020 and no longer receives updates, so some exchange connections may have stopped working. The web interface listens on 127.0.0.1 port 3000 by default, which makes it reachable only from the machine running Gekko.
Steps to install Gekko on CentOS, Fedora and Red Hat (RHEL):
- Install latest nodejs package from NodeSource repository.
Follow the Install latest version of Node.js for Centos / Red Hat from NodeSource repository method in the below article:
- Install git client.
$ sudo yum install --assumeyes git
- Go to your preferred installation directory and clone Gekko from it's Github repository.
$ git clone git://github.com/askmike/gekko.git -b stable Cloning into 'gekko'... remote: Enumerating objects: 14692, done. remote: Total 14692 (delta 0), reused 0 (delta 0), pack-reused 14692 Receiving objects: 100% (14692/14692), 5.11 MiB | 1.51 MiB/s, done. Resolving deltas: 100% (9652/9652), done.
- Go to the cloned repository.
$ cd gekko/
- Install required Node.js packages.
$ npm install --only=production > sqlite3@4.0.2 install /home/user/gekko/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download [sqlite3] Success: "/home/user/gekko/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote added 213 packages from 175 contributors and audited 520 packages in 16.725s found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details
- Start Gekko.
$ node gekko --ui ______ ________ __ __ __ __ ______ / \ / |/ | / |/ | / | / \ /$$$$$$ |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$ | $$ | _$$/ $$ |__ $$ |/$$/ $$ |/$$/ $$ | $$ | $$ |/ |$$ | $$ $$< $$ $$< $$ | $$ | $$ |$$$$ |$$$$$/ $$$$$ \ $$$$$ \ $$ | $$ | $$ \__$$ |$$ |_____ $$ |$$ \ $$ |$$ \ $$ \__$$ | $$ $$/ $$ |$$ | $$ |$$ | $$ |$$ $$/ $$$$$$/ $$$$$$$$/ $$/ $$/ $$/ $$/ $$$$$$/ Gekko v0.6.6 I'm gonna make you rich, Bud Fox. Serving Gekko UI on http://localhost:3000/If you receive version error such as the following, make sure to install the latest Node.js from PPA.
ERROR: Your local version of Node.js is too old. You have v8.10.0 and you need atleast >=8.11.2
- Open your web browser and go to http://127.0.0.1:3000/// to access the web interface.