Files
playbook/skills/tsl-api-reference/references/data_dictionary/证券__代码变更.md
T

44 lines
1.4 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.
# 天软数据字典 / 证券 / 代码变更
类型:table
## 表信息
| 项目 | 内容 |
| -------- | ---------------------- |
| 表名 | 证券.代码变更 |
| 表 ID | 159 |
| 提取方式 | InfoArray |
| 访问代码 | 证券代码,如:NE833819 |
| 范围 | security |
## 字段
| 字段 ID | 字段名 | 类型 | 中文名 | 单位 | 说明 | 对应 API |
| ------- | ---------- | ------- | ---------- | ---- | ---- | -------- |
| 159001 | 代码 | Varchar | 代码 | | | |
| 159002 | 变更前代码 | Varchar | 变更前代码 | | | |
| 159003 | 变更后代码 | Varchar | 变更后代码 | | | |
| 159004 | 变动日 | Integer | 变动日 | | | |
| 159005 | 变动原因 | Varchar | 变动原因 | | | |
| 159006 | 代码标识 | Int | 代码标识 | | | |
| 159007 | 备注 | Varchar | 备注 | | | |
## 数据说明
- 目前该表主要用于记录上市公司的代码变更,包括北交所启用920代码号段导致的存量上市公司的代码切换。
- 1、数据更新频率:不定期
## 取数示例
范例01NE833819的代码变更数据
```tsl
// NE833819的代码变更数据
return
select *
from infotable 159
of 'NE833819'
end;
```