mirror of
https://github.com/hanzoskill/crypto-price.git
synced 2026-10-30 21:01:10 +00:00
1.3 KiB
1.3 KiB
Quick Start Guide
Installation
# Install via Skills (recommended)
skills install evgyur/crypto-price
# Or clone manually
cd ~/.bot/workspace/skills
git clone https://github.com/evgyur/crypto-price.git
pip install -r crypto-price/requirements.txt
Usage Examples
Get Bitcoin price and 24h chart
python3 scripts/get_price_chart.py BTC
Get Ethereum price and 12h chart
python3 scripts/get_price_chart.py ETH 12h
Get HYPE token price and 3h chart
python3 scripts/get_price_chart.py HYPE 3h
Output
The script returns JSON with price data and chart path:
{
"symbol": "BTC",
"price": 89946.00,
"change_period_percent": -0.06,
"chart_path": "/tmp/crypto_chart_BTC_1769142011.png",
"text_plain": "BTC: $89946.00 USD (-0.06% over 24h)"
}
Supported Timeframes
30m- 30 minutes3h- 3 hours12h- 12 hours24h- 24 hours (default)2d- 2 days
Troubleshooting
Script not found?
- Ensure skill is installed in your Bot workspace
- Check path:
~/.bot/workspace/skills/crypto-price/
Missing matplotlib?
pip install matplotlib
API errors?
- Check internet connection
- CoinGecko API is free but has rate limits
- Hyperliquid API may be temporarily unavailable