Cryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable price/volat...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install crypto或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install crypto⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/crypto/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: Crypto Market slug: crypto description: Cryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable price/volatility alerts. Use when the user needs to monitor crypto prices or set up trading alerts. Default exchange is Binance. ---
A cryptocurrency market data fetching and price monitoring tool based on the CCXT library. It supports multiple exchanges, real-time monitoring, and smart alerts.
pip3 install ccxt --user
# Default (Binance)
python3 scripts/crypto.py ticker BTC/USDT
# Use other exchanges
python3 scripts/crypto.py -e okx ticker ETH/USDT
python3 scripts/crypto.py -e bybit ticker BTC/USDT
Supported Exchanges:
binance - Binance (Default)okx - OKXbybit - Bybitgateio - Gate.iokucoin - KuCoinhuobi - Huobicoinbase - Coinbasekraken - Krakenbitfinex - Bitfinex# Get 1-hour candles, last 24 periods
python3 scripts/crypto.py ohlcv BTC/USDT --timeframe 1h --limit 24
# Get daily candles, last 30 periods
python3 scripts/crypto.py ohlcv ETH/USDT --timeframe 1d --limit 30
Timeframes:
1m - 1 minute5m - 5 minutes15m - 15 minutes1h - 1 hour4h - 4 hours1d - 1 day1w - 1 week1M - 1 monthpython3 scripts/crypto.py orderbook BTC/USDT --limit 10
# Refresh every 10 seconds (default)
python3 scripts/crypto.py watch BTC/USDT
# Refresh every 5 seconds
python3 scripts/crypto.py watch ETH/USDT --interval 5
Price Threshold Alerts:
# Alert when BTC price breaks above 70000 USDT
python3 scripts/crypto.py alert-add BTC/USDT above 70000
# Alert when ETH price drops below 3000 USDT
python3 scripts/crypto.py alert-add ETH/USDT below 3000
Percentage Change Alerts:
# Alert when BTC rises more than 5%
python3 scripts/crypto.py alert-add BTC/USDT up_percent 5
# Alert when ETH drops more than 3%
python3 scripts/crypto.py alert-add ETH/USDT down_percent 3
python3 scripts/crypto.py alert-list
Example Output:
🔔 Price Alerts (3):
ID Pair Exchange Condition Status
------------------------------------------------------------------------------------------
BTC/USDT_1706941200 BTC/USDT binance Price > 70000 ⏳Monitoring
ETH/USDT_1706941300 ETH/USDT okx Price < 3000 ⏳Monitoring
BTC/USDT_1706941400 BTC/USDT binance Rise > 5% ⏳Monitoring
# Manually check all alert conditions
python3 scripts/crypto.py alert-check
When a condition is triggered, it shows:
⚠️ Triggered 1 alert:
🚀 BTC/USDT rose by 5.23%, current price: 71234.56
Alert ID: BTC/USDT_1706941400
python3 scripts/crypto.py alert-remove BTC/USDT_1706941200
| Command | Function | Example | |------|------|------| | ticker | Real-time prices | ticker BTC/USDT | | ohlcv | Candlestick data | ohlcv BTC/USDT --timeframe 1h | | orderbook | Order book | orderbook BTC/USDT | | watch | Live monitoring | watch BTC/USDT --interval 5 | | alert-add | Add an alert | alert-add BTC/USDT above 70000 | | alert-remove | Remove an alert | alert-remove ID | | alert-list | List alerts | alert-list | | alert-check | Check alerts | alert-check |
| Argument | Short | Description | Default | |------|------|------|--------| | --exchange | -e | Exchange name | binance | | --timeframe | -t | Candlestick timeframe | 1h | | --limit | -l | Data limit (count) | 24 | | --interval | -i | Refresh interval (sec) | 10 |
| Condition | Description | Example | |------|------|------| | above | Price goes above threshold | above 70000 | | below | Price drops below threshold | below 3000 | | up_percent | Price rises by % | up_percent 5 | | down_percent | Price drops by % | down_percent 3 |
# Alert when BTC breaks previous high
python3 scripts/crypto.py alert-add BTC/USDT above 69000
# Regularly check
python3 scripts/crypto.py alert-check
# ETH drops below key support
python3 scripts/crypto.py alert-add ETH/USDT below 2800
# BTC breaks resistance
python3 scripts/crypto.py alert-add BTC/USDT above 72000
# Monitor massive volatility
python3 scripts/crypto.py alert-add BTC/USDT up_percent 8
python3 scripts/crypto.py alert-add BTC/USDT down_percent 8
# Check prices across different exchanges
python3 scripts/crypto.py -e binance ticker BTC/USDT
python3 scripts/crypto.py -e okx ticker BTC/USDT
python3 scripts/crypto.py -e bybit ticker BTC/USDT
Error: ccxt library not installed → Run: pip3 install ccxt --user
Error: Unsupported exchange → Check exchange spelling. Refer to the supported exchanges list.
Error: Trading pair does not exist → Check trading pair format, e.g., BTC/USDT, ETH/USDT.
Alert not triggering → Confirm alert conditions are correct. Run alert-check to check manually.
API Limits → Some exchanges have strict rate limits. Use --interval to adjust the refresh frequency.
Alert configurations are stored at: ~/.config/crypto/alerts.json
You can manually edit this file to batch manage your alerts.
安装 Crypto Market 后,可以对 AI 说这些话来触发它
Help me get started with Crypto Market
Explains what Crypto Market does, walks through the setup, and runs a quick demo based on your current project
Use Crypto Market to cryptocurrency market data and price alert monitoring tool based on...
Invokes Crypto Market with the right parameters and returns the result directly in the conversation
What can I do with Crypto Market in my finance & investment workflow?
Lists the top use cases for Crypto Market, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/crypto/ 目录(个人级,所有项目可用),或 .claude/skills/crypto/(项目级)。重启 AI 客户端后,用 /crypto 主动调用,或让 AI 根据上下文自动发现并使用。
Crypto Market 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Crypto Market 可免费安装使用。请查阅仓库了解许可证信息。
Cryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable price/volat...
Crypto Market 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Crypto Market
Identifies repetitive steps in your workflow and sets up Crypto Market to handle them automatically