Index_RM_FactorRet
简述
指数最新日因子收益率(%),与系统证券、时间相关,底层调用模型Index_RM_FactorRetQK。
Index_RM_FactorRet(Dtype:integer):array
| 名称 | 类型 | 说明 |
|---|
| DType | integer | 用户自定义,数据类型,默认为3,提取风格因子收益
|
取值 |
含义 | |
0 |
全部因子 | |
1 |
国家因子 | |
2 |
行业因子 | |
3 |
风格因子 |
|
| 返回 | array | 数组, 指数最新日因子收益率(%) |
//提取中证全指市场,20210120日的风格因子收益率(%)
IndexID:="SH000985";
EndT:=20210120T;
DType:=3;
setsysparam(pn_stock(),IndexID);
setsysparam(pn_date(),EndT);
return Index_RM_FactorRet(DType);
//结果:
