feat(tsl-api-reference): update API catalog and data dictionary

This commit is contained in:
csh
2026-08-11 18:10:24 +08:00
parent 34a3a5dec1
commit 7bd965de89
1231 changed files with 64187 additions and 18822 deletions
@@ -0,0 +1,42 @@
# 天软数据字典 / 股票 / 暂停、终止、恢复上市
类型:table
## 表信息
| 项目 | 内容 |
| --- | --- |
| 表名 | 股票.暂停、终止、恢复上市 |
| 表 ID | 15 |
| 提取方式 | InfoArray |
| 访问代码 | 证券代码,如:SH600001 |
| 范围 | stock |
## 字段
| 字段 ID | 字段名 | 类型 | 中文名 | 单位 | 说明 | 对应 API |
| --- | --- | --- | --- | --- | --- | --- |
| 15001 | 公布日 | Integer | 公布日 | | | |
| 15003 | 生效日 | Integer | 生效日 | | | |
| 15004 | 变更类型 | Char | 变更类型 | | | |
| 15005 | 备注 | Char | 备注 | | | |
## 数据说明
- 1、数据开始时间:上市以来
- 2、数据更新频率:不定期
## 取数示例
范例01:提取邯郸钢铁在20091229的终止上市情况
```tsl
// 提取邯郸钢铁在20091229的终止上市情况
stockid:="SH600001";
endt:=20091229T;
dEndt:=datetoInt(endt);
data:=select * from infotable 15 of stockid
where ["生效日"]=dEndt end;
if istable(data) then return data;
return array();
```