← 返回 Skills 市场
erongcao

Crypto Analyst

作者 Yirong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install erong-crypto-analyst
功能描述
加密货币综合分析工具,整合OKX、Binance双交易所数据。提供行情查询、技术分析、交易信号、资金流向、仓位管理、DCA计划、风险计算。触发词:分析BTC、行情查询、交易信号、仓位计算、DCA计划、巨鲸追踪、风险评估。
使用说明 (SKILL.md)

Crypto Analyst v1.0

加密货币综合分析,统一调用 OKX、Binance、AKShare 三大数据源。

工作流

价格查询 → 技术分析 → 资金流向 → 策略建议 → 仓位管理

工具速查

需求 工具 数据源
OKX技术分析/信号 okx_analyst.py OKX API
Binance实时行情 binance_market.py Binance公开API
Binance技术分析 technical_analysis.py Binance公开API
双交易所价格对比 cross_exchange.py OKX + Binance
巨鲸追踪 whale_tracker.py Binance
DCA定投计划 dca_calculator.py 本地计算
仓位计算 position_sizer.py 本地计算
市场机会扫描 market_scanner.py Binance
恐惧&贪婪 fear_greed.py alternative.me
加密货币余额 balance_check.py OKX API(需要Key)

快速命令

日常行情分析

# OKX技术分析(完整报告)
python3 scripts/okx_analyst.py BTC-USDT

# OKX快速信号
python3 scripts/okx_analyst.py BTC-USDT --signal-only

# Binance实时价格
python3 scripts/binance_market.py --symbol BTCUSDT

# Binance技术分析
python3 scripts/technical_analysis.py --symbol BTCUSDT --interval 1h

进阶分析

# 跨交易所价格对比(发现价差套利机会)
python3 scripts/cross_exchange.py BTC

# 巨鲸追踪
python3 scripts/whale_tracker.py --symbol BTCUSDT

# 市场机会扫描(Binance热门币种)
python3 scripts/market_scanner.py --gainers --limit 10

# 恐惧&贪婪指数
python3 scripts/fear_greed.py

策略工具

# DCA定投计划
python3 scripts/dca_calculator.py --total 5000 --frequency weekly --duration 180 --current-price 70000

# 仓位计算(2%风控)
python3 scripts/position_sizer.py --balance 10000 --risk 2 --entry 70000 --stop-loss 67000

标准分析流程

当用户说"分析BTC"或"帮我看看行情"时:

Step 1 - 价格 & 趋势

# OKX 4H周期完整分析
python3 scripts/okx_analyst.py BTC-USDT --timeframe 4H

# Binance 1H作为辅助确认
python3 scripts/binance_market.py --symbol BTCUSDT --klines 1h --limit 50

Step 2 - 资金面

# 巨鲸动向
python3 scripts/whale_tracker.py --symbol BTCUSDT

# 交易所资金费率(判断多空情绪)
python3 scripts/binance_market.py --symbol BTCUSDT --funding

Step 3 - 市场情绪

# 恐惧&贪婪
python3 scripts/fear_greed.py

Step 4 - 策略输出 综合以上给出:

  1. 当前信号(看涨/看跌/中性)
  2. 关键支撑/阻力位
  3. 入场区间
  4. 止损/止盈建议
  5. 仓位大小(风控)
  6. 风险提示

信号强度说明

强度 信号 建议
+8以上 🟢 强烈看涨 积极做多
+5~+7 🟡 温和看涨 轻仓试多
+2~+4 🔵 轻微看涨 观望
-1~+1 ⚪ 中性 不操作
-2~-4 🟠 轻微看跌 轻仓试空
-5以下 🔴 强烈看跌 不做多

跨交易所对比

使用 cross_exchange.py 检测 OKX vs Binance 价差,超过0.1%提示套利机会。

风险控制规则

  1. 单笔交易风险 ≤ 账户2%
  2. 总持仓 ≤ 账户50%
  3. 永远带止损
  4. 恐惧&贪婪指数 ≥ 75(极度贪婪)时不做多
  5. 巨鲸卖出信号 + RSI超买 → 谨慎

配置文件

OKX API Key 配置在 .env

OKX_API_KEY=your-key
OKX_API_SECRET=your-secret

依赖

pip install requests pandas numpy python-dotenv akshare
安全使用建议
This skill looks like a real crypto analysis toolkit, but there are inconsistencies you should resolve before installing or running it: - The SKILL.md and code expect OKX API credentials stored in a local .env (OKX_API_KEY, OKX_API_SECRET, optional PASSPHRASE), yet the registry metadata declares no required environment variables. Treat this as a red flag: the skill will use secrets even though that isn't advertised. - If you plan to run scripts that access your exchange account (balance_check.py or okx_analyst.py), create API keys with the minimum permissions needed (read-only) and restrict IP/permissions where possible. Do not use your full-trade keys unless you understand and trust the code. - Review the code yourself (or have someone you trust do so). The network calls are to public exchange APIs and alternative.me; an additional news endpoint (api.ns3.ai) is used—verify that source and its privacy policy before allowing it to be contacted from a machine holding secrets. - Run the code in an isolated environment (container or VM) and avoid placing high-privilege secrets in your primary environment. Consider populating .env only when necessary, and delete or rotate keys after testing. - Confirm the package owner and provenance (ownerId mismatch in metadata) before trusting it with credentials. If you cannot verify the author, avoid giving this skill live credentials.
功能分析
Type: OpenClaw Skill Name: erong-crypto-analyst Version: 1.0.0 The skill bundle provides a comprehensive suite of cryptocurrency analysis tools, but it contains high-risk execution patterns in 'scripts/okx_analyst.py'. This file uses 'subprocess.run' to execute external scripts ('news.js' and 'wire_news.py') via hardcoded absolute paths pointing to a specific user's home directory ('/Users/yirongcao/...'). This behavior is highly suspicious as it attempts to execute code outside the skill's own bundle, which is a significant security vulnerability and suggests improper packaging or potential environment-specific exploitation, although clear malicious intent like data exfiltration is not explicitly present.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
Name/description (crypto analysis for OKX and Binance) matches the included scripts (market data, technical analysis, DCA, position sizing, whale tracking). However registry metadata declares no required environment variables or primary credential, while multiple scripts (balance_check.py, okx_analyst.py) explicitly load OKX API key/secret/passphrase from a .env file and will attempt authenticated OKX calls. Also _meta.json ownerId differs from the provided registry Owner ID, an administrative inconsistency to verify.
Instruction Scope
SKILL.md instructs running many scripts, including ones that call authenticated OKX endpoints (balance_check, okx_analyst) and public APIs (Binance, alternative.me). The instructions expect a local .env with OKX credentials. The runtime instructions do not ask for any unrelated file or system access beyond the .env, but the SKILL.md fails to declare that those credentials are required in metadata.
Install Mechanism
No install spec is provided (instruction-only), which minimizes installation-time risk. The bundle nevertheless includes 10+ Python scripts and lists pip dependencies (requests, pandas, numpy, python-dotenv, akshare). There are no remote download/execute steps or URL shorteners in the code; dependencies are standard PyPI packages.
Credentials
Although registry metadata lists no required env vars/credentials, multiple scripts load OKX API credentials from a .env and/or environment variables (OKX_API_KEY, OKX_API_SECRET, OKX_API_PASSPHRASE). That mismatch is material: the skill will attempt to use secrets but did not declare them. No other broad unrelated credentials are requested, but an unknown news API endpoint (https://api.ns3.ai/feed) is used for news—confirm its trustworthiness.
Persistence & Privilege
The skill does not request permanent 'always' inclusion and does not modify other skills or system-wide configuration. It runs as scripts and reads a local .env; nothing indicates it writes to global agent configs or requires elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install erong-crypto-analyst
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /erong-crypto-analyst 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Crypto Analyst v1.0 发布:多交易所整合的加密货币分析工具 - 支持 OKX、Binance、AKShare 三大数据源统一分析。 - 实现行情查询、技术分析、跨交易所价格对比、巨鲸追踪等多种分析功能。 - 提供 DCA 定投、仓位计算等策略与风险管理工具。 - 快捷命令覆盖日常与进阶分析需求。 - 标准工作流涵盖价格、趋势、资金面和情绪的综合分析。 - 明确量化的信号强度解释与风险控制规则。
元数据
Slug erong-crypto-analyst
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Crypto Analyst 是什么?

加密货币综合分析工具,整合OKX、Binance双交易所数据。提供行情查询、技术分析、交易信号、资金流向、仓位管理、DCA计划、风险计算。触发词:分析BTC、行情查询、交易信号、仓位计算、DCA计划、巨鲸追踪、风险评估。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 Crypto Analyst?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install erong-crypto-analyst」即可一键安装,无需额外配置。

Crypto Analyst 是免费的吗?

是的,Crypto Analyst 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Crypto Analyst 支持哪些平台?

Crypto Analyst 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Crypto Analyst?

由 Yirong(@erongcao)开发并维护,当前版本 v1.0.0。

💬 留言讨论