BK_FinancialRatio
简述
板块常用财务增长率。
BK_FinancialRatio(BKId:String;RDate:Integer;SType:Integer;SampleSelect:Integer;EPSCriterion:Real;ValueType:Integer):Real
名称 | 类型 | 说明 |
---|
BKId | String | 字符串。板块ID |
RDate | Integer | 整数。报告期 |
SType | Integer | 整数。股票类型。取值如下:
显示名 |
取值 |
全部 |
0 |
只考虑A股 |
1 |
只考虑B股 |
2 |
只考虑深证B股 |
3 |
只考虑上海B股 |
4 |
|
SampleSelect | Integer | 用户自定义。样本股选择,取值如下:
显示名 |
取值 |
全部样本股 |
0 |
剔除亏损股 |
1 |
剔除绩差股 |
2 |
|
EPSCriterion | Real | 实数。绩差股标准,每股收益(摊薄)<EPSCriterion即表示绩差股。
场景 |
备注 |
SampleSelect为0或1 |
此参数无效 |
SampleSelect为2 |
剔除对应RDate时点的期初报告期的每股收益小于EPSCriterion的股票 |
|
ValueType | Integer | 整数。指标选择 |
返回 | Real | 实数。板块常用财务增长率。 |
增长率=(本期增长率均值/上期增长率均值-1)*100
//SWHY280000在报告期20221231全部样本股的净利润增长率(%)
return BK_FinancialRatio("SWHY280000",20221231,0,0,0,0);
//结果:-13.49