FundsTSDecreaseCount
简述
返回基金板块发生净赎回的基金个数,净赎回通过不同时间基金份额变动计算。
FundsTSDecreaseCount(FundArr:Array;BegT:DateTime;EndT:DateTime;FundType:Int):Int
| 名称 | 类型 | 说明 |
|---|
| FundArr | Array | 数组类型,基金代码列表 |
| BegT | DateTime | 开始日 |
| EndT | DateTime | 截止日 |
| FundType | Int | 自定义类型,基金类型
|
显示名 |
取值 | |
全部 |
-1 | |
混合型 |
0 | |
股票型 |
1 | |
保本型 |
2 | |
货币型 |
3 | |
债券型 |
4 | |
商品型 |
5 | |
股票+混合 |
6 | |
混合+债券 |
7 | |
债券+保本 |
8 | |
非货币型 |
9 |
|
| 返回 | Int | 整数 |
//深证基金、上证基金、开放式基金2018年1-3月发生净赎回的基金个数
FundArr := getbk("深证基金;上证基金;开放式基金");
return FundsTSDecreaseCount(FundArr,20180101T,20180301T,-1);
//结果:234