← Back to Skills Marketplace
gold3bear

加密货币雷达

by Bear Xiong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install crypto-radar
Description
数字货币行情监控工具。当用户询问「比特币」「以太坊」「BTC」「ETH」「数字货币行情」「加密货币」「Crypto」「比特币价格」「以太坊价格」时使用。使用 Yahoo Finance(实时价格)和 CoinGecko(市值/交易量)双数据源。
README (SKILL.md)

数字货币雷达 (Crypto Radar)

覆盖品种

币种 代码 类型
比特币 BTC 加密货币之王
以太坊 ETH 智能合约平台
Solana SOL 高性能公链
币安币 BNB 交易所平台币
XRP XRP Ripple 跨境支付
狗狗币 DOGE Meme 币
艾达币 ADA 卡尔达诺

数据获取

Yahoo Finance(实时价格)

import requests

def get_crypto_price(symbol):
    url = f"https://query2.finance.yahoo.com/v8/finance/chart/{symbol}-USD?interval=1d&range=1d"
    headers = {"User-Agent": "Mozilla/5.0"}
    r = requests.get(url, headers=headers, timeout=10)
    meta = r.json()["chart"]["result"][0]["meta"]
    price = meta["regularMarketPrice"]
    prev = meta["chartPreviousClose"]
    chg = price - prev
    pct = chg / prev * 100
    return {"price": price, "chg": chg, "pct": pct}

CoinGecko(市值 + 24h 交易量)

import requests

def get_crypto_markets():
    ids = "bitcoin,ethereum,solana,binancecoin,ripple,cardano,dogecoin"
    url = f"https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids={ids}&order=market_cap_desc&per_page=10&sparkline=false&price_change_percentage=24h"
    r = requests.get(url, headers={"User-Agent": "Mozilla/5.0"}, timeout=10)
    return r.json()
    # 返回: price, market_cap, total_volume, price_change_percentage_24h

情报解读框架

指标 信号
BTC 市占率 > 55% 避险情绪,主流资金抱团
BTC 市占率 \x3C 45% Alt Season(山寨季)
ETH/BTC 比值 \x3C 0.030 ETH 相对 BTC 弱势
ETH/BTC 比值 > 0.050 ETH 强势,可能有 Alt Season
山寨币涨幅 > BTC 3倍 资金外溢,风险偏好上升
全市场市值 vs BTC 判断整体趋势方向

关键比值:

  • ETH/BTC ratio:以太坊相对比特币强弱
  • BTC Dominance:比特币市值占全市场比例
  • 山寨季指数:全市场 vs BTC 的涨跌对比

分析顺序:

  1. BTC 价格 + 市占率(方向)
  2. ETH 价格 + ETH/BTC 比值(Alt 风向标)
  3. 主流山寨(SOL/XRP/DOGE)— 情绪扩散
  4. 全市场市值变化(判断趋势是否延续)

快速查询命令

cd C:\Users\gold3\.openclaw\workspace\skills\crypto-radar\scripts

# 查询全部加密货币行情
python crypto_spot.py
Usage Guidance
This skill is internally consistent with its stated purpose: it fetches public crypto data from Yahoo Finance and CoinGecko and prints analysis. Before installing, consider: 1) the skill makes outbound network calls to those public APIs (ensure that's acceptable in your environment and be aware of rate limits); 2) the SKILL.md contains a developer-specific example path (C:\Users\gold3\...)—ignore or adjust that when running; 3) review the included script if you need to restrict which symbols are queried or to add timeouts/logging; and 4) since it can be invoked autonomously (normal default), ensure you’re comfortable with the agent making these harmless network requests on your behalf.
Capability Analysis
Type: OpenClaw Skill Name: crypto-radar Version: 1.0.0 The skill bundle is a cryptocurrency monitoring tool that fetches market data from Yahoo Finance and CoinGecko. The Python script `scripts/crypto_spot.py` and the instructions in `SKILL.md` are consistent with the stated purpose and do not exhibit any signs of data exfiltration, malicious execution, or prompt injection. A hardcoded local path in the documentation (C:\Users\gold3\...) appears to be a non-malicious developer artifact.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
Name/description promise (crypto market monitoring using Yahoo Finance + CoinGecko) matches the included Python script and SKILL.md. The script only calls the two described public APIs and computes basic ratios; no unrelated services or credentials are requested.
Instruction Scope
SKILL.md and the script stay within the monitoring/analysis scope and only perform network requests to Yahoo Finance and CoinGecko and print results. Minor note: the SKILL.md quick-run example uses a hard-coded user workspace path (C:\Users\gold3\...), which is a developer-specific example and not required for operation—this could confuse users but is not a security issue. The instructions do not ask the agent to read other files, env vars, or send data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only with a small Python script). Nothing is downloaded or installed by the skill itself; it relies on standard Python and the requests library being available.
Credentials
The skill requires no environment variables or credentials and uses public REST endpoints with no API keys. No broad or unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify other skills/configs. disable-model-invocation is false (normal), allowing autonomous invocation which is expected for skills; this does not combine with other red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crypto-radar
  3. After installation, invoke the skill by name or use /crypto-radar
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首发:BTC/ETH/SOL等10+币种、DXY/VIX宏观背景
Metadata
Slug crypto-radar
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 加密货币雷达?

数字货币行情监控工具。当用户询问「比特币」「以太坊」「BTC」「ETH」「数字货币行情」「加密货币」「Crypto」「比特币价格」「以太坊价格」时使用。使用 Yahoo Finance(实时价格)和 CoinGecko(市值/交易量)双数据源。 It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install 加密货币雷达?

Run "/install crypto-radar" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 加密货币雷达 free?

Yes, 加密货币雷达 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 加密货币雷达 support?

加密货币雷达 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 加密货币雷达?

It is built and maintained by Bear Xiong (@gold3bear); the current version is v1.0.0.

💬 Comments