← 返回 Skills 市场
Crypto Market Analysis
作者
Tradingbase.AI
· GitHub ↗
· v1.0.1
· MIT-0
372
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install crypto-market-analysis
功能描述
此技能由Tradingbase团队开发,旨在提供全面的加密货币市场分析技能。从币安获取所有币种的实时行情数据,计算多种技术指标(MACD, KDJ, RSI, CCI, BOLL, WR, PSY, BRAR, DMI),并利用用户连接的LLM进行市场分析。支持短期(默认1小时K线)和中长期(默认1天K线)分析,...
使用说明 (SKILL.md)
加密货币市场分析技能
本技能旨在为用户提供全面的加密货币市场分析能力。
功能特性
- 行情数据获取: 从币安交易所获取所有支持币种的实时行情数据。
- 技术指标计算: 自动计算以下技术指标:
- MACD (12,26,9,close)
- KDJ (14,3,3)
- RSI (close,6,12,24)
- CCI (20)
- BOLL (20,2,close)
- WR (9)
- PSY (12,6)
- BRAR (26)
- DMI (14,6)
- 灵活的时间周期:
- 短期分析: 默认使用1小时K线数据。
- 中长期分析: 默认使用1天K线数据。
- 用户可以在分析时选择自定义时间周期。
- LLM 市场分析: 将行情数据和计算出的技术指标作为上下文,传递给用户当前连接的大语言模型(LLM)进行深入的市场分析。
- 结构化报告输出: 按照指定格式(请参考示例)输出详细的市场分析报告。
如何使用
当您需要进行加密货币市场分析、获取行情数据或生成分析报告时,可以调用此技能。技能将引导您选择需要分析的币种和时间周期。
注意事项
- API 依赖: 本技能依赖于币安(Binance)的公共 API。
- LLM 连接: 确保您的 OpenClaw 已连接并配置了可用的 LLM 服务,以便进行市场分析。
- TA-Lib 依赖: 本技能的指标计算功能依赖于
TA-Lib库。如果您的环境中未安装TA-Lib,技能将在后台尝试自动安装。在某些特殊情况下,自动安装可能会失败(例如,缺少C++编译环境)。如果遇到安装问题,请尝试手动安装:pip install TA-Lib。
资源
scripts/: 包含获取行情数据和计算技术指标的 Python 脚本。references/: 包含技术指标的详细计算公式和Binance API 文档参考。
安全使用建议
This skill appears to implement its stated purpose (fetching Binance public data and computing indicators), but exercise caution before installing/using it:
- Hard-coded Python path: main_analysis.py uses PYTHON_EXECUTABLE = "E:\\anaconda\\python.exe" and runs pip through that executable. This is brittle and odd — if that path exists on your machine it will be invoked; if not, the installation attempt will fail. Ask the author to remove or make this configurable (use sys.executable or an explicit configurable python path).
- Runtime pip install: the script attempts to auto-install TA-Lib via subprocess. That modifies your Python environment and runs third-party install steps (potentially compiling native code). Prefer installing dependencies yourself in a dedicated virtualenv/container rather than letting the skill auto-install.
- Network calls: the skill calls Binance public APIs (expected). There are no declared secrets, but review the truncated portion of main_analysis.py to confirm there are no other external endpoints (LLM invocation code was not visible in full).
- Recommendation: only run this skill in an isolated environment (virtualenv, container, or sandbox) after inspecting/modifying main_analysis.py to remove or parameterize the hard-coded python path and to disable automatic installs. If you plan to trust it, ask the publisher for a reputable homepage/source or for the missing portion of the main script so you can verify LLM calls and final behavior. If you are not comfortable auditing the code, do not run it against production environments or systems with sensitive data.
功能分析
Type: OpenClaw Skill
Name: crypto-market-analysis
Version: 1.0.1
The skill bundle contains high-risk behaviors in 'main_analysis.py', specifically a hardcoded local file path ('E:\anaconda\python.exe') and a function that automatically executes 'pip install' to fetch and install external dependencies (TA-Lib). While these actions are plausibly intended for environment setup, the use of subprocess to modify the host system and the reliance on a specific local environment path are significant security risks and lack the portability expected of a benign skill. No clear evidence of intentional data exfiltration or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included scripts: scripts fetch Binance public REST endpoints and compute many technical indicators with TA-Lib. However, the code includes a hard-coded PYTHON_EXECUTABLE set to a Windows Anaconda path (E:\\anaconda\\python.exe) which is unrelated to the stated capability and unlikely to exist on most target systems — this looks like an environment-specific artifact rather than a necessary design choice.
Instruction Scope
SKILL.md describes only fetching public Binance data and passing structured indicator data to the connected LLM. The code sticks to those tasks (requests to Binance, indicator calculations). The runtime behavior does include subprocess calls to run bundled scripts and an attempt to auto-install TA-Lib; the instructions do not ask to read unrelated user files or secrets. The main script is truncated in the provided listing, so confirmation of LLM invocation details is incomplete.
Install Mechanism
There is no declared install spec, but main_analysis.py will attempt to install TA-Lib at runtime by invoking pip through a hard-coded Python executable via subprocess. Runtime package installation without explicit user consent can modify the host environment and execute package installation scripts (compiled extensions). The hard-coded Python path is brittle and may cause unexpected behavior if that executable exists and points to a different environment. This is a moderate-to-high risk operationally (unexpected installs/execution).
Credentials
The skill does not declare or require any credentials or environment variables and the code does not attempt to read secrets. It uses public Binance endpoints only. The only environment-related actions are setting PYTHONPATH/PYTHONHOME for subprocesses, which is implementation detail rather than credential access.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges. It does not modify other skills' configs. The only persistent effect could be the runtime pip install of TA-Lib which alters the Python environment, but the skill itself does not claim or request elevated/persistent platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install crypto-market-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/crypto-market-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 增加了Tradingbase团队为技能开发方的说明。
- 技能描述首句调整,突出开发团队。
v1.0.0
Initial release of crypto-market-analysis skill:
- Fetches real-time crypto market data from Binance for all supported coins.
- Calculates a comprehensive set of technical indicators: MACD, KDJ, RSI, CCI, BOLL, WR, PSY, BRAR, DMI.
- Supports both short-term (default 1 hour) and mid/long-term (default 1 day) analysis, with user-selectable timeframes.
- Integrates with connected LLMs for in-depth market analysis using structured reporting.
- Relies on TA-Lib for indicator calculations and requires Binance API availability.
元数据
常见问题
Crypto Market Analysis 是什么?
此技能由Tradingbase团队开发,旨在提供全面的加密货币市场分析技能。从币安获取所有币种的实时行情数据,计算多种技术指标(MACD, KDJ, RSI, CCI, BOLL, WR, PSY, BRAR, DMI),并利用用户连接的LLM进行市场分析。支持短期(默认1小时K线)和中长期(默认1天K线)分析,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 372 次。
如何安装 Crypto Market Analysis?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install crypto-market-analysis」即可一键安装,无需额外配置。
Crypto Market Analysis 是免费的吗?
是的,Crypto Market Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Crypto Market Analysis 支持哪些平台?
Crypto Market Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Crypto Market Analysis?
由 Tradingbase.AI(@lunawolves07)开发并维护,当前版本 v1.0.1。
推荐 Skills