📦 deps(tsl): sync tsl-playbook from 9dbd156d

Source-Commit: 9dbd156d0e
This commit is contained in:
ci[bot]
2026-07-07 08:44:07 +00:00
commit a2d9174549
524 changed files with 393502 additions and 0 deletions
@@ -0,0 +1,59 @@
# 板块 / 常用指标
## `Bk_AverageModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
返回板块财务指标算术平均,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
| 参数 | 类型 | 说明 |
| --------------- | -------- | ---------------------------------------------------------- |
| `info_id_arr` | array | 基本面数组,基本面 |
| `report_date` | datetime | 报告期 |
| `s_type` | any | 用户自定义,股票类型 |
| `sample_select` | any | 用户自定义,样本股选择 |
| `eps_criterion` | any | 实数,绩差股标准。每股收益(摊薄)< EPSCriterion即表示绩差股 |
返回:string
## `Bk_SumModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
返回板块财务指标和。指标由InfoIdArr给定,只能统计报告期相关的财务指标。当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
| 参数 | 类型 | 说明 |
| --------------- | -------- | ---------------------------------------------------------- |
| `info_id_arr` | array | 一维数组,InfoID列表。InfoID是与报告期相关的基本面ID |
| `report_date` | datetime | 报告期,报告期 |
| `s_type` | any | 用户自定义,股票类型 |
| `sample_select` | any | 用户自定义,样本股选择 |
| `eps_criterion` | any | 实数,绩差股标准。每股收益(摊薄)< EPSCriterion即表示绩差股 |
返回:string
## `Bk_ValueGrowRatio(info_id, report_date, s_type, sample_select, eps_criterion)`
财务指标同比增长,与系统参数(板块)相关。
| 参数 | 类型 | 说明 |
| --------------- | -------- | ----------------------------------------------------------- |
| `info_id` | string | 整数。基本面 |
| `report_date` | datetime | 整数。报告期 |
| `s_type` | any | 用户自定义。股票类型,取值如下: |
| `sample_select` | any | 用户自定义。样本股选择,取值如下: |
| `eps_criterion` | float | 实数。绩差股标准,每股收益(摊薄)<EPSCriterion即表示绩差股。 |
返回:float
## `stocksCommonModel(stock_arr, info_id_arr, report_date, s_type, sample_select, eps_criterion, _type)`
返回板块财务指标
| 参数 | 类型 | 说明 |
| --------------- | ----- | --------------------------------------------------------- |
| `stock_arr` | array | 一维字符串数组,股票列表 |
| `info_id_arr` | array | 一维数组,InfoID列表。InfoID是与报告期相关的基本面ID |
| `report_date` | int | 报告期,报告期 |
| `s_type` | int | 用户自定义,股票类型 |
| `sample_select` | int | 用户自定义,样本股选择 |
| `eps_criterion` | int | 实数,绩差股标准。每股收益(摊薄)<EPSCriterion即表示绩差股 |
| `_type` | int | 用户自定义,返回类型 |
返回:float