# 金融函数 - 债券 / 债券收益率曲线 ## 函数 ### `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