-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
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
- 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. - 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. - 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. - 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. - 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels