skills/tushare-data-1.0.5/references/数据接口/股票数据/打板专题数据/同花顺概念和行业指数行情.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

74 lines
2.5 KiB
Markdown
Raw Permalink 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_daily
描述获取同花顺板块指数行情。注数据版权归属同花顺如做商业用途请主动联系同花顺如需帮助请联系微信waditu_a
限量单次最大3000行数据需6000积分可根据指数代码、日期参数循环提取。
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 指数代码
trade_date | str | N | 交易日期YYYYMMDD格式下同
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | TS指数代码
trade_date | str | Y | 交易日
close | float | Y | 收盘点位
open | float | Y | 开盘点位
high | float | Y | 最高点位
low | float | Y | 最低点位
pre_close | float | Y | 昨日收盘点
avg_price | float | Y | 平均价
change | float | Y | 涨跌点位
pct_change | float | Y | 涨跌幅
vol | float | Y | 成交量
turnover_rate | float | Y | 换手率
total_mv | float | N | 总市值
float_mv | float | N | 流通市值
<br>
<br>
**接口示例**
```python
pro = ts.pro_api()
df = pro.ths_daily(ts_code='865001.TI', start_date='20200101', end_date='20210101', fields='ts_code,trade_date,open,close,high,low,pct_change')
```
<br>
<br>
**数据样例**
ts_code trade_date close open high low pct_change vol
0 865001.TI 20201231 1664.7530 1660.7060 1671.2290 1649.4200 0.5646 13224.260000
1 865001.TI 20201230 1655.4070 1644.5950 1664.2290 1638.1100 0.3073 10815.800000
2 865001.TI 20201229 1650.3360 1686.1620 1686.1620 1639.0530 -1.6263 11763.170000
3 865001.TI 20201228 1677.6190 1682.5670 1689.8980 1667.2110 0.6698 11813.210000
4 865001.TI 20201224 1666.4570 1663.3270 1668.8490 1648.7920 0.6533 6571.630000
.. ... ... ... ... ... ... ... ...
229 865001.TI 20200108 1315.8190 1313.4520 1323.2140 1312.7090 0.2567 33180.860000
230 865001.TI 20200107 1312.4500 1319.8580 1323.1850 1311.2390 -0.6790 20959.510000
231 865001.TI 20200106 1321.4230 1322.8090 1328.0270 1314.8890 -0.5953 21283.400000
232 865001.TI 20200103 1329.3370 1309.6150 1330.6640 1309.2810 0.6505 28610.530000
233 865001.TI 20200102 1320.7460 1342.6220 1343.1260 1308.6630 -1.1273 26149.740000