Release Description:
This release introduces a new feature for monitoring cryptocurrency prices and sending customizable alerts based on user-defined thresholds. Users can now set up personalized price alerts for various cryptocurrencies and receive notifications when the price crosses the specified threshold.
Key Features:
Customizable Price Alerts:
- Users can set price thresholds for different cryptocurrencies.
- Notifications are sent when the price crosses the set threshold (above or below).
Real-time Price Monitoring:
- Integrated with CoinGecko API to fetch real-time prices.
- Monitors prices in real-time and triggers alerts promptly.
Multi-Currency Support:
- Supports multiple cryptocurrencies (e.g., Bitcoin, Ethereum).
- Users can set alerts for any supported cryptocurrency.
Notification Channels:
- Email notifications for price alerts.
- Potential integration with other notification channels (e.g., SMS, push notifications).
Implementation Details:
API Integration:
- Integrated with CoinGecko API to fetch real-time prices.
- Implemented a service to periodically check the prices of specified cryptocurrencies.
User Preferences:
- Extended the user preferences model to include price alert settings.
- Allows users to specify the cryptocurrency, price threshold, and notification preferences.
Alert Logic:
- Implemented logic to compare current prices with user-defined thresholds.
- Triggers notifications when the price crosses the threshold.
Notification Service:
- Extended the existing notification service to handle price alerts.
- Sends notifications via email or other configured channels.
User Interface:
- Updated the user interface to allow users to set and manage price alerts.
- Provided a dashboard to view active alerts and their statuses.