cex_volume_tracker_bin

1.0.6 • Public • Published

Binance Volume Tracker

Description:

The Binance Volume Tracker is a Python script designed to monitor trading pairs on the Binance cryptocurrency exchange. It retrieves historical candlestick data for each trading pair, calculates the mean volume over the past 24 hours, and sends Telegram alerts if the current volume exceeds certain thresholds relative to the mean volume. This tool can help users identify significant volume spikes in cryptocurrency trading pairs.

Features:

  • Retrieves historical candlestick data for each trading pair from Binance.
  • Calculates the mean volume over the past 24 hours.
  • Sends Telegram alerts if the current volume exceeds certain thresholds.
  • Customizable alert levels for different volume spike percentages.
  • Includes links to TradingView charts for each trading pair.

Installation:

1. Clone the repository:

git clone https://github.com/your_username/your_project.git

2. Navigate to the project directory:

cd your_project

3. Install the required dependencies:

pip install -r requirements.txt

4. Obtain API credentials:

You will need API credentials from Binance for accessing the Binance API. Additionally, you will need a Telegram bot token and chat ID for sending alerts via Telegram.

5. Create a credentials_b.json file in the project directory and add your Binance API key and secret:

{
    "Binance_api_key": "YOUR_BINANCE_API_KEY",
    "Binance_secret_key": "YOUR_BINANCE_SECRET_KEY"
}

6. Update the bot_token and chat_id variables in the script with your Telegram bot token and chat ID.

Usage:

Run the script:

python binance_volume_monitor.py

The script will start monitoring trading pairs on Binance. It will retrieve historical volume data, calculate the mean volume over the past 24 hours, and send Telegram alerts if the current volume exceeds certain thresholds.

The alerts will include information about the trading pair, current volume, mean volume over the past 24 hours, and a link to the TradingView chart for the trading pair.

Contributing

Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

Support

For issues, questions, or contributions, please open an issue in the GitHub repository.

Feedback and contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Package Sidebar

Install

npm i cex_volume_tracker_bin

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

11.6 kB

Total Files

8

Last publish

Collaborators

  • sokinjo