Script to calculate delegator epoch returns for all pillars
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/12/script-to-calculate-delegator-epoch-returns-for-all-pillars_61abe6ef072ab-375x210.jpeg)
Script to calculate estimated delegator epoch returns for all Pillars, so you can delegate to the best one.
You can find me on TG: @vibeznn
If you’d like to donate for future scripts and data science projects on/around NoM please send to:
z1qpn04kmqdn9qyx45znwr2stnerqm8rg0y2vdm8
Thanks!
Usage
You can run this script from an IDE or from commandline with “python3 delegator_calculator.py”.
*
When you run this script it defaults to 100 znn delegation size, so the epochRewardsForMe columns is equal to daily APR. You can change this balance by chaning my_balance variable in the script on line 176.
You can also edit the script to include the current pillar you’re delegated to on line 176 with variable current_pillar = ‘PILLAR NAME’.
This way your own delegated weight isn’t added