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:
csh
2026-08-10 18:26:24 +08:00
parent 2938300acb
commit 9010829c6d
1186 changed files with 243901 additions and 219769 deletions
@@ -0,0 +1,78 @@
# 金融 / 金融工程 / 新股定价
## `newStockPredictPrice(stock_arr)`
声明:function
新股定价-历史校验,股票的一些上市期的财务数据,用于新股定价
| 参数 | 类型 | 说明 |
| ----------- | ----- | ------------------------ |
| `stock_arr` | array | 一维字符串数组,股票列表 |
返回:table_array
### 示例
范例01:调用函数
```tsl
return newStockPredictPrice(array("SH600718", "SZ000002"));
```
## `nSpp_historyVerify_pgm(bk_name, beg_t, end_t)`
声明:function
新股定价-历史校验,用次新股比较定位预测新股定位
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------------ |
| `bk_name` | string | 字符串,板块名称 |
| `beg_t` | datetime | 日期型时间,开始校验时间 |
| `end_t` | datetime | 日期型时间,结束校验时间 |
返回:table_array
### 示例
范例01:调用 NSPP_HistoryVerify_Pgm
```tsl
Return NSPP_HistoryVerify_Pgm(
"深证A股;上证A股",
Inttodate(20120618),
inttodate(20120926));
```
## `nSpp_pgm(bk_name, beg_t, end_t, stock_id)`
声明:function
新股定价-历史校验,用次新股比较定位预测新股定位,在我们的模型中,认为新股的价格与发行价,总股本,流通股本,指数收盘,每股收益,每股净资产,净资产收益率有关,股票的上市期一些财务数据,以及次股的上市期财务数据与上市期的开盘价回归信息
| 参数 | 类型 | 说明 |
| ---------- | -------- | --------------------------------------------- |
| `bk_name` | string | 字符串,板块名称 |
| `beg_t` | datetime | 日期型时间,开始统计时间,要< StockID的上市日 |
| `end_t` | datetime | 日期型时间,结束统计时间 |
| `stock_id` | string | 字符串,要定价的股票代码 |
返回:table_array
### 示例
范例01:调用 NSPP_Pgm
```tsl
Return NSPP_Pgm("深证A股;上证A股",
inttodate(20040307),
Inttodate(20041025),
"SH600966");
```