alert-system
bởi ishsharm0
DevOps & CloudTóm tắt
Smart monitoring with customizable triggers — price alerts (stocks, crypto, products), event monitoring, custom.
Mô tả
Kỹ năng này làm gì
Monitors prices, websites, and custom conditions, then sends Telegram notifications when triggers fire. Supports stocks via yfinance, crypto prices, and arbitrary event changes. Runs checks via cron for continuous background monitoring.
Combines price data, web monitoring, and notifications in one system instead of stitching together separate tools for each.
Khi nào nên dùng
- Get notified when BTC crosses a target price
- Track a product page for restocks or price drops
- Alert when a stock hits a buy or sell threshold
- Monitor a website for content changes
- Schedule recurring checks without manual intervention
Quy trình ví dụ
User asks: notify me when BTC goes above $100,000
- 1
Instantiate AlertSystem with the username
- 2
Call add_alert with type 'price', asset 'BTC', condition 'above', and threshold 100000
- 3
Run check_all to evaluate current price against the threshold
- 4
Send a Telegram notification if the condition is met
Telegram message: 'BTC alert triggered: price is above $100,000'
Yêu cầu
- Telegram bot token and chat ID for notifications
Cài đặt
clawhub install ishsharm0/alert-systemChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.