To set up the project, please follow the steps below:
Create a file named .env
and set the following variables inside it:
TELEGRAM_NOTIFICATION=True
TELEGRAM_BOT_TOKEN=your_token
In the config.py
file, modify the run_data
dictionary according to your requirements. You can add, edit, or remove any exchanges as needed.
Install all the project dependencies by running the following command:
pip install -r requirements.txt
Start the server by running the following command:
python main.py
This will initiate the server and make it ready to process requests.
To create a new strategy, utilize the base class provided in the strategies
folder. You can create your own strategy by extending this base class and implementing the necessary methods. Refer to the SampleStrategy.py
file for a reference implementation.
Note: Whenever the bot enters or exits a trade, you will receive a notification on Telegram.
Contributions to the project are highly appreciated. Feel free to contribute and improve the codebase.
Thank you for using this project!