Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/financial/fund-portfolio-industry_allocation-intermediate.md
T

1.7 KiB

金融 / 基金 / 投资组合 / 行业配置 / 中间函数

fundICIValue(rdate, name)

声明:function

返回指定行业配置相关数据,与系统参数(基金)相关

参数 类型 说明
rdate int 整数。指定报告期
name string 字符串。行业名称

返回:array

示例

范例01:调用函数

SetSysParam(PN_Stock(), 'OF000001');
return FundICIValue(20221231, '制造业');

fundICNoN(rdate, top_n, field)

声明:function

返回第N名行业配置相关数据,与系统参数(基金)相关

参数 类型 说明
rdate int 整数。指定报告期
top_n int 整数。第N
field string 字符串。列名

返回:float

示例

范例01:调用函数

SetSysParam(PN_Stock(), 'OF000001');
return FundICNoN(20221231, 3, '市值');

fundICSumN(rdate, top_n, field)

声明:function

返回前N名行业配置相关数据,与系统参数(基金)相关

参数 类型 说明
rdate int 整数。指定报告期
top_n int 整数。前N
field string 字符串。列名

返回:float

示例

范例01:调用函数

SetSysParam(PN_Stock(), 'OF000001');
return FundICSumN(20221231, 3, '市值');