FundMaxMinNAW
简述
取区间内单位(累计)净值的最大或最小值,与系统证券pn_stock()相关。
FundMaxMinNAW(BegT:Date;EndT:Date;Type:Integer;ReturnType:Integer):Real
名称 | 类型 | 说明 |
---|
BegT | Date | 开始日期 |
EndT | Date | 截止日期 |
Type | Integer | 返回内容
 |
ReturnType | Integer | 返回的类型
 |
返回 | Real | 实数,区间单位(累计)净值的最大或最小净值 |
//返回华安创新2004年9月30日到2012年10月18日之间的最大单位净值
Setsysparam(pn_stock(),'OF040001') ;
ReturnFundMaxMinNAW(inttodate(20040930),inttodate(20121018),0,0);
//结果:4.452