skills/tushare-data-1.0.5/references/数据接口/股票数据/资金流向数据/个股资金流向(DC).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

78 lines
3.1 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.

## 个股资金流向DC
----
接口moneyflow_dc
描述获取东方财富个股资金流向数据每日盘后更新数据开始于20230911
限量单次最大获取6000条数据可根据日期或股票代码循环提取数据
积分用户需要至少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 | 股票名称
pct_change | float | Y | 涨跌幅
close | float | Y | 最新价
net_amount | float | Y | 今日主力净流入额(万元)
net_amount_rate | float | Y | 今日主力净流入净占比(%
buy_elg_amount | float | Y | 今日超大单净流入额(万元)
buy_elg_amount_rate | float | Y | 今日超大单净流入占比(%
buy_lg_amount | float | Y | 今日大单净流入额(万元)
buy_lg_amount_rate | float | Y | 今日大单净流入占比(%
buy_md_amount | float | Y | 今日中单净流入额(万元)
buy_md_amount_rate | float | Y | 今日中单净流入占比(%
buy_sm_amount | float | Y | 今日小单净流入额(万元)
buy_sm_amount_rate | float | Y | 今日小单净流入占比(%
<br>
<br>
**接口示例**
```python
pro = ts.pro_api()
#获取单日全部股票数据
df = pro.moneyflow_dc(trade_date='20241011')
#获取单个股票数据
df = pro.moneyflow_dc(ts_code='002149.SZ', start_date='20240901', end_date='20240913')
```
<br>
<br>
trade_date ts_code name pct_change ... buy_md_amount buy_md_amount_rate buy_sm_amount buy_sm_amount_rate
0 20240913 002149.SZ 西部材料 -1.34 ... -12.65 -0.35 -62.43 -1.72
1 20240912 002149.SZ 西部材料 1.43 ... 13.71 0.33 -388.43 -9.25
2 20240911 002149.SZ 西部材料 -0.79 ... -26.10 -1.68 95.69 6.15
3 20240910 002149.SZ 西部材料 -0.08 ... -199.50 -7.26 -69.29 -2.52
4 20240909 002149.SZ 西部材料 1.12 ... 66.76 2.48 -198.12 -7.37
5 20240906 002149.SZ 西部材料 -2.49 ... -104.57 -2.74 769.65 20.19
6 20240905 002149.SZ 西部材料 -0.70 ... -307.62 -8.11 346.51 9.14
7 20240904 002149.SZ 西部材料 -0.92 ... 370.98 9.56 -23.25 -0.60
8 20240903 002149.SZ 西部材料 0.93 ... -195.45 -3.87 643.41 12.75
9 20240902 002149.SZ 西部材料 -3.44 ... 195.50 2.32 988.69 11.71