Contributions¶
- q.ContributionTotals(days1, days2, funds)¶
- Returns:
Total $ amount of the contributions according to the parameters
- Return type:
float
- Parameters:
days1 (int) – For the start date number of days before today
days2 (int) – For the end date number of days before today
funds (str,int) – See Funds Parameter
- q.ContributionCount(days1, days2, funds)¶
- Returns:
Total count of the contributions according to the parameters
- Return type:
int
- Parameters:
days1 (int) – For the start date number of days before today
days2 (int) – For the end date number of days before today
funds (str,int) – See Funds Parameter
- q.DateRangeForContributionTotals(days1, days2)¶
- Returns:
A string showing the from / to dates, useful for reconciling the numbers.
- Return type:
str
- Parameters:
days1 (int) – For the start date number of days before today
days2 (int) – For the end date number of days before today
Funds Parameter¶
This can be the id of the fund to limit the contributions to. For all funds, use 0. Or you can enter multiple ids in a str separated by commas. If you make an id negative (e.g. -1003) it will exclude that fund.