keryc / crypto-bot

Freqtrade Bot with NostalgiaForInfinity Strategy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Bot

Freqtrade Crypto Bot with NostalgiaForInfinity Strategy.
The strategy is constantly updated from a Github Action.

Getting Started

If not already done, install Docker and Docker Compose

Clone repository

git clone https://github.com/kerycdiaz/crypto-bot.git && cd crypto-bot

Generate the private configuration file

cp templates/config.private.json.template user_data/config.private.json

Start Crypto Bot. (By default the mode is enabled Dry-Run)

docker-compose up -d

To access FreqUI go to http://localhost:8080/ and register a new bot with the username and password that indicates the config.private.json (You can change it at any time). In the same file you can activate telegram notifications, configure the exchange credentials and disable dry-run mode.

Automatically Update Crypto Bot

cp templates/update-crypto-bot.sh.template scripts/update-crypto-bot.sh
cd ${HOME}/crypto-bot/scripts
# In update-crypto-bot.sh, add TG_TOKEN, TG_CHAT_ID and confirm the CRYPTO_BOT_PATH (Path where you cloned your project)
chmod -x active-crontab.sh && ./active-crontab.sh

Backtesting

If not already done, install Make: sudo apt install make
Note: All parameters are optional, I could see their default value in the Makefile

Download the pairs you need to perform backtesting

make download-data EXCHANGE=binance TIMERANGE=20220101-20220201 TIMEFRAME='5m'

Know the downloaded pairs and their temporality

make list-data EXCHANGE=binance

Running backtesting for a defined strategy

make backtesting EXCHANGE=binance STRATEGY=SampleStrategy TIMERANGE=20220101-20220201 TIMEFRAME='5m'

If you want to backtest the NostalgiaForInfinityX strategy you must download the data for '5m 15m 1h 1d'


Disclaimer

This is a personal experimentation software. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.


Credits

Created by Keryc Díaz, NostalgiaForInfinity maintained by Iterativ.

About

Freqtrade Bot with NostalgiaForInfinity Strategy

License:GNU General Public License v3.0


Languages

Language:Python 99.0%Language:Jupyter Notebook 0.8%Language:Makefile 0.1%Language:Shell 0.1%