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

bd_GoalDate    

简述
到期日,与系统证券pn_stock()有关。
定义
bd_GoalDate (): Integer
参数
名称类型说明
返回 Integer整数型日期
  • 算法

    函数通过判断当前证券的股票类型,返回对应的到期日
    范例

    //返回”BK000201”的到期日
    SetSysParam(pn_stock(),'BK000201');  //设置当前证券
    return bd_GoalDate ();
    //结果:20100404
相关