FundPFAmount
简述
获取基金的区间分红总额(万),与系统证券pn_stock()相关。
FundPFAmount(BegT:Date;EndT:Date):Real
名称 | 类型 | 说明 |
---|
BegT | Date | 开始日期 |
EndT | Date | 截止日期 |
返回 | Real | 实数,区间分红总额(万) |
//取基金金泰2008年2月1日到2010年3月5日之间的分红总额(万)
Setsysparam(pn_stock(),'SH500001');
Return FundPFAmount (inttodate(20080201),inttodate(20100305));
//结果:336476