stock-list-all-stocks skillA
stock-list-all-stocks is agent-read markdown (skill) from ftshare-lab/ftshare-skill: 获取所有股票代码列表。当用户需要获取所有 A 股股票的代码和名称列表,支持沪深京股票,自动返回最新交易日的数据,或了解所有股票代码列表时使用。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 获取所有股票代码列表
## 接口说明
| 项目 | 说明 |
|---|---|
| 接口名称 | 获取所有股票代码列表 |
| 外部接口 | `/api/v1/market/data/stock-list` |
| 请求方式 | GET |
| 适用场景 | 获取所有 A 股股票的代码和名称列表,支持沪深京股票,自动返回最新交易日的数据 |
## 请求参数
无需任何参数。
## 执行方式
通过根目录的 `run.py` 调用(推荐):
```bash
python <RUN_PY> stock-list-all-stocks
```
> `<RUN_PY>` 为主 `SKILL.md` 同级的 `run.py` 绝对路径,参见主 SKILL.md 的「调用方式」说明。
## 响应结构
```json
{
"items": [
{
"stock_code": "000001.SZ",
"stock_name": "平安银行"
},
{
"stock_code": "000002.SZ",
"stock_name": "万科A"
}
]
}
```
### 字段说明
| 字段名 | 类型 | 是否可为空 | 说明 |
|---|---|---|---|
| `stock_code` | String | 否 | 股票交易代码,固定携带 `.SZ`/`.SH`/`.BJ` 市场后缀 |
| `stock_name` | String | 否 | 股票名称 |
## 注意事项
- 返回全量 A 股,数据量较大(通常 5000 条以上),按需筛选
- `stock_code` 固定含市场后缀,不要自行增减
- 当查询没有数据时,返回空数组 `[]`Read the whole file at its exact version.
How to install
mdr add ftshare-lab/ftshare-skill/stock-list-all-stocks@git:20260916.8724d04mdr add ftshare-lab/ftshare-skill/stock-list-all-stocks@sha256:6dd4125c5702cb41Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ztvdjwsocv2nnsa6)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1563 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ftshare-lab/ftshare-skill · 64 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ztvdjwsocv2nnsa6 GET https://markdownregistry.com/api/v1/resolve?ref=ftshare-lab/ftshare-skill/stock-list-all-stocks GET https://markdownregistry.com/api/v1/blob/6dd4125c5702cb412b95b107901bb7d1d9dc6becd9fa1688a3ea9b8b96427868
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.