CB_YTMSpread
简述
YTM利差为期限评级可比的中短票据到期收益率减去个券YTM;
CB_YTMSpread (EndT:datetime):Real
| 名称 | 类型 | 说明 |
|---|
| EndT | datetime | 日期,截止日。 |
| 返回 | Real | 实数,可转债当前YTM利差(BP) |
SetSysParam(PN_Stock(),"SZ128036");
SetSysParam(PN_Date(),inttodate(20190807));
return CB_YTMSpread ();//结果 953.19