Block_FinancialItems
简述
返回指定板块指定报告期的主要财务数据。
Block_FinancialItems(BKNames:String;RDate:Interger;RightType:Interger;Stype:Interger;SampleSelect:Interger;EPSCriterion:Real;ReturnType:Interger):Array
| 名称 | 类型 | 说明 |
|---|
| BKNames | String | 字符串类型,板块名称 |
| RDate | Interger | 报告期类型,财务报告期 |
| RightType | Interger | 整型,加权方式
|
显示名 |
取值 | |
总股本加权 |
0 | |
流通股本加权 |
1 | |
算术平均 |
2 |
|
| Stype | Interger | 整型,股票类型
|
显示名 |
取值 | |
全部 |
0 | |
只考虑A股 |
1 | |
只考虑B股 |
2 | |
只考虑深圳B股 |
3 | |
只考虑上海B股 |
4 |
|
| SampleSelect | Interger | 整型,样本选择
|
显示名 |
取值 | |
全部 |
0 | |
剔除亏损 |
1 | |
剔除绩差 |
2 |
|
| EPSCriterion | Real | 实数,绩差股标准 |
| ReturnType | Interger | 整型,返回类型
|
| 返回 | Array | 数组类型,返回指定板块指定报告期的主要财务数据 |
//返回上证A股在报告期20201231的主要财务数据
Return Block_FinancialItems("上证A股",20201231,0,0,0,0,0);