Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/bond/coupon_rate.md
T
csh 13be5ea0aa feat(tsl-api-reference): index class and unit APIs
Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
2026-07-29 15:47:46 +08:00

1.2 KiB

债券 / 债券派息和利率

bondCashflow(begt, endt, option)

声明:function

债券在指定日或者时间区间对应的现金流数据。 备注: 债券未来现金流中调用时日期需+1,表示提取的未来现金流

参数 类型 说明
begt datetime 起始日期
endt datetime 截止日期
option int 是否行权

返回:array

示例

债券SH010107在20170731T的现金流
Endt:=20170731T;
Setsysparam(pn_Stock(),”SH010107”);
Return BondCashFlow(Endt);

bondCashflowHistroy(beg_t, end_t, option)

声明:function

指定区间的历史现金流

参数 类型 说明
beg_t datetime 日期,开始日
end_t datetime 日期,截止日
option UserDefine 用户自定义,是否考虑行权

返回:array

bondLastPeriodInterest()

声明:function

最后一期利息(公布日相关)

返回:int

bondSumofInterest()

声明:function

债券到期支付的利息和

返回:float