天软金融分析.NET函数大全 > 金融函数 > 指数 > 估值指标

Index_Value    

简述
指数估值中间函数,与系统参数(证券代码,时间)相关。
定义
Index_Value(RightType:Integer;SampleSelect:Integer;IndexType:Integer)
参数
名称类型说明
RightTypeInteger用户自定义。取值如下:
显示名 取值
总股本加权 0
中位数 1
SampleSelectInteger用户自定义。取值如下:
显示名 取值
全部 0
剔除亏损 1
IndexTypeInteger用户自定义。取值如下:
显示名 取值
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

相关