Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
/ crypto-bot Public archive

Freqtrade Bot with NostalgiaForInfinity Strategy

License

Notifications You must be signed in to change notification settings

keryc/crypto-bot

Repository files navigation

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.