Nick deep234

A股市场数据

Professionalv1.0.0
By Nick deep234Updated 2026-05-11ashare@clawhub_nickdeep1234/ashare
Finance#Calendar#News#Stock

According to AlphaMoat, as of 2026-09, A股市场数据 has 3,165 downloads and 0 stars — ranked #3,605 of 5,078 AI skills overall, and #297 of 465 in Professional.

Installs
778
Downloads
3.2K
Stars
-
Overall Rank
#3,605
Top 71% overall · Top 64% in Professional
PlatformInstallsDownloadsStarsComments
ClawHub ↗311.2K--
SkillHub ↗7783.2K-—

Platforms count differently and update at different times.

What this skill does

It queries a fixed whitelist of AKShare market datasets through a bundled CLI, covering A-shares, China indexes, open-end mutual funds, macro indicators, macro calendar events, and finance news flashes. Relative dates must be converted to absolute dates before calling, and only the bundled query script should be run.

Profile published 2026-10-27

What you can do with it

  • Look up the historical series of one macro indicator.
  • Fetch interval market data for an index or fund.

When to use it

  • When the question can be answered from a fixed dataset.
  • When data must be pulled for a date range under one convention.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Look up this macro indicator's data for the past year.
Fetch this index's market data over that period.

Monthly Trend

Downloads3.2K
1.0K2.2K3.3K2026-03 · Downloads 1.2K2026-05 · Downloads 1.8K2026-06 · Downloads 2.1K2026-07 · Downloads 2.4K2026-08 · Downloads 2.6K2026-09 · Downloads 3.2K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.2K—-
2026-082.6K+8.1%-
2026-072.4K+13.8%-
2026-062.1K+13.1%-
2026-051.8K—-
2026-031.2K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.1 KB · ClawHub v1.0.0
---
name: ashare
description: Use AKShare to answer Chinese market-data questions about A-shares, China indexes, open-end mutual funds, macro indicators, macro calendar events, and finance news flashes. Trigger on requests such as A股行情, 个股价格, 历史K线, 指数走势, 基金净值, 宏观数据, 财联社快讯, market overview, stock quote, fund NAV, macro calendar, or news flash. Prefer this skill when OpenClaw needs structured market data from AKShare instead of free-form web browsing.
homepage: https://akshare.akfamily.xyz/data/index.html
user-invocable: true
metadata: {"openclaw":{"requires":{"bins":["python"]}}}
---

# A股市场数据
Show all (106 lines)
Use this skill to query a fixed whitelist of AKShare market datasets through the bundled CLI.

## Workflow

1. Convert relative dates to absolute `YYYYMMDD` before calling the script.
2. Map the user's request to one of the supported subcommands in [`references/datasets.md`](references/datasets.md).
3. Run only the bundled script with OpenClaw `exec`:

```bash
python "{baseDir}/scripts/query_akshare.py" <subcommand> [args...]
```

4. Read the JSON envelope from stdout.
5. Reply in Chinese with a short summary plus the most relevant values from the returned `rows`.

## Hard Rules

- Use only `python "{baseDir}/scripts/query_akshare.py" ...`.
- Do not paste the user's raw request into shell pipelines.
- Do not generate ad-hoc Python snippets to call AKShare directly.
- Do not guess when a symbol match is ambiguous; surface the returned candidates.
- Keep dates in `YYYYMMDD`.
- Treat missing `akshare` as an environment issue and relay the install command from the error payload.

## Supported Commands

- `market-overview`
  - Return A-share market breadth, major indices, top 10 gainers, and top 10 losers.
- `stock-quote <symbol>`
  - Real-time A-share quote by code or exact name.
- `stock-history <symbol> [--start-date YYYYMMDD] [--end-date YYYYMMDD] [--period daily|weekly|monthly] [--adjust none|qfq|hfq] [--limit N]`
- `stock-profile <symbol>`
  - Company and security profile from Eastmoney.
- `index-quote <symbol>`
  - Real-time China index quote by code or exact name.
- `index-history <symbol> [--start-date YYYYMMDD] [--end-date YYYYMMDD] [--period daily|weekly|monthly] [--limit N]`
- `fund-quote <symbol>`
  - Open-end mutual fund daily NAV snapshot by code or exact name.
- `fund-history <symbol> [--indicator unit_nav|acc_nav|acc_return] [--period 1m|3m|6m|1y|3y|5y|ytd|all] [--limit N]`
- `macro-series <alias>`
  - Supported aliases: `china_cpi`, `china_pmi`, `china_rmb`.
- `macro-calendar [--date YYYYMMDD] [--limit N]`
- `news-flash [--scope all|important] [--limit N]`

## Command Examples

```bash
python "{baseDir}/scripts/query_akshare.py" market-overview
python "{baseDir}/scripts/query_akshare.py" stock-quote 000001
python "{baseDir}/scripts/query_akshare.py" stock-history 600519 --start-date 20260101 --end-date 20260313
python "{baseDir}/scripts/query_akshare.py" index-history 000300 --limit 60
python "{baseDir}/scripts/query_akshare.py" fund-history 000001 --indicator unit_nav --limit 60
python "{baseDir}/scripts/query_akshare.py" macro-series china_pmi
python "{baseDir}/scripts/query_akshare.py" macro-calendar --date 20260313
python "{baseDir}/scripts/query_akshare.py" news-flash --limit 10
```

## Output Contract

Every success response is a JSON object with:

- `ok`
- `dataset`
- `akshare_function`
- `resolved`
- `params`
- `columns`
- `rows`
- `row_count`
- `truncated`
- `as_of`

Every failure response is a JSON object with:

- `ok: false`
- `error.type`
- `error.message`
- optional `error.details`

Error types are limited to:

- `missing_dependency`
- `invalid_argument`
- `unsupported_query`
- `ambiguous_symbol`
- `runtime_error`

## Summary Style

- Lead with the direct answer in Chinese.
- Mention the symbol or dataset that was resolved.
- For quotes, include latest price and change fields when present.
- For history, describe the date range covered by the returned rows.
- For market overview, mention breadth and the main index moves.
- For macro/news results, surface the latest or most important rows instead of dumping the whole payload.

Popular in Professional

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.