Stock Top Gainers

v1.0.2

获取 A 股近 10 日个股涨幅排名(前 20 只),排除 ST 股票。 **触发场景**: - "近 10 日涨幅排名" - "最近哪些股票涨得好" - "获取涨幅前 20 股票" - "股票排行榜" - "强势股排名

0· 56·0 current·0 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 shinelp100/stock-top-gainers.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Stock Top Gainers" (shinelp100/stock-top-gainers) from ClawHub.
Skill page: https://clawhub.ai/shinelp100/stock-top-gainers
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

Bare skill slug

openclaw skills install stock-top-gainers

ClawHub CLI

Package manager switcher

npx clawhub@latest install stock-top-gainers
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (get A‑share 10‑day top gainers, exclude ST) align with the included scripts and SKILL.md. The scripts target the declared data sources (iwencai / Eastmoney) and implement snapshot parsing + a cached fallback. Declared tool and binary (browser, python3) match runtime usage.
Instruction Scope
Instructions limit actions to opening the target URL, taking a browser snapshot, parsing the snapshot, and falling back to a local sample. They do not request unrelated files, credentials, or external endpoints. Note: snapshot parsing relies on fragile regex patterns that assume a particular snapshot format; if the browser snapshot format changes the parser may fail and fallback to cache.
Install Mechanism
There is no install spec (instruction-only behavior with Python scripts present). No third‑party downloads or archives. Scripts run locally and call the platform's 'openclaw browser' tool via subprocess, which is expected for this environment.
Credentials
The skill requests no environment variables, no credentials, and no config paths. It only reads an included sample JSON as a local fallback. There are no unexpected secret accesses.
Persistence & Privilege
always is false and the skill is user‑invocable. disable-model-invocation is false (normal). The skill does not attempt to modify other skills or system configs. Its autonomous invocation capability is standard and not combined with broad credential access.
Assessment
This skill is internally consistent: it uses the OpenClaw 'browser' tool to snapshot iwencai, parses the snapshot with local Python scripts, and falls back to an included cache if scraping fails. It asks for no secrets and performs no unrelated I/O. Things to consider before installing: (1) scraping depends on the browser tool and the snapshot format—if the platform's browser is logged into accounts, snapshots might include page state or cookies, so verify how the platform isolates browser sessions; (2) site terms of service—make sure scraping iwencai / Eastmoney is acceptable for your use; (3) the parser uses rigid regexes and may silently fail to extract live data (the skill then returns cached sample data). If you need stronger guarantees (real‑time, reliable parsing), request improvements to parsing logic or explicit error handling.

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

latestvk976nw78522p08b8d17q9d8nsd8568ra
56downloads
0stars
4versions
Updated 1w ago
v1.0.2
MIT-0

stock-top-gainers

获取 A 股近 10 日个股涨幅排名(前 20 只),排除 ST 股票。

数据源

首选:同花顺问财

  • URL: https://www.iwencai.com/unifiedwap/result?w=近 10 日涨幅排名

备用:东方财富网(网络不稳定时)

  • URL: https://data.eastmoney.com/rzrq/
  • 导航至「区间统计」→「10 日涨幅」排行

操作步骤

  1. 使用 browser 工具导航到同花顺问财 URL
  2. 使用 browser snapshot 获取页面数据(refs="aria"
  3. 从 snapshot 中提取表格数据,字段包括:
    • 序号/排名
    • 股票代码(6 位数字)
    • 股票简称
    • 收盘价(元)
    • 10 日涨幅(%)
    • 今日涨跌(%)
    • 所属行业
  4. 排除 ST 股票:检查股票简称是否包含 "ST"(包括 ST、ST、SST 等)
  5. 取前 20 只非 ST 股票

数据格式

字段说明
排名1-20
股票代码6 位数字代码
股票简称不含 ST 的股票名称
收盘价最新收盘价(元)
10 日涨幅区间涨幅(%),统计周期 10 个交易日
今日涨跌当日涨跌幅(%)
所属行业股票所属行业分类

筛选条件

  • ❌ 排除所有 ST 股票(ST、ST、SST 等)
  • ✅ 按 10 日涨幅从高到低排序
  • ✅ 取前 20 只

统计周期

近 10 个交易日(约 2 周自然日)

输出示例

## 📈 近 10 日涨幅前 20 股票(2026-03-21)

| 排名 | 股票代码 | 股票简称 | 收盘价 | 10 日涨幅 | 今日涨跌 | 所属行业 |
|------|----------|----------|--------|-----------|----------|----------|
| 1 | 688295 | 中复神鹰 | 60.59 | +99.97% | +2.34% | 材料 |
| 2 | 600726 | 华电能源 | 5.02 | +81.88% | +1.21% | 电力 |
| 3 | 301396 | 宏景科技 | 178.53 | +80.24% | -0.56% | 科技 |
...

注意事项

  • 同花顺问财的 ak.stock_rank_lxsz_ths() 接口返回的是连续上涨天数排行,不是真实区间涨幅,不推荐使用
  • 东方财富网 akshare 接口 ak.stock_zh_a_hist() 需逐个股票获取,效率较低,仅作备用
  • 数据可能有 15 分钟延迟,非实时行情
  • 免责声明:数据仅供参考,不构成投资建议

Comments

Loading comments...