Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Crypto Price Alerts #47

Open
5 tasks done
Charvi-14 opened this issue Oct 7, 2024 · 6 comments
Open
5 tasks done

[Feature Request]: Crypto Price Alerts #47

Charvi-14 opened this issue Oct 7, 2024 · 6 comments

Comments

@Charvi-14
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

To add periodic crypto price alerts, we need to include a mechanism that checks prices at regular intervals and sends alerts based on predefined conditions. This can be done using Python’s asyncio for scheduling, combined with a recurring check for price updates. Here’s how you can update your existing code:

Steps to Integrate Periodic Alerts:

  • Add Alert Setup Commands: Allow users to set alerts by specifying a cryptocurrency, a target price, and a comparison direction (e.g., above or below a certain value).
  • Check Prices Periodically: Use asyncio tasks to check the prices at regular intervals.
  • Send Alerts: If a price meets the user's condition, send them an alert via the bot.

Use Case

Example Use Cases:

  • A trader might set an alert for Ethereum to be notified when the price dips below $1,500 so they can buy at a lower price.

  • An investor can set an alert to know when Bitcoin surpasses a certain high to decide whether to sell.

Benefits

  1. Personalization
    Custom Alerts: Users can set personalized price thresholds for specific cryptocurrencies. When the price reaches a certain value (e.g., Bitcoin crosses $30,000), the bot sends them a notification. This makes the bot more interactive, engaging, and tailored to individual needs.
  2. Convenience
    Real-Time Updates: Instead of constantly checking the app for price updates, users can rely on the bot to notify them when certain conditions are met, saving time and effort.
    Automation: Users can automate their market-watching process. Once alerts are set, the bot monitors prices in the background, ensuring that users don’t miss important price movements.
  3. Timely Decision-Making
    Actionable Alerts: By getting notified of key price changes in real time, users can make more informed decisions, whether it's buying, selling, or adjusting their investments.
    Risk Management: Alerts can be set at various thresholds to warn users of drastic drops or gains, helping them manage risk in volatile markets.
  4. Enhanced User Experience
    Continuous Engagement: Since the bot provides relevant notifications, users stay engaged with it longer. This leads to more interaction and improved retention, as they’ll frequently come back to check or adjust their alerts.
    Seamless Interaction: Users no longer need to manually check crypto prices all the time. The bot becomes a proactive tool rather than just a reactive one, providing constant value.
  5. Trust and Reliability
    Market Vigilance: Users trust the bot to act as a vigilant market watcher, ensuring they are always aware of important market changes, which can help build loyalty.

Priority

High

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC WOB24 contributor
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.
Copy link

github-actions bot commented Oct 7, 2024

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

@Charvi-14
Copy link
Author

I'm a GSSOC'24 Extd. Contributor

@Charvi-14
Copy link
Author

Hey
Please review so that i can start working on it
Thanks

@Charvi-14
Copy link
Author

Charvi-14 commented Oct 15, 2024 via email

@Charvi-14
Copy link
Author

Please review and assign

@Charvi-14
Copy link
Author

Pls review and assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant