✨ feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references. Keep the existing generated index without rebuilding after signature normalization.
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# 金融 / 股票 / 代码变更
|
||||
|
||||
## `getTrueStockIDbyDate2(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
获取指定日真实证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:string
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
SetSysParam(pn_stock(), "NE832000");
|
||||
endt := 20251009T;
|
||||
return getTrueStockIDbyDate2(Endt);
|
||||
// 输出:BJ920000
|
||||
```
|
||||
|
||||
## `stock_codeChangesReason2(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
最近变动原因
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:string
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:安徽凤凰在20251015最近的代码变动原因
|
||||
|
||||
```tsl
|
||||
// 安徽凤凰在20251015最近的代码变动原因
|
||||
|
||||
setsysparam(pn_stock(), "BJ920000");
|
||||
|
||||
endt := 20251015T;
|
||||
|
||||
return Stock_CodeChangesReason2(Endt);
|
||||
// 输出:北交所代码切换
|
||||
```
|
||||
Reference in New Issue
Block a user