BondDaysNewestPayment
简述
当前计息年度的实际天数,与系统参数(证券代码)相关。
BondDaysNewestPayment(SettlementDate:TDateTime;Option:Integer):Integer
| 名称 | 类型 | 说明 |
|---|
| SettlementDate | TDateTime | 日期。结算日 |
| Option | Integer | 用户自定义。方法,取值如下:
|
| 返回 | Integer | 整数。当前计息年度的实际天数。 |
Setsysparam(pn_Stock(),"BK010004");
return BondDaysNewestPayment(20120703T,1);
//结果:365