feat(tsl-api-reference): expand API and module coverage

This commit is contained in:
csh
2026-08-14 17:12:55 +08:00
parent 8f1056130d
commit 3d3036ebe1
571 changed files with 47842 additions and 14458 deletions
@@ -1,5 +1,31 @@
# 金融 / 债券 / 债券收益率
## `bondAccruedInterest1(par, coupon, f, t, ts)`
声明:function
计算银行间周期性付息债券的应计利息
<!-- tags: 金融 债券 债券收益率 应计利息 周期付息 -->
| 参数 | 类型 | 说明 |
| -------- | ------- | ------------------------------------------------------- |
| `par` | real | 剩余本金 |
| `coupon` | real | 本期票面利率,单位为百分比 |
| `f` | integer | 年付息频率 |
| `t` | integer | 计息日到结算日的实际天数,包含 2 月 29 日 |
| `ts` | integer | 当前计息周期的实际天数,以计息日为基准并包含 2 月 29 日 |
返回:real
### 示例
范例01:计算周期性付息债券的应计利息
```tsl
return bondAccruedInterest1(100.0, 5.0, 2, 30, 180);
```
## `bondAccruedInterest4(settlement_date)`
声明:function