返回顶部
c

crypto-market加密货币行情

加密货币行情分析:本技能自带 Binance 公开行情 + 指标脚本;资讯用 web_search/web_fetch。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
70
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

crypto-market

加密货币行情分析

OpenClaw 内置工具

用途工具
行情与技术指标 JSONexec + {baseDir}/cryptomarketsnapshot.py
资讯
websearchwebfetch(重要链接必须 fetch 正文) |

说明:

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

代理(可选)

脚本会读取 CRYPTOHTTPPROXY 或系统 HTTPSPROXY/HTTPPROXY,与容器访问外网一致即可。



调用本包脚本(exec)

bash
python3 {baseDir}/cryptomarketsnapshot.py BTCUSDT 1d 200

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

输出 JSON 要点

  • - ticker24h:Binance /api/v3/ticker/24hr
  • ohlcvmeta.lastrow:最后一根 OHLCV
  • indicators:sma20、rsi14、macd12269、bollinger202、atr_14 的 latest
  • 分析须基于上述字段,勿编造未返回的数值

分析流程

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

合规与约束

  • - 不构成投资建议;若 Binance 不可用,说明原因并可部分依赖资讯。
  • 新闻结论须有 web_fetch 正文依据,不得仅用搜索摘要。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 crypto-market-1776368419 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 crypto-market-1776368419 技能

通过命令行安装

skillhub install crypto-market-1776368419

下载

⬇ 下载 crypto-market v1.0.0(免费)

文件大小: 4.32 KB | 发布时间: 2026-4-17 15:54

v1.0.0 最新 2026-4-17 15:54
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部