Index_Value
简述
指数估值中间函数,与系统参数(证券代码,时间)相关。
Index_Value(RightType:Integer;SampleSelect:Integer;IndexType:Integer)
名称 | 类型 | 说明 |
---|
RightType | Integer | 用户自定义。取值如下:
|
SampleSelect | Integer | 用户自定义。取值如下:
|
IndexType | Integer | 用户自定义。取值如下:
显示名 |
取值 |
Index_PE |
1 |
Index_PB |
2 |
Index_PSR |
3 |
Index_PCF |
4 |
|
返回 | | 实数。不同类型下的指数估值的数据。 |
SetSysParam(pn_stock(),"SH000300");
SetSysParam(PN_Date(),20230522T);
return Index_Value(0,0,1);
//结果:12.19