✨ feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references. Keep the existing generated index without rebuilding after signature normalization.
This commit is contained in:
+79
@@ -0,0 +1,79 @@
|
||||
# 金融 / 债券 / 基本信息
|
||||
|
||||
## `bondConvertibleBonds2()`
|
||||
|
||||
声明:function
|
||||
|
||||
所有的可转债
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
// 所有的可转债
|
||||
return bondConvertibleBonds2();
|
||||
```
|
||||
|
||||
## `bondInterBankIds2()`
|
||||
|
||||
声明:function
|
||||
|
||||
所有的银行间债券(包含退市)
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:所有的银行间债券(包含退市)
|
||||
|
||||
```tsl
|
||||
// 所有的银行间债券(包含退市)
|
||||
|
||||
return BondInterBankIds2();
|
||||
```
|
||||
|
||||
## `bondRatingByEndt(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日最新债券评级,与系统参数(证券代码)相关
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------ |
|
||||
| `endt` | datetime | 日期。截止日 |
|
||||
|
||||
返回:string
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), 'SH110073');
|
||||
return BondRatingByEndt(20240819T);
|
||||
```
|
||||
|
||||
## `bondRatingByEndtByInstitution(endt, institution)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日指定评级机构的债券评级,与系统参数(证券代码)相关。如果无该评级机构的评级,则返回""
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | -------- | -------------------- |
|
||||
| `endt` | datetime | 日期。截止日 |
|
||||
| `institution` | string | 字符串。评级机构名称 |
|
||||
|
||||
返回:string
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), 'SH110073');
|
||||
return BondRatingByEndtByInstitution(20240819T, "联合评级");
|
||||
```
|
||||
Reference in New Issue
Block a user