✨ feat(skills): add tsl api reference skill
Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# 债券 / 标准券折算率
|
||||
|
||||
### `bondSbcrCoverRatioEndT(end_t)`
|
||||
|
||||
指定日标准券折算率,与系统参数(证券)相关。如果返回0,说明无相应的开始适用日和结束适用日或当前债券已到期。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | -------------- |
|
||||
| `end_t` | datetime | 日期。截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
SetSysParam(pn_stock(),"SH120303");
|
||||
return BondSBCRCoverRatioEndT(20201201T);
|
||||
```
|
||||
|
||||
### `bondSbcrCoverRatioValue(end_t)`
|
||||
|
||||
与系统参数(证券)相关。如果返回array(),说明无相关数据。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | -------------- |
|
||||
| `end_t` | datetime | 日期。截止日期 |
|
||||
|
||||
返回:any
|
||||
|
||||
### `bondSbcrIsFinacingCover(end_t)`
|
||||
|
||||
指定日是否可融资折算,与系统参数(证券)相关。如果返回0,说明无相应的开始适用日和结束适用日或当前债券已到期。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | -------------- |
|
||||
| `end_t` | datetime | 日期。截止日期 |
|
||||
|
||||
返回:int
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
SetSysParam(pn_stock(),"SH120303");
|
||||
return BondSBCRIsFinacingCover(20201201T);
|
||||
```
|
||||
Reference in New Issue
Block a user