IndexIndusNoNCode
简述
第N名行业的名称
IndexIndusNoNCode(Endt:Date;Topn:Integer;Industype:Integer):String
名称 | 类型 | 说明 |
---|
Endt | Date | 日期,截止日期 |
Topn | Integer | 整型,第N |
Industype | Integer | 整型,行业类别
取值 |
行业类别 |
1 |
证监会一级行业 |
2 |
证监会二级行业 |
3 |
中证一级行业 |
4 |
中证二级行业 |
5 |
申万一级行业 |
6 |
申万二级行业 |
|
返回 | String | 字符串 |
// 在2020-09-24第2名行业的名称
setsysparam(pn_stock(),'SH000300');
return IndexIndusNoNCode(20200924T,2,1); //结果:金融业