So now that we know how to launch an EC2 instance from an Amazon EC2 AMI with batched gekko/gekkoga app/conf deployment, we want to learn how to use it on better CPU-sized machine, at a good price (Amazon EC2 Spot feature), so that we can -basically- bruteforce all possible parameters and inputs of a given trading strategy, using Gekkoga’s genetic algorithm.
The … Read more ...
Note (18/02/2019): this is an updated version of the initial post about automating the launch of an Amazon EC2 Instance.
We tried Gekkoga’s backtesting and noticed it is a CPU drainer. I never used Amazon EC2 and its ability to quickly deploy servers, but I was curious to test, as it could make a perfect fit for our needs: on-demand renting of high capacity … Read more ...
Note (18/02/2019): a simpler deployment process is under active redaction.
We tried Gekkoga’s backtesting and noticed it is a CPU drainer. I never used Amazon EC2 and its ability to quickly deploy servers, but I was curious to test, as it could make a perfect fit for our needs: on-demand renting of high capacity servers, by using Amazon’s “Spot instance” feature. Beware, on EC2 … Read more ...
We saw in previous posts how to install gekko, use it, and customize our first strategy.
But, as we figured out, every strategy, shall it be your own custom one or any Strat you will find on Internet with excellent backtests results showed by its creator, also needs to be tweaked, for a specific market, currency, asset, and it means we need … Read more ...
Now that we’ve briefly seen how to install gekko and how to use its main functionalities, we will try to customize a first strategy.
As a first step, you need to review Gekko’s excellent standard documentation:
Introduction to strategiesCreating a strategyGekko indicators
I won’t explain here all the functions used, since it is explained in the standard documentation, and you have links … Read more ...
Now that we installed Gekko, we need to feed it with data, and make it useful. Please, keep in mind that a trading bot is in NO WAY an insurance to earn money, as it will depend on the logic of your strategy, and on the markets (currency & asset) you will use.
We will follow 4 simple steps :
- Feeding your local Gekko
… Read more ...
Gekko installation (Linux)
Installing gekko is quite simple, everything is described on its homepage, thanks to Mike von Rossum, Gekko’s creator & maintainer.
On a standard Linux distro (I use a small Debian VM on an Intel NUC running vSphere acting as a personal server at home):
sudo apt-get install nodejs
sudo apt-get install git
Install Pm2 (not mandatory but … Read more ...