✨ 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:
+59
@@ -0,0 +1,59 @@
|
||||
# 财务基本面 / 股东分析
|
||||
|
||||
### `getShareholdersDataSummary(stock_arr, rdate, dtype, top_n, stype)`
|
||||
|
||||
获取指定证券列表的汇总的股东数据
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ----------- | ----- | ----------------------- |
|
||||
| `stock_arr` | array | 一维字符串数组,证券列表 |
|
||||
| `rdate` | int | 报告期,报告期 |
|
||||
| `dtype` | int | 用户自定义,数据类型 |
|
||||
| `top_n` | int | 整数,前N |
|
||||
| `stype` | int | 用户自定义,汇总方式 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `queryMshByOrganName(stock_arr, end_t, qs_name, by_negotiable_share, include_non_negotiable_share)`
|
||||
|
||||
券商持股一览表。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------------------------ | ------ | -------------------------- |
|
||||
| `stock_arr` | array | 数组。股票列表。 |
|
||||
| `end_t` | int | 整数。报告期。 |
|
||||
| `qs_name` | string | 字符串。券商名称。 |
|
||||
| `by_negotiable_share` | int | 整数。是否流通股东。 |
|
||||
| `include_non_negotiable_share` | int | 整数。是否包含非流通股票。 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `stockCompanyLeaderShareholders(r_date)`
|
||||
|
||||
高管持股数据,与系统参数(股票代码)相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ---- | -------------- |
|
||||
| `r_date` | int | 整数。报告期。 |
|
||||
|
||||
返回:array
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
SetSysParam(PN_Stock(),"SZ000002");
|
||||
return StockCompanyLeaderShareholders(20101231);
|
||||
```
|
||||
|
||||
### `stocksSharesByOrganCall(bk_name, r_date, organ_type, top_n)`
|
||||
|
||||
指定报告期所有机构持股情况及其变化。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | -------- | ----------------------------------- |
|
||||
| `bk_name` | string | 字符串。板块名称,多个板块用;隔开。 |
|
||||
| `r_date` | datetime | 整数。报告期。 |
|
||||
| `organ_type` | any | 用户自定义,机构类别; |
|
||||
| `top_n` | any | 整数。前N名。 |
|
||||
|
||||
返回:array
|
||||
Reference in New Issue
Block a user