Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ph3nol/trading-bot

Automated Trading Bot based on managed instances of Freqtrade, fully Dockerized.
https://github.com/ph3nol/trading-bot

altcoins automated automation binance cryptocurrencies cryptocurrency docker freqtrade trading trading-bot trading-platform trading-strategies trading-systems

Last synced: about 2 months ago
JSON representation

Automated Trading Bot based on managed instances of Freqtrade, fully Dockerized.

Awesome Lists containing this project

README

        

# Cryptocurrencies Trading Bot - Freqtrade Manager

This automated Trading Bot is based on the amazing [Freqtrade](https://www.freqtrade.io/en/latest/) one.
It allows you to manage many Freqtrade fully Dockerized instances with ease.
Each generated instance is accompagnated by its Freqtrade UI, automatically plugged to.

## Features

* **Fast & easy deploy** 🚀
* 1-line installation
* Unlimited instances configurations from 1 only YAML file
* API endpoint and Freqtrade UI ports auto-generation and management
* Many more is coming!

### Integrated Behaviours

* Regular automatic Pairlist (StaticPairlist) generation from [TradingView Screener Crypto](https://fr.tradingview.com/crypto-screener)

## Requirements

* [Docker](https://www.docker.com/) #CaptainObvious

## Installation

### Look how it's easy to install! 🤩

[![asciicast](https://asciinema.org/a/74Fg9hEfNvjZR4DIc1VsgwWPi.svg)](https://asciinema.org/a/74Fg9hEfNvjZR4DIc1VsgwWPi)

### Your turn! Install it! 🙌

Just 1 line to install your Trading Bot:

```
curl -sSL https://raw.githubusercontent.com/Ph3nol/Trading-Bot/master/install | sh
```

You now can access `bot` command.

Now, init a configuration, based on [demo one](https://github.com/Ph3nol/Trading-Bot-Config):

```
mkdir ~/trading-bot-config && cd ~/trading-bot-config
git clone https://github.com/Ph3nol/Trading-Bot-Config .
```

Congrats! 👏 You can now configure your `manager.yaml` file and run your first `bot status` command! 🚀🔥

### Crontab entry

A crontab entry is to add, in order to run periodic tasks needed by your instances and their behaviours.
To obtain this line and add it to your crontabs (`crontab -e`), just run this command:

```
bot cron --crontab
```

## Some screenshots

## Usage

Just use `./bot` from your Freqtrade Manager directory.

### Commands

From your config directory:

```
bot
bot status
bot trade
bot stop
bot reset

bot backtest --days 10
bot backtest --days= --no-download --plotting

bot cron # To manually execute the cron
bot cron --crontab # To show crontab line to add
```

For more options informations, add `--help` to the base commands.

## Update

To update the Bot and its Docker images, just re-run install command:

```
curl -sSL https://raw.githubusercontent.com/Ph3nol/Trading-Bot/master/install | sh
```

---

## Thanks

![Thanks](https://media.giphy.com/media/PoImMjCPa8QaiBWJd0/giphy.gif)

You want to support this project?
You are using this project and you want to contribute?
Feeling generous?

* **BTC** -> `1MksZdEXqFwqNhEiPT5sLhgWijuCH42r9c`
* **ETH/USDT/..**. (or other ERC20 loving crypto) -> `0x3167ddc7a6b47a0af1ce5270e067a70b997fd313`
* Register to [Binance](https://www.binance.com/fr/register?ref=69525434) following this [sponsored link](https://www.binance.com/fr/register?ref=69525434)

---

## Development

![Development](https://media.giphy.com/media/fQZX2aoRC1Tqw/giphy.gif)

### Execute as a PHP project

```
mkdir ~/trading-bot-dev
cd ~/trading-bot-dev && git clone https://github.com/Ph3nol/trading-bot.git .
ln -s $PWD/bot /usr/local/bin/trading-bot-dev
```

You can now go to your config directory, and use `trading-bot-dev` command instead of the production `bot` one.

### Build reference Docker images

```
docker pull freqtradeorg/freqtrade:stable && \
docker build --file ./docker/freqtrade/Dockerfile --tag ph3nol/freqtrade:latest --no-cache .
docker build --file ./docker/freqtrade-ui/Dockerfile --tag ph3nol/freqtrade-ui:latest --no-cache .
```