The bot is tested on Ubuntu only.
- Clone this repository to your local machine and go inside backend/ dir.
- Make sure you have MySQL installed on your system.
- Update the
config.ymlfile.
- Create a virtual environment:
python3 -m venv venv - Activate the virtual environment:
source venv/bin/activate - Install required packages:
pip install -r requirements.txt
- Run
python db_manager.pyonce to set up the database.
- To run a Telegram bot so you could check multiple scripts status (Tmux session 0):
python telegram_bot.py - To run a script that will constantly get top traders and their positions (Tmux session 1):
python rapidapi.py - To run a trading bot for top daily traders and x1 instance (Tmux session 2):
python leaderboad.py top_daily x1 - To run a trading bot for top X traders and Y instance (Tmux session Z):
python leaderboad.py X Y(where X: top_daily/top_weekly/top_monthly and Y: x1/x2/x3)
- To be updated.