![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
Yes, I am already able to pull data live from explorers of all altcoins and store them for later use. I'm interested in altcoins that support masternodes and for all of them I already have difficulty, network hash, ttf / block time, block reward, last block (I don't think that it's necessary in the formula). I'll take as example still RAP.
At the time of writing this I know for sure that during the last 10 days I mined between 130 and 180 RAP per day. Min and max values are so different because the coin is small and hashrate fluctuates a lot. Anyway it shouldn't be a problem for now. Let me add all variables.
My hashrate = 22000000 (hash/s)
Network hashrate = 175377838 (hash/s)
My share = 22000000 / 175377838 = 0.1254434 (1.25%)
TTF/s = 128 (seconds)
Emissions = 86400 / 128 = 675
Block Reward: 2.976 RAP
Difficulty = 5.660038
The amount of RAP mined per day at 22000000 hash/s should be equal to ((My share * Emissions) * Block Reward) therefore ((0.1254434 * 675) * 2.976) = 251.99 RAP.
The result is 71% greater than reality
![Sad](https://bitcointalk.org/Smileys/default/sad.gif)