📝 docs(tsl): add generated codegen reference

This commit is contained in:
csh
2026-07-07 16:34:27 +08:00
parent 014c23d386
commit 7046f0b60e
632 changed files with 160584 additions and 0 deletions
@@ -0,0 +1,39 @@
# 金融函数 - 债券 / 债券派息和利率
## 函数
### `bondLastPeriodInterest()`
最后一期利息(公布日相关)
返回:float
### `bondSumofInterest()`
债券到期支付的利息和
返回:float
### `bondCashflow(begt, endt, option)`
债券在指定日或者时间区间对应的现金流数据。 备注: 债券未来现金流中调用时日期需+1,表示提取的未来现金流
| 参数 | 类型 | 说明 |
| -------- | -------- | -------- |
| `begt` | datetime | 起始日期 |
| `endt` | datetime | 截止日期 |
| `option` | any | 是否行权 |
返回:array
### `bondCashflowHistroy(beg_t, end_t, option)`
指定区间的历史现金流
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------------ |
| `beg_t` | datetime | 日期,开始日 |
| `end_t` | datetime | 日期,截止日 |
| `option` | any | 用户自定义,是否考虑行权 |
返回:array