Noah

Quant-Expert

专业领域v1.0.0
作者:Noah更新于 2026-05-11quant-expert@clawhub_noah-wu66/quant-expert
金融分析#Stock#Trading

据 AlphaMoat 统计,截至 2026-09,Quant-Expert 累计下载 1,852 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,536 位,在「专业领域」分类(465 个)中排名第 402 位。

累计安装
210
累计下载
1,852
星标
-
全站排名
#4,536
全站前 90% · 「专业领域」前 87%
平台累计安装累计下载星标评论
ClawHub ↗24996--
SkillHub ↗2101,852-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

覆盖股票筛选、个股诊断、市场/板块分析、资金流、ETF 与期权数据、宏观数据、交易日与节假日查询及原始 Tushare 查询。除 holiday_helper.py 外的全部内置脚本都需要 TUSHARE_TOKEN,必需 Python 包为 tushare、pandas、requests。工具分工:tushare_helper.py 做原始数据查询;stock_screener.py 提供 value(低 PE_TTM、低 PB、最小市值、最小 ROE、剔除 ST)、dividend、growth、momentum 四类筛选;stock_diagnosis.py 输出结构化快照,覆盖公司基本面、价格表现、估值、收入与财务指标趋势、前十大股东与股东数趋势、近期资金流、ST/质押/限售检查,官方明确其不是自动评级模型;holiday_helper.py 查询交易日与节假日。硬规则包括:依赖或令牌缺失时停下并报告;未经用户明确要求不安装包;以 Tushare 为主要数值数据源;仅当用户需要解读、诊断、排名或推荐时才补充网络研究;Tushare 被封锁时报告阻塞而不是用网络数据静默替换数值。时间规则固定按北京时间推理:15:30 之前,日线数据通常指前一交易日。

资料发布于 2026-10-27

可以用来做什么

  • 运行价值、红利、成长或动量选股筛选
  • 对指定 A 股代码生成结构化诊断快照
  • 查询交易日与节假日安排

什么时候用

  • 需要 A 股数值数据或筛选、诊断、市场日历查询时
  • 需要结合 Tushare 数值与事件证据做解读时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

用 value 策略筛选 PE 低于 20、ROE 至少 15 的股票
诊断 600519.SH 并给出结构化快照
查 2026-09-30 的下一个交易日

月度数据趋势

累计下载1,852
5771,2621,9462026-03 · 累计下载 6712026-05 · 累计下载 1,3142026-06 · 累计下载 1,4072026-07 · 累计下载 1,5412026-08 · 累计下载 1,6392026-09 · 累计下载 1,85226-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,852—-
2026-081,639+6.4%-
2026-071,541+9.5%-
2026-061,407+7.1%-
2026-051,314—-
2026-03671—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.4 KB · ClawHub v1.0.0
---
name: quant-expert
description: Quantitative analysis skill for the Chinese A-share market using Tushare Pro data and a holiday helper. Use when the user asks for stock screening, stock diagnosis, market or sector analysis, money-flow checks, ETF or option data, macro data, trading-day queries, holiday checks, or raw Tushare data related to Chinese securities.
metadata: {"openclaw":{"emoji":"📈","primaryEnv":"TUSHARE_TOKEN","requires":{"anyBins":["python","python3","py"]},"os":["darwin","linux","win32"]}}
---

# Quant Expert

Use this skill for Chinese A-share quantitative work in OpenClaw.
展开全部(共 165 行)
## OpenClaw Setup

OpenClaw-friendly rule:

- Keep the Tushare token outside the repository.
- Prefer OpenClaw config injection over manual shell export.
- Do not auto-install Python packages.

Recommended OpenClaw config:

```json
{
  "skills": {
    "entries": {
      "quant-expert": {
        "apiKey": "your-tushare-token"
      }
    }
  }
}
```

Because `primaryEnv` is set to `TUSHARE_TOKEN`, OpenClaw can inject the token for this skill automatically.

Required Python packages for Tushare features:

- `tushare`
- `pandas`
- `requests`

Note:

- `holiday_helper.py` does not need `TUSHARE_TOKEN`.
- All other bundled scripts need `TUSHARE_TOKEN`.

## Hard Rules

1. If dependencies or `TUSHARE_TOKEN` are missing, stop and report the blocker clearly.
2. Do not install packages unless the user explicitly asks.
3. Use Tushare as the primary numeric data source.
4. Only add web research when the user wants interpretation, diagnosis, ranking, or recommendation.
5. If Tushare is blocked, report the blocker instead of silently replacing numeric facts with web data.

## Path Rule

When referencing bundled files in OpenClaw, use `{baseDir}`:

- `{baseDir}/scripts/tushare_helper.py`
- `{baseDir}/scripts/stock_screener.py`
- `{baseDir}/scripts/stock_diagnosis.py`
- `{baseDir}/scripts/holiday_helper.py`
- `{baseDir}/references/api_quick_reference.md`
- `{baseDir}/references/analysis_strategies.md`

## What To Use

### Raw Tushare query

Use `{baseDir}/scripts/tushare_helper.py`.

Example:

```bash
python {baseDir}/scripts/tushare_helper.py stock_basic '{"list_status":"L"}' -n 20
python {baseDir}/scripts/tushare_helper.py daily_basic '{"trade_date":"20260302"}' -f ts_code,pe_ttm,pb,total_mv
```

### Stock screening

Use `{baseDir}/scripts/stock_screener.py`.

- `value`: low `PE_TTM`, low `PB`, minimum market cap, minimum `ROE`, exclude ST
- `dividend`: minimum `dv_ttm`, then verify consecutive dividend years
- `growth`: revenue YoY, profit YoY, and `ROE`
- `momentum`: daily gain, volume ratio, turnover rate

Example:

```bash
python {baseDir}/scripts/stock_screener.py -s value --pe-max 20 --roe-min 15 --mv-min 100
python {baseDir}/scripts/stock_screener.py -s growth --rev-growth-min 20 --profit-growth-min 25
```

### Stock diagnosis

Use `{baseDir}/scripts/stock_diagnosis.py`.

Current built-in diagnosis is a structured snapshot, not an automatic rating model.

It covers:

- company basics
- price performance
- valuation snapshot
- income and financial-indicator trends
- top shareholders and holder-count trend
- recent money flow
- ST, pledge, and restricted-share checks

Example:

```bash
python {baseDir}/scripts/stock_diagnosis.py 600519.SH
```

### Trading day and holiday

Use `{baseDir}/scripts/holiday_helper.py`.

Example:

```bash
python {baseDir}/scripts/holiday_helper.py check
python {baseDir}/scripts/holiday_helper.py next 2026-09-30
```

## Beijing Time Rule

Always reason in Beijing time.

- Before 15:30 Beijing time, daily market data usually means the previous trading day.
- After 15:30 Beijing time, same-day daily data may be available.
- Do not hardcode dates when the helper utilities can derive them.

## OpenClaw Execution Pattern

### If the user wants raw data

- Stay on the Tushare data layer.
- Use one bundled script first.
- Return concise results without forcing event research.

### If the user wants judgment or interpretation

1. Pull numeric evidence with Tushare first.
2. Add event evidence from credible web sources.
3. Keep the final answer in this order:
   1. one-line conclusion
   2. key quantitative findings
   3. key event findings with source and URL
   4. resonance or divergence
   5. main risks
   6. investment disclaimer

Minimum event evidence target:

- 2 stock-level events
- 2 industry-level events
- 2 macro/global events

## References

- `{baseDir}/references/api_quick_reference.md`
- `{baseDir}/references/analysis_strategies.md`

「专业领域」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。