Market Chart Renderer

v1.0.0

Render Chinese market charts from standardized bars data with MA5/10/20/60, MACD indicators, ECharts templates, and export to HTML/PNG.

0· 426·4 current·5 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for forevershu/market-chart-renderer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Market Chart Renderer" (forevershu/market-chart-renderer) from ClawHub.
Skill page: https://clawhub.ai/forevershu/market-chart-renderer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install forevershu/market-chart-renderer

ClawHub CLI

Package manager switcher

npx clawhub@latest install market-chart-renderer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk9742959acpjw6h9q7yf12s7q182evdw
426downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

market-chart-renderer

用于把标准化 bars 数据渲染成图表。

职责边界

负责:

  • 指标计算:至少 MA5/10/20/60MACD
  • 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/*.html
  • output/generated/images/*.png
  • output/generated/images/*.json

依赖关系

  • 数据来源:skills/akshare-futures-options-data/akshare_router_cn.py
  • 渲染方案:ECharts + headless Chrome

Comments

Loading comments...