知识库 > 金融建模 > 公用函数 > 扩展函数 > .Net扩展函数 > 行情 > 上市日

StockIndexZf5    

简述
上市日指数涨幅(%)
定义
StockIndexZf5(IndexId:String):Real;
参数

IndexId:字符串类型,指数代码

返回:实数
  • 范例:

    //返回SZ000002(万科A)上市日当天上证指数的涨幅(%)
    SetSysParam(PN_Stock(),'SZ000002');
    return StockIndexZf5('SH000001'); 
    //结果:0.9639

相关