forevershu

Akshare Router Cn

Data Analysisv1.0.0
By forevershuUpdated 2026-05-11akshare-router-cn@clawhub_forevershu/akshare-router-cn
Web Scraping#Recipe

According to AlphaMoat, as of 2026-09, Akshare Router Cn has 2,043 downloads and 0 stars — ranked #4,402 of 5,078 AI skills overall, and #340 of 399 in Data Analysis.

Installs
198
Downloads
2.0K
Stars
-
Overall Rank
#4,402
Top 87% overall · Top 86% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗281.1K--
SkillHub ↗1982.0K-—

Platforms count differently and update at different times.

What this skill does

The primary routes by data frequency, futures or options, and whether indicator or options-metric calculations are needed. The initial scope is limited to free sources.

Profile published 2026-10-29

What you can do with it

  • Finding futures or options data and indicators

When to use it

  • You need to classify frequency, asset type, or calculation needs first

Example prompts

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

Route this options-data request to the appropriate workflow

Monthly Trend

Downloads2.0K
3521.3K2.2K2026-03 · Downloads 4772026-05 · Downloads 7752026-06 · Downloads 9242026-07 · Downloads 1.2K2026-08 · Downloads 1.4K2026-09 · Downloads 2.0K26-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-092.0K—-
2026-081.4K+19.6%-
2026-071.2K+25.2%-
2026-06924+19.2%-
2026-05775—-
2026-03477—-

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.

2.8 KB · ClawHub v1.0.0
# akshare-router-cn

面向中文用户的「AKShare 数据路由器」skill:把期货/期权问题按 **频率(实时/分钟/日频)** → **品类(期货/期权)** → **是否需要二次加工(指标/Greeks/RR25)** 三步分流到最合适的数据源与 recipe。

> 一期只覆盖 **免费可用源**:东方财富/新浪等公开页面对应的 AKShare 接口。**不包含奇货可查/付费源**。

---

## 你要做的事(路由协议,必须遵守)
Show all (65 lines)
当用户提问时:

### Step 0:抽取意图槽位
- `freq`:realtime | intraday(minute) | daily/历史
- `asset`:futures | options
- `need_compute`:none | indicators | greeks_iv | rr25 | (组合)
- `scope`:单合约 | 品种全合约 | 全市场/列表

### Step 1:先判频率(实时优先)
- 命中【实时/盘面/盘口/最新价/当前/成交量/持仓/分时/分钟/5m/30m】→ `realtime` 或 `intraday`
- 命中【日线/历史/从…到…/近一年/回测】→ `daily/历史`

### Step 2:再判品类(期货 vs 期权)
- 命中【期货/主连/次主连/合约如 IF2403/ RB主连】→ futures
- 命中【期权/看涨/看跌/行权价/隐含波动率/Delta/Gamma】→ options

### Step 3:最后判是否二次加工
- 命中【MA/EMA/MACD/RSI/布林/ATR/5m指标/30m指标】→ indicators
- 命中【隐含波动率/IV/Delta/Gamma/Theta/Vega/Rho】→ greeks_iv
- 命中【RR25/25D 风险逆转/Skew】→ rr25(需要 greeks_iv + 规则)

### Step 4:按需加载(只读需要的文件)
1) 先 `read maps/router.yml`:找到对应 recipe
2) 再 `read recipes/<name>.md`:按步骤执行
3) 如果 recipe 引用 method(例如 RR25/指标计算),再 `read methods/<name>.md`

---

## 入口路由表(文件)
- `maps/router.yml`:意图 → recipe 文件名(**唯一真源**)
- `maps/keywords.yml`:中文关键词归一化(减少误判)
- `references/INDEX.md`:AKShare 可用接口索引(只列一期用到的)

---

## MVP 覆盖的用户高频需求

### 期货
- 实时盘面/成交(某个品种所有合约):`recipes/futures_realtime_board.md`
- 5m/30m 分钟线 + 技术指标:`recipes/futures_kline_indicators.md`

### 期权
- 隐含波动率 + Greeks(基于上交所 ETF 期权):`recipes/options_iv_greeks.md`
- RR25(基于 Delta 近似):`recipes/options_rr25.md`

---

## 运行方式(给会用工具的 agent)
- 数据抓取与计算脚本在 `scripts/`;可用 `exec` 运行,例如:
  - `python3 skills/akshare-router-cn/scripts/futures_realtime.py --symbol PTA`
  - `python3 skills/akshare-router-cn/scripts/futures_indicators.py --contract IF2008 --period 30`
  - `python3 skills/akshare-router-cn/scripts/options_rr25.py --underlying 510050 --trade_date 202603`

> TODO:如果未来要把脚本封装成统一 CLI(如 `akrcn ...`),可以在二期做,不影响本期路由文档结构。

Popular in Data Analysis

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