This project is a simple tool for monitoring and notifying users about updates to the change-log of a specific API exchange. In its current early version, it supports monitoring the Bybit exchange's change-log and sends notifications to users via a Telegram bot.
- Monitors the change-log of the Bybit exchange.
- Sends notifications to users via Telegram.
- Easily extendable to support other exchanges and notification methods in the future. (More easily in the next versions)
Currently, the monitoring system updates only once every 24 hours. To provide more timely updates, we need to adjust the script to poll for changes at shorter intervals. So the logic behing checking updates will have to change
Before using this tool, make sure you have the following:
- Python 3.x installed on your system.
- A Telegram bot API key and user chat ID to receive notifications.
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/api-exchange-changelog.git
-
Install the required Python packages:
pip install -r requirements.txt
-
Update the config.toml
TELEGRAM_API_KEY = "your_telegram_bot_api_key" TELEGRAM_USER_ID = "your_telegram_user_chat_id"
-
Run the tool
python3 main.py
To extend this tool to support other exchanges, follow these steps:
- Create a new Python file for the exchange (e.g., myexchange.py) within the exchanges directory.
- Implement the logic for monitoring the change-log of your desired exchange in this file.
- Modify the main.py to import and use the new exchange module.