FundMaxMinNAW2
简述
上市以来至EndT这段时间内单位(累计)净值的最大或最小值,与系统证券pn_stock()相关。
FundMaxMinNAW2(EndT:Date;Type:Integer;ReturnType:Integer):Real
名称 | 类型 | 说明 |
---|
EndT | Date | 截止日期 |
Type | Integer | 返回内容
 |
ReturnType | Integer | 返回的类型
 |
返回 | Real | 实数,上市以来单位(累计)净值的最大/最小值 |
//返回华安创新上市以来到2012年10月18日之间的最大单位净值
Setsysparam(pn_stock(),'OF040001') ;
ReturnFundMaxMinNAW2(inttodate(20121018),0,0);
//结果:4.452