π¦ ClawHub
BTC Price Monitor
by @jesusreb
Fetches the current Bitcoin price from CoinGecko and sends it to Telegram, with optional alerts if price falls below a set threshold.
TERMINAL
clawhub install btc-price-monitorπ About This Skill
BTC Price Monitor
Description
Fetches current Bitcoin price from CoinGecko and sends it to Telegram. Can also trigger alerts when price drops below a threshold.When to use
Setup
Required environment variables
TELEGRAM_BOT_TOKEN: Your Telegram bot token from @BotFatherTELEGRAM_CHAT_ID: Your Telegram chat ID (can get from @userinfobot)Optional environment variables
PRICE_THRESHOLD_USD: Set alert threshold (default: 50000). If price drops below this, an alert is added.Usage
Basic usage
``bash
python scripts/main.pySupport
USDT (TRC20):
TUqLWTyYJMHmp56eEoJdeaFG1PurEvxwkV
USDT (BEP20): 0x5a03c0113fddce00fa7953b56541a16cab9a2800
BTC: 1E3pUfky8iKjQ7Ju5TvkMRPFkw6hzRMPc2
BNB (BSC): 0x5a03c0113fddce00fa7953b56541a16cab9a2800`β‘ When to Use
π‘ Examples
Basic usage
```bash python scripts/main.pyβοΈ Configuration
Required environment variables
TELEGRAM_BOT_TOKEN: Your Telegram bot token from @BotFatherTELEGRAM_CHAT_ID: Your Telegram chat ID (can get from @userinfobot)Optional environment variables
PRICE_THRESHOLD_USD: Set alert threshold (default: 50000). If price drops below this, an alert is added.