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,45 @@
# 金融 / 期货 / 期货保证金
## `futuresMaintenanceMarginRate(end_t, margin_rate_type)`
声明:function
期货结算保证金率(%),取自期货结算参数(表704)中小于或等于EndT的最后一条数据,与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------------------ | -------- | ------------------ |
| `end_t` | datetime | 日期,截止日 |
| `margin_rate_type` | int | 整数,保证金率类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesMaintenanceMarginRate(inttodate(20140331), 0);
```
## `futuresTradingMarginRate(end_t, margin_rate_type)`
声明:function
期货交易保证金率(%),取自期货结算参数(表704)中小于或等于EndT-1的最后一条数据,与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------------------ | -------- | ------------------ |
| `end_t` | datetime | 日期,截止日 |
| `margin_rate_type` | int | 整数,保证金率类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesTradingMarginRate(inttodate(20140331), 0);
```