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,24 @@
# 金融 / 期货 / 成交持仓排名
## `getFuturesTradeRankingByDate(end_t, t)`
声明:function
指定日期货日成交持仓排名 模型从数据库中提取系统证券pn_stock的成交持仓排名数据,按照排名类型、数量降序排序。注意,设置系统参数pn_stock只能用实际的合约,比如IF1508,而不能用虚拟合约代码,IF01、IF00等。 数据详细说明及查询案例见:关于增加期货日成交持仓排名数据及访问方法
| 参数 | 类型 | 说明 |
| ------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `end_t` | datetime | 日期,截止日期; |
| `t` | array | 二维数组,结果存储。期货日成交持仓排名数据(截止日、代码、排名类型、排名、机构简称、数量、比上交易日增减) |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), 'IF1508');
GetFuturesTradeRankingByDate(20150722T, t);
return t;
```