✨ feat(tsl-api-reference): expand API and module coverage
This commit is contained in:
+43
@@ -185,6 +185,49 @@ return IsDelistingPeriod();
|
||||
// 输出:1
|
||||
```
|
||||
|
||||
## `isFCompany(id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断指定股票是否属于金融公司
|
||||
|
||||
<!-- tags: 金融 股票 基本情况 金融公司 判断 financial company -->
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---- | ------ | -------- |
|
||||
| `id` | string | 股票代码 |
|
||||
|
||||
返回:integer
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:判断万科 A 是否属于金融公司
|
||||
|
||||
```tsl
|
||||
return isFCompany("SZ000002");
|
||||
// 输出:0
|
||||
```
|
||||
|
||||
## `isFCompany_()`
|
||||
|
||||
声明:function
|
||||
|
||||
判断系统参数指定的股票是否属于金融公司
|
||||
|
||||
<!-- tags: 金融 股票 基本情况 金融公司 判断 系统参数 financial company -->
|
||||
|
||||
返回:integer
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:判断平安银行是否属于金融公司
|
||||
|
||||
```tsl
|
||||
setSysParam(pn_stock(), "SZ000001");
|
||||
return isFCompany_();
|
||||
// 输出:1
|
||||
```
|
||||
|
||||
## `isFCompany2(industry_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
Reference in New Issue
Block a user