FundTSGrowRatio
简述
总份额变比(%)=(期初BegT总份额-期末EndT总份额)/期末EndT总份额,该函数可以取基金、股票、债券的流通份额变化,与系统当前证券有关
FundTSGrowRatio(BegT:Date;EndT:Date):Real
名称 | 类型 | 说明 |
---|
BegT | Date | 日期 |
EndT | Date | 日期 |
返回 | Real | 实数,总份额变比(%) |
//取华安创新2005年1月1日到2012年1月1日之间的总份额变比(%)
Setsysparam(pn_stock(),'OF040001');
Return FundTSGrowRatio(inttodate(20050101),inttodate(20120101));
//结果:302.67