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,73 @@
# 金融 / 期货 / 期货手续费
## `futuresfeeamount(endt, feeamounttype)`
声明:function
获得指定日期货合约手续费(元/手),与系统参数(期货合约代码)相关
| 参数 | 类型 | 说明 |
| --------------- | --------- | ---------- |
| `endt` | datetime | 指定日, |
| `feeamounttype` | usrdefine | 手续费类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesFeeAmount(inttodate(20140328), 0);
```
## `futuresfeerate(endt, feeratetype)`
声明:function
获得指定日期货合约手续费(交易额万分之),与系统参数(期货合约代码)相关
| 参数 | 类型 | 说明 |
| ------------- | --------- | ---------- |
| `endt` | datetime | 指定日, |
| `feeratetype` | usrdefine | 手续费类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesFeeRate(inttodate(20140328), 0);
```
## `futuresspfeecost(endt, feetype, amount, vol)`
声明:function
期货手续费单位,与系统参数(期货合约代码)相关
| 参数 | 类型 | 说明 |
| --------- | --------- | --------------------- |
| `endt` | date | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
| `amount` | number | number,资金总额(元) |
| `vol` | integer | integer,资金总量(手) |
返回:real
## `futuresspfeeunit(endt, feetype)`
声明:function
期货手续费单位,与系统参数(期货合约代码)相关
| 参数 | 类型 | 说明 |
| --------- | --------- | -------------------- |
| `endt` | datetime | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
返回:string