📝 docs(tsl): complete and lint codegen reference

This commit is contained in:
csh
2026-07-07 16:46:51 +08:00
parent 16e0992dd2
commit bbf6977f57
232 changed files with 39191 additions and 29763 deletions
@@ -1,6 +1,6 @@
# 板块 / 常用指标
### `bkAverageModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
## `Bk_AverageModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
返回板块财务指标算术平均,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
@@ -14,7 +14,7 @@
返回:string
### `bkSumModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
## `Bk_SumModel(info_id_arr, report_date, s_type, sample_select, eps_criterion)`
返回板块财务指标和。指标由InfoIdArr给定,只能统计报告期相关的财务指标。当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
@@ -28,7 +28,7 @@
返回:string
### `bkValueGrowRatio(info_id, report_date, s_type, sample_select, eps_criterion)`
## `Bk_ValueGrowRatio(info_id, report_date, s_type, sample_select, eps_criterion)`
财务指标同比增长,与系统参数(板块)相关。
@@ -42,7 +42,7 @@
返回:float
### `stocksCommonModel(stock_arr, info_id_arr, report_date, s_type, sample_select, eps_criterion, _type)`
## `stocksCommonModel(stock_arr, info_id_arr, report_date, s_type, sample_select, eps_criterion, _type)`
返回板块财务指标
@@ -54,6 +54,6 @@
| `s_type` | int | 用户自定义,股票类型 |
| `sample_select` | int | 用户自定义,样本股选择 |
| `eps_criterion` | int | 实数,绩差股标准。每股收益(摊薄)<EPSCriterion即表示绩差股 |
| `_type` | int | 用户自定义,返回类型 |
| `_type` | int | 用户自定义,返回类型 |
返回:float