skills/tushare-data-1.0.5/references/数据接口/股票数据/资金流向数据/板块资金流向(THS).md
wangyitong a65adcc2e5 Initial commit: merged, deduplicated, and vetted skill collection
Sources: extracted from two upstream archives (skill-repo, skills-main),
merged with the following policy:

- 15 broken symlinks (pointing to /Users/jameslee/.cc-switch/skills or
  ../../.agents/skills on a foreign machine) discarded
- 3 real name collisions with identical content (ai-pair, ifind-http-api,
  zhipu-websearch) kept as one copy
- Functional overlaps deduped keeping the strongest variant:
  - docx family: kept docx (official, full toolchain) + docx-cn
    (GB/T 9704 Chinese official-document constants),
    dropped docx_writer (no scripts, name collided with docx)
  - humanizer family: kept humanizer-zh (6 zh reference docs),
    dropped humanizer (en, redundant for CN workflow)
- Skills that only ran in a foreign environment removed:
  ablemind-ops, app-publish, hlb-design-system, openclaw-adj-skill,
  claude-driver
- alphapai excluded from this public repo because its SKILL.md hard-coded
  live credentials

Result: 25 skills, 572 files, ~7.5 MB.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:47:12 +08:00

72 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 同花顺概念板块资金流向THS
----
接口moneyflow_cnt_ths
描述:获取同花顺概念板块每日资金流向
限量单次最大可调取5000条数据可以根据日期和代码循环提取全部数据
积分5000积分可以调取具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 代码
trade_date | str | N | 交易日期(格式YYYYMMDD下同)
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
trade_date | str | Y | 交易日期
ts_code | str | Y | 板块代码
name | str | Y | 板块名称
lead_stock | str | Y | 领涨股票名称
close_price | float | Y | 最新价
pct_change | float | Y | 行业涨跌幅
industry_index | float | Y | 板块指数
company_num | int | Y | 公司数量
pct_change_stock | float | Y | 领涨股涨跌幅
net_buy_amount | float | Y | 流入资金(亿元)
net_sell_amount | float | Y | 流出资金(亿元)
net_amount | float | Y | 净额(亿元)
<br>
<br>
**接口示例**
```python
#获取当日同花顺板块资金流向
df = pro.moneyflow_cnt_ths(trade_date='20250320')
```
<br>
<br>
**数据示例**
trade_date ts_code name lead_stock close_price pct_change industry_index company_num pct_change_stock net_buy_amount net_sell_amount net_amount
0 20250320 885748.TI 可燃冰 海默科技 7.99 4.76 1307.56 12 4.76 21.00 19.00 1.00
1 20250320 886008.TI 减速器 大叶股份 21.22 2.60 1862.58 103 2.60 227.00 235.00 -8.00
2 20250320 885426.TI 海工装备 天海防务 6.97 2.56 2711.31 85 2.56 171.00 148.00 23.00
3 20250320 885372.TI 页岩气 海默科技 7.99 2.21 2103.88 40 2.21 53.00 42.00 10.00
4 20250320 886000.TI 一体化压铸 今飞凯达 5.57 1.78 1213.60 50 1.78 95.00 86.00 9.00
.. ... ... ... ... ... ... ... ... ... ... ... ...
389 20250320 885881.TI 云办公 *ST鹏博 1.72 -1.36 1862.72 45 -1.36 54.00 63.00 -9.00
390 20250320 885947.TI DRG/DIP 国新健康 12.82 -1.38 1092.62 23 -1.38 25.00 30.00 -5.00
391 20250320 885975.TI 电子身份证 拓尔思 24.16 -1.40 1438.42 40 -1.40 28.00 39.00 -11.00
392 20250320 885874.TI 云游戏 *ST鹏博 1.72 -1.75 1330.68 27 -1.75 67.00 91.00 -23.00
393 20250320 886091.TI 华为手机 凯格精机 37.23 -2.25 1183.33 35 -2.25 49.00 68.00 -18.00