天软金融分析.NET函数大全 > 金融函数 > 股票 > 基本情况 > 基本情况

Stock2IndexId    

简述
返回股票对应的指数代码。
定义
Stock2IndexId ():String
参数
名称类型说明
返回String指数代码
  • 范例

    //返回"SZ000001"的指数代码

    ov:=BackUpSystemParameters();
    SetSysParam(pn_stock(),"SZ000001");
    R:= Stock2IndexId();
    RestoreSystemParameters(ov);
    Return R;
    //结果:"SZ399107"
相关