npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cex_volume_tracker_bin

v1.0.6

Published

The module is designed to monitor trading pairs on the Binance cryptocurrency exchange. It retrieves historical candlestick data for each trading pair and calculates the mean volume over the past 24 hours.

Downloads

11

Readme

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.