yishan

Crypto Market

資料分析v1.0.6
作者:yishan更新於 2026-05-11共 4 個版本 · 最新版本釋出於 2026-03-18crypto@clawhub_alphafactor/crypto
資料洞察指標監控#Crypto#Cryptocurrency#Trading

據 AlphaMoat 統計,截至 2026-09,Crypto Market 累計下載 4,908 次、獲 17 個星標,在全部 5,078 個 AI 技能中排名第 1,892 位,在「資料分析」分類(399 個)中排名第 150 位。

累計安裝
193
累計下載
4908
星標
17
全站排名
#1,892
全站前 38% · 「資料分析」前 38%
平台累計安裝累計下載星標評論
ClawHub ↗142483917-
SkillHub ↗193490817—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

透過CCXT取得價格、K線與委託簿。發布說明指出預設交易所有差異,應明確指定交易所;審核固定相依套件並遵守API流量限制。警示儲存在本機,公開行情流程不要填入真實API key,金融使用前需核驗資料。

資料釋出於 2026-10-27

可以用來做什麼

  • 公開加密貨幣行情查詢

什麼時候用

  • 需要公開加密貨幣行情查詢時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

不使用帳號憑證,查詢指定交易所的BTC/USDT行情。

月度資料趨勢

累計下載4908
2581383150802026-03 · 累計下載 27532026-05 · 累計下載 38132026-06 · 累計下載 40972026-07 · 累計下載 44622026-08 · 累計下載 46532026-09 · 累計下載 490826-0326-09
星標17
1617172026-03 · 星標 162026-05 · 星標 172026-06 · 星標 172026-07 · 星標 172026-08 · 星標 172026-09 · 星標 1726-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094908—17
2026-084653+4.3%17
2026-074462+8.9%17
2026-064097+7.4%17
2026-053813—17
2026-032753—16

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

6.4 KB · ClawHub v1.0.6
---
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.
---

# Cryptocurrency Market & Price Alerts

A cryptocurrency market data fetching and price monitoring tool based on the CCXT library. It supports multiple exchanges, real-time monitoring, and smart alerts.
展開全部(共 240 行)
## Features

- 🏢 **Multi-Exchange Support** - Defaults to Binance. Also supports OKX, Bybit, Gate.io, KuCoin, etc.
- 📊 **Real-time Market Data** - Get the latest prices, price changes, volumes, and more.
- 📈 **OHLCV Data (Candlesticks)** - Fetch historical price trends.
- 📖 **Order Book** - View market depth (bids and asks).
- 🔔 **Price Alerts** - Supports price thresholds and percentage change alerts.
- 👁️ **Live Monitoring** - Continuously monitor price movements.

## Prerequisites

### Install Dependencies

```bash
pip3 install ccxt --user
```

## Usage

### Check Real-Time Prices

```bash
# 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` - OKX
- `bybit` - Bybit
- `gateio` - Gate.io
- `kucoin` - KuCoin
- `huobi` - Huobi
- `coinbase` - Coinbase
- `kraken` - Kraken
- `bitfinex` - Bitfinex

### Get OHLCV (Candlestick) Data

```bash
# 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 minute
- `5m` - 5 minutes
- `15m` - 15 minutes
- `1h` - 1 hour
- `4h` - 4 hours
- `1d` - 1 day
- `1w` - 1 week
- `1M` - 1 month

### View Order Book

```bash
python3 scripts/crypto.py orderbook BTC/USDT --limit 10
```

### Live Price Monitoring

```bash
# 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 Alerts

### Add Alerts

**Price Threshold Alerts:**
```bash
# 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:**
```bash
# 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
```

### View Alert List

```bash
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
```

### Check Alerts

```bash
# 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
```

### Remove Alerts

```bash
python3 scripts/crypto.py alert-remove BTC/USDT_1706941200
```

## Command Reference

| 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` |

### Global Arguments

| 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` |

## Alert Conditions

| 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` |

## Use Cases

### Scenario 1: Tracking specific price targets
```bash
# Alert when BTC breaks previous high
python3 scripts/crypto.py alert-add BTC/USDT above 69000

# Regularly check
python3 scripts/crypto.py alert-check
```

### Scenario 2: Monitoring support/resistance levels
```bash
# 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
```

### Scenario 3: Volatility monitoring
```bash
# 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
```

### Scenario 4: Cross-exchange price comparison
```bash
# 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
```

## Troubleshooting

**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.

## Configuration File

Alert configurations are stored at: `~/.config/crypto/alerts.json`

You can manually edit this file to batch manage your alerts.

## References

- CCXT Documentation: https://docs.ccxt.com/
- Supported Exchanges List: [references/exchanges.md](references/exchanges.md)

「資料分析」分類下的熱門技能

AdMapix資料分析

AdMapix 的取數層:把廣告與應用相關的查詢轉成介面呼叫,只回原始 JSON。

↓ 36.6萬★ 304fly0pants
Tavily Search資料分析

透過 Tavily 搜尋公開網頁,並回傳含連結與摘要的結構化結果。

↓ 12.2萬★ 286Xiaoran Li
Data Analysis資料分析

把資料庫、表格與匯出的原始資料變成可決策結論的資料分析技能。

↓ 10.1萬★ 244Iván
Stock Analysis資料分析

用 Yahoo Finance 資料做股票與加密貨幣分析、組合跟蹤的技能。

↓ 7.5萬★ 299udiedrichsen
Stock Watcher資料分析

管理本地自選股清單,並按代碼彙總同花順行情與近期表現的技能。

↓ 6.5萬★ 122Robin797860
全國招標中標查詢及分析【知了標訊】資料分析

全網招中標資料查詢與分析助手。當用戶涉及以下任何場景時,必須使用此SKILL:查詢招標/中標公告、搜尋標訊、查詢臨期/即將到期專案、商機預測、推薦潛在投標供應商、分析公司主營業務/歷史中標、查詢公司上下游合作客戶與供應商、分析競爭對手/競對企業、查詢Top採購單位/Top中標單位/Top中標品牌、招中標資料統計分析(按月/季/年/省份/品牌等維度)、查詢品牌型號歷史中標單價/價格趨勢、市場分析/行業分析/採購尋源/渠道拓展等採購與投標相關場景。即使使用者沒有提到「知了標訊」,只要涉及招投標、採購、中標、供應商、競爭對手等關鍵詞,都應使用本SKILL。

↓ 5.6萬★ 13user_98035bfb
Blogwatcher資料分析

用命令列監控部落格與 RSS/Atom 源的更新。

↓ 5.4萬★ 75Peter Steinberger
Model Usage資料分析

彙總 Codex 或 Claude 按模型計費的使用成本。

↓ 5萬★ 114Peter Steinberger

yishan 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。