Qiwoman - Have a look at
http://www.bitcoin247.tips/ (It is the only domain remotely relevant to altcoins I own)
It should be self explanatory.
I have a feeling that you have been calculating the bagholder bonus differently. I have added the 0.5% or 1% or 2% bonus to the total coins in each individual wallet.
Then the payout is calculated based as a percentage for the new adjusted total in the wallet.
To see how this will work in the future set the date to something like 20/10/2014. As the data only starts from the 01/10/2014 there is only 20 days of data. The average holding is reduced because the total is still divided by 31.
Still a few things to do such as add a minimum number of days before eligible for payout and the CSV export.
If you have been paying the bag holder bonus on the payout itself then that is some ninja maths that you will need to explain in full as I'm not clever enough to work that one out. NICE WORK! lt's presented in a way that's easy enough for even a noob like me follow how the payment is calculated!
