← 返回 Skills 市场
Market Chart Renderer
作者
forevershu
· GitHub ↗
· v1.0.0
429
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install market-chart-renderer
功能描述
Render Chinese market charts from standardized bars data with MA5/10/20/60, MACD indicators, ECharts templates, and export to HTML/PNG.
使用说明 (SKILL.md)
market-chart-renderer
用于把标准化 bars 数据渲染成图表。
职责边界
负责:
- 指标计算:至少
MA5/10/20/60、MACD - ECharts 图表模板
- 标题区(品种名 / 代码 / 周期)
- 主图 K 线 + MA 均线
- 副图默认
MACD - HTML / PNG 导出
不负责:
- AkShare 数据抓取细节
- 品种路由
- 交易所查询逻辑
最小入口
直接生成甲醇 MA0 60m 图:
python3 skills/market-chart-renderer/render_ma0_60m.py
自定义:
python3 skills/market-chart-renderer/render_chart.py --symbol MA0 --period 60 --limit 120
输出位置
默认输出到:
output/generated/images/*.htmloutput/generated/images/*.pngoutput/generated/images/*.json
依赖关系
- 数据来源:
skills/akshare-futures-options-data/akshare_router_cn.py - 渲染方案:ECharts + headless Chrome
安全使用建议
This skill appears coherent for rendering market charts. Before installing or running it: 1) Ensure you trust the referenced data-provider module (skills/akshare-futures-options-data/akshare_router_cn.py) because it will be imported and run at runtime. 2) Make sure pandas and a Chrome/Chromium binary are available if you want PNG output; otherwise it will produce HTML/JSON only. 3) Inspect the generated HTML (the skill likely embeds ECharts and possibly loads JS from CDNs) if you are concerned about network activity when opening the file in headless Chrome. 4) Run the skill in a sandbox or isolated environment if you plan to use untrusted data-provider code. There are no requests for secrets or unusual system access in the provided files.
功能分析
Type: OpenClaw Skill
Name: market-chart-renderer
Version: 1.0.0
The market-chart-renderer skill bundle is designed to calculate financial indicators (MA, MACD) and render market charts into HTML and PNG formats using ECharts and headless Chrome. The primary logic in `render_chart.py` involves data processing with pandas and invoking a local browser via `subprocess` for image generation, which aligns with the stated purpose in `SKILL.md`. No evidence of data exfiltration, malicious command execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (render market charts with MA/MACD, ECharts, HTML/PNG export) match the provided code: indicator calculation, payload/option building, HTML generation, and a check for headless Chrome. The SKILL.md states an external data-provider dependency (akshare_router_cn), and the code imports that module as expected.
Instruction Scope
SKILL.md instructs running the included Python scripts and outputs to output/generated/images/*. The code writes files to that output directory and imports a sibling data-provider module (skills/akshare-futures-options-data/akshare_router_cn.py). Importing an external module at runtime means the skill will execute that module's code; this is expected for a dependency but you should verify the akshare_router_cn implementation. No evidence that the skill reads unrelated system files or environment variables beyond manipulating its own output directory.
Install Mechanism
There is no install spec and no downloads. This is effectively an instruction+code skill that relies on environment-provided headless Chrome/Chromium and Python libraries (pandas). No remote install URLs or archive extraction were present.
Credentials
The skill declares no required environment variables, no credentials, and the code does not attempt to read secrets. It does search PATH for common Chrome binaries (google-chrome/chromium/chromium-browser) which is coherent with its stated PNG export capability. The only external dependency that runs is the akshare_router_cn module; that is functionally required for obtaining 'bars' data but should be reviewed separately.
Persistence & Privilege
The skill does not request always:true or any elevated persistent privileges and does not modify other skills' configs. It writes outputs under its own output path as described in SKILL.md, which is appropriate for a renderer.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install market-chart-renderer - 安装完成后,直接呼叫该 Skill 的名称或使用
/market-chart-renderer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
market-chart-renderer v1.0.0 – Initial release
- Renders Chinese market charts from standardized bars data.
- Supports indicator calculation: MA5/10/20/60 and MACD.
- Provides ECharts chart templates for main and subplots (K-line with MA lines, MACD).
- Exports charts as HTML, PNG, or JSON files.
- Entry scripts for quick rendering and custom chart generation.
- Integrates with AkShare data and uses headless Chrome for export.
元数据
常见问题
Market Chart Renderer 是什么?
Render Chinese market charts from standardized bars data with MA5/10/20/60, MACD indicators, ECharts templates, and export to HTML/PNG. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 429 次。
如何安装 Market Chart Renderer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install market-chart-renderer」即可一键安装,无需额外配置。
Market Chart Renderer 是免费的吗?
是的,Market Chart Renderer 完全免费(开源免费),可自由下载、安装和使用。
Market Chart Renderer 支持哪些平台?
Market Chart Renderer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Market Chart Renderer?
由 forevershu(@forevershu)开发并维护,当前版本 v1.0.0。
推荐 Skills