Skip to content

Handy Freqtrade management automation for multiple exchanges. This fork adds multiple NostalgiaForIntinityX strategies and setups PM2 for processes management.

License

Notifications You must be signed in to change notification settings

Maxim-Lanskoy/FreqtradeInfinityPM2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freqtrade automation with NostalgiaForIntinityX strategy 🚀

Freqtrade CI DOI Coverage Status Documentation Maintainability

Automated scripts to set up and manage Freqtrade trading bots across multiple exchanges using PM2. This repository provides a workflow for deploying and updating Freqtrade bots on various environments including MacOS (brew), Linux (apt), and Oracle Linux (dnf).

NostalgiaForIntinityX 🌟

This project extensively uses the NostalgiaForInfinityX strategy by iterativv, a popular trading strategy for the Freqtrade crypto bot, known for its robust performance in various market conditions. The strategy is continuously updated and optimized for better results. You can learn more about this strategy and its updates directly from the repository.

Supported Exchange Marketplaces 🌐

Read the exchange specific notes to learn about configurations needed for each exchange, or if trading with leverage is needed.

Quick Start 🚀

Follow these steps to quickly set up and start using the Freqtrade management scripts:

  1. Clone the Repository 📂

    git clone [email protected]:Maxim-Lanskoy/FreqtradeInfinityPM2.git Freqtrade
    cd Freqtrade
  2. Install or Update Dependencies 🔧

    Use the setup-pm2.sh script to install or update automation-related dependencies (npm and pm2):

    ./loader/setup-pm2.sh
  3. Install Freqtrade from Scratch 💻

    ./setup.sh -i

    This works for Debian, Ubuntu, Oracle Limux or macOS. This step may take a while!

  4. Fill Exchange Related .env Files with Data 💻

    sudo nano .env.binance
    sudo nano .env.kucoin
    sudo nano .env.gateio
    sudo nano .env.mexc
    sudo nano .env.bybit

    For each exchange you plan to use, you need to fill in the respective .env file with your API keys and other necessary information.

    After that, list needed exchanges in main .env file:

    EXCHANGES=Binance,Kucoin,GateIO,MEXC,ByBit
  5. Activate Virtual Environment 🌐

    source .venv/bin/activate
  6. (Optional) Oracle Linux Fix ⚗️

    If running on Oracle Linux system, tweak pm2 service config:

    sudo nano /etc/systemd/system/pm2-opc.service

    And comment out (#) next line: PIDFile=/home/opc/.pm2/pm2.pid

  7. Start Your Bots 🚀

    Start the Freqtrade bots for each exchange using the start-pm2.sh script:

    cd loader/
    ./start-pm2.sh && pm2 stop all
  8. Update Bots and Configurations 🔄

    Run the updater.sh script to check for updates and apply them (chmod command only needed once):

    cd loader/ # If not already in loader directory
    ./updater.sh

    This script updates strategies, blacklists, and other configuration files and restarts bots if necessary.

Uninstallation 🗑️

To uninstall specific dependencies related to this repo, like Node.js, npm, and PM2, run the uninstall.sh script:

./loader/uninstall.sh

Basic Bot Usage 📘

Telegram RPC Commands

Telegram is not mandatory but provides a convenient way to control your bot. More details and the full command list can be found in the documentation.

  • /start: Starts the trader.
  • /stop: Stops the trader.
  • /profit [<n>]: Lists cumulative profit from all finished trades, over the last n days.
  • /balance: Show account balance per currency.
  • /help: Show help message.
  • /version: Show version.

Development Branches 🌿

The project is currently set up in two main branches:

  • develop: This branch is a fork from the original Freqtrade repository.
  • loader: Contains scripts for installing additional dependencies and automation scripts for the NostalgiaForInfinityX strategy.

Requirements 📋

Minimum Hardware Requirements

To run this bot, we recommend using a cloud instance or machine with the following minimum specifications:

Troubleshooting 🛠️

For troubleshooting, please refer to the installation documentation page or the NostalgiaForInfinityX strategy page.

About

Handy Freqtrade management automation for multiple exchanges. This fork adds multiple NostalgiaForIntinityX strategies and setups PM2 for processes management.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 98.1%
  • Other 1.9%