average_balance_recharges

bandicoot.recharge.average_balance_recharges(user, **kwargs)

Return the average daily balance estimated from all recharges. We assume a linear usage between two recharges, and an empty balance before a recharge.

The average balance can be seen as the area under the curve delimited by all recharges.