FundICCentralization
简述
基金指定报告期的前N名行业集中度(%)
与系统股票pn_stock()相关。
FundICCentralization(ReportDate:Integer;ToNo:Integer):Real
名称 | 类型 | 说明 |
---|
ReportDate | Integer | 报告期 |
ToNo | Integer | 用户自定义
显示名 |
取值 |
全部 |
0 |
前三名 |
3 |
前五名 |
5 |
前十名 |
10 |
|
返回 | Real | 实数,前N名行业行业集中度(%) |
(持仓前N名的行业总市值之和/所有持仓股票的总市值之和)*100%
//返回华安创新2010年一季报持有的前3大行业的集中度
SetSysParam(pn_stock(),'OF040001');
RDate:=20100331;
return FundICCentralization(RDate,3);
//结果:52.49