# 金融 / 基金 / 基金行业 / 中间函数 ## `fundGetIndustrydata(fundid, endt, level, industry_type)` 声明:function 基金指定日期有效的基金分类数据 | 参数 | 类型 | 说明 | | --------------- | ----------- | --------------------- | | `fundid` | string | 字符串。基金代码 | | `endt` | t_date_time | 日期。截止日期 | | `level` | integer | 整数。类别级数(1,2) | | `industry_type` | string | 字符串。基金属性名称 | 返回:array ### 示例 范例01:华夏成长在20201207的有效的基金分类数据 ```tsl // 华夏成长在20201207的有效的基金分类数据 return FundGetIndustrydata('OF000001', 20210301T, 1, 'YHFL'); ``` ## `fundIndustryInfoLvN(fundid, end_t, level, industry_type, vtype)` 声明:function 返回指定基金指定日期指定级别的类型名称,默认取银河基金分类的一级基金类型编码 | 参数 | 类型 | 说明 | | --------------- | ----------- | --------------------------- | | `fundid` | string | 字符串。基金代码 | | `end_t` | t_date_time | 日期。截止日期 | | `level` | integer | 整数。分类级别 | | `industry_type` | string | 字符串。基金分类名称 | | `vtype` | integer | 整数。返回值类型,取值如下: | 返回:string ### 示例 范例01:调用函数 ```tsl // 华夏成长在20201207的一级类型名称 return fundIndustryInfoLvN('OF000001', 20210301T, 1, 'YHFL', 1); // 输出:银河混合型 ``` ## `fundYHIndustryArr(industry_type, level_n, end_t)` 声明:function 指定日指定级别基金分类列表,默认返回银河分类的一级分类列表 | 参数 | 类型 | 说明 | | --------------- | ----------- | ---------------- | | `industry_type` | string | 字符串。基金分类 | | `level_n` | integer | 整数。基金级数 | | `end_t` | t_date_time | 日期。截止日期 | 返回:array ### 示例 范例01:调用函数 ```tsl // 在20210302的银河基金分类的1级分类成分 return fundYhIndustryArr('YHFL', 1, 20210302T); ```