crypto-tracker
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Track crypto prices, set alerts, and search coins via CoinGecko API.
2installs
Added on
NPX Install
npx skill4agent add sundial-org/awesome-openclaw-skills crypto-trackerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Crypto Tracker
Track cryptocurrency prices, set price/percentage alerts, and search coins using the free CoinGecko API (no API key required).
Quick Commands
Check Prices
bash
# Single coin
uv run {baseDir}/scripts/crypto.py price bitcoin
# Multiple coins
uv run {baseDir}/scripts/crypto.py price bitcoin ethereum solana
# With more details (market cap, volume)
uv run {baseDir}/scripts/crypto.py price bitcoin --detailedSearch Coins
bash
# Find coin ID by name/symbol
uv run {baseDir}/scripts/crypto.py search doge
uv run {baseDir}/scripts/crypto.py search cardanoManage Alerts
bash
# Set price threshold alert
uv run {baseDir}/scripts/crypto.py alert <user_id> bitcoin above 100000
uv run {baseDir}/scripts/crypto.py alert <user_id> ethereum below 3000
# Set percentage change alert (24h)
uv run {baseDir}/scripts/crypto.py alert <user_id> bitcoin change 5 # ±5%
uv run {baseDir}/scripts/crypto.py alert <user_id> solana drop 10 # -10%
uv run {baseDir}/scripts/crypto.py alert <user_id> ethereum rise 15 # +15%
# List user's alerts
uv run {baseDir}/scripts/crypto.py alerts <user_id>
# Remove an alert
uv run {baseDir}/scripts/crypto.py alert-rm <alert_id>
# Check all alerts (for cron/heartbeat)
uv run {baseDir}/scripts/crypto.py check-alertsCoin Aliases
Common symbols are automatically resolved:
- → bitcoin
btc - → ethereum
eth - → solana
sol - → dogecoin
doge - → cardano
ada - → ripple
xrp - → polkadot
dot - → polygon
matic - → chainlink
link - → avalanche-2
avax - → litecoin
ltc
Alert Types
| Type | Example | Triggers When |
|---|---|---|
| | Price >= $100,000 |
| | Price <= $3,000 |
| | 24h change >= ±5% |
| | 24h change <= -10% |
| | 24h change >= +15% |
Cron Integration
Check alerts periodically (e.g., every 15 minutes):
bash
uv run {baseDir}/scripts/crypto.py check-alerts --json-outputReturns triggered alerts with user IDs for notification.
Data Storage
Alerts stored in with:
{baseDir}/data/alerts.json- Per-user alert tracking
- Cooldown between repeat notifications (default: 1 hour)
- Last triggered timestamp
Notes
- CoinGecko free tier: ~10-30 requests/minute (no API key needed)
- 15,000+ coins supported
- Use flag for machine-readable output
--json-output