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,37 @@
# 金融 / 债券 / 债券收益率曲线 / 中间函数
## `getBondSYLQKByTypeAndYears(begt, endt, ayear, p_bond_id)`
声明:function
区间债券对应年期的到期收益率
| 参数 | 类型 | 说明 |
| ----------- | -------- | -------------------- |
| `begt` | datetime | 日期。起始日期 |
| `endt` | datetime | 日期。截止日期 |
| `ayear` | float | 实数。年限 |
| `p_bond_id` | string | 字符串。债券种类代码 |
返回:array
### 示例
范例01:调用 GetBondSYLQKByTypeAndYears
```tsl
return GetBondSYLQKByTypeAndYears(20150101T, 20181231T, 10, 'BTS000033');
```
## `getBondTermStructureByRemainDuration(type, remain_duration)`
声明:function
指定日指定剩余期限债券收益率数据,与系统股票相关
| 参数 | 类型 | 说明 |
| ----------------- | ----- | --------------------------------------- |
| `type` | int | 用户自定义,收益率曲线类型,其取值如下: |
| `remain_duration` | float | 实数,剩余期限(年) |
返回:float