📝 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,77 @@
# 金融函数 - 债券 / 债券收益率曲线
## 函数
### `bondTermStructureOfYieldToMaturity(end_t, remain_duration)`
指定日指定期限的到期收益率,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ----------------- | -------- | ----------------- |
| `end_t` | datetime | 日期,截止日期 |
| `remain_duration` | float | 实数,剩余期限(年) |
返回:float
### `bondTermStructureOfForwardRate(end_t, remain_duration)`
指定日指定期限的远期利率,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ----------------- | -------- | ----------------- |
| `end_t` | datetime | 日期,截止日期 |
| `remain_duration` | float | 实数,剩余期限(年) |
返回:float
### `bondTermStructureOfForwardRateCurve(beg_t, end_t, remain_duration)`
指定剩余期限的远期利率曲线,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ----------------- | -------- | ----------------- |
| `beg_t` | datetime | 日期,开始日期 |
| `end_t` | datetime | 日期,截止日期 |
| `remain_duration` | float | 实数,剩余期限(年) |
返回:float
### `bondTermStructureOfYieldToMaturityEndT(end_t)`
指定日的到期收益率的期限结构,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `bondTermStructureOfSpotInterestRateEndT(end_t)`
指定日的即期利率的期限结构,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `bondTermStructureOfForwardRateEndT(end_t)`
指定日的远期利率的期限结构,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `bondTermStructure(end_t)`
指定日债券收益率曲线数据,与系统参数(证券代码)相关。
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:array