← 返回 Skills 市场
luyao-inc

Crypto Market

作者 luyao-inc · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
101
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install crypto-market
功能描述
加密货币行情分析:本技能自带 Binance 公开行情 + 指标脚本;资讯用 web_search/web_fetch。
使用说明 (SKILL.md)

加密货币行情分析

OpenClaw 内置工具

用途 工具
行情与技术指标 JSON exec + {baseDir}/crypto_market_snapshot.py
资讯 web_searchweb_fetch(重要链接必须 fetch 正文)

说明:

  • OpenClaw 内置 ccxt。本包脚本使用 Binance 公开 RESTapi.binance.com),标准库,无需 pip install ccxt
  • 若你的网关另有 ccxt 工具,可改用网关实现;字段语义以你方工具文档为准,本技能脚本输出结构见下节。

代理(可选)

脚本会读取 CRYPTO_HTTP_PROXY 或系统 HTTPS_PROXY/HTTP_PROXY,与容器访问外网一致即可。


调用本包脚本(exec)

python3 "{baseDir}/crypto_market_snapshot.py" BTCUSDT 1d 200

参数:SYMBOL(如 BTCUSDT,无斜杠)、interval(如 1d4h)、limit(K 线条数,默认 200)。

输出 JSON 要点

  • ticker_24h:Binance /api/v3/ticker/24hr
  • ohlcv_meta.last_row:最后一根 OHLCV
  • indicatorssma_20rsi_14macd_12_26_9bollinger_20_2atr_14latest
  • 分析须基于上述字段,勿编造未返回的数值

分析流程

  1. 解析用户币种:默认现货 BTCUSDT 形式(用户说 BTC 则映射 BTCUSDT)。
  2. exec 拉取脚本 JSON;可按需多次换 interval
  3. 技术面归纳(趋势、超买超卖、波动等)。
  4. web_search + web_fetch 做资讯与情绪侧写。
  5. 在对话中整合输出完整分析结论与风险提示。

合规与约束

  • 不构成投资建议;若 Binance 不可用,说明原因并可部分依赖资讯。
  • 新闻结论须有 web_fetch 正文依据,不得仅用搜索摘要。
安全使用建议
This skill appears to do exactly what it says: run the included Python script to fetch public Binance data and compute indicators, and use web_search/web_fetch for news context. Before installing, confirm you trust the system Python that will be executed and that outbound network access to api.binance.com and news sources is acceptable in your environment. Note that the script will honor CRYPTO_HTTP_PROXY / HTTP_PROXY / HTTPS_PROXY if set (used only for outbound requests). If you need to restrict network access or auditing, run the script in a controlled environment. No API keys or secrets are requested by the skill.
能力标签
crypto
能力评估
Purpose & Capability
Name/description match functionality: a market-analysis skill that fetches public Binance endpoints and computes indicators locally. Declared runtime requirement (python3 / python) is appropriate and sufficient.
Instruction Scope
SKILL.md instructs the agent to exec the included Python script and to use web_search/web_fetch for news; those instructions stay within the described purpose. Minor note: both the script and SKILL.md mention reading CRYPTO_HTTP_PROXY / HTTP_PROXY / HTTPS_PROXY for outbound requests — SKILL.md documents this but the registry shows no required env vars, so the script will read proxy envs opportunistically (optional, not harmful).
Install Mechanism
No install spec (instruction-only plus an included script). No downloads or external installers — lowest-risk install footprint.
Credentials
The skill requests no credentials and does not enumerate any required env vars. The included script optionally reads proxy environment variables (CRYPTO_HTTP_PROXY / HTTPS_PROXY / HTTP_PROXY) to make outbound HTTP requests; this optional proxy usage is reasonable for networked tools but is not declared as a required env in the registry metadata.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration. It only runs a local script via exec and performs outbound requests to Binance and fetched news sources.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-market
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-market 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of crypto-market skill for crypto analysis and Binance data. - Provides crypto price and indicator analysis using Binance public REST API. - No external dependencies; uses only Python standard library. - Includes script for fetching OHLCV, 24h ticker, and technical indicators (SMA, RSI, MACD, Bollinger Bands, ATR). - Supports proxy setup via environment variables. - Integrates news sentiment via web_search/web_fetch with clear rules on usage. - Designed for spot markets; includes compliance and risk statement requirements.
元数据
Slug crypto-market
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Crypto Market 是什么?

加密货币行情分析:本技能自带 Binance 公开行情 + 指标脚本;资讯用 web_search/web_fetch。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。

如何安装 Crypto Market?

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

Crypto Market 是免费的吗?

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

Crypto Market 支持哪些平台?

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

谁开发了 Crypto Market?

由 luyao-inc(@luyao-inc)开发并维护,当前版本 v1.0.0。

💬 留言讨论