https://github.com/peroksid90/crypto_calculator
to compare mining vs holding. Contributions and comments are welcome.
For example,
you have 2500 $.
You can buy a miner or just invest this money to BTC.
Which is better in the long run?
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fgithub.com%2Fperoksid90%2Fcrypto_calculator%2Fraw%2Fmain%2Fdemo2.png%3Fraw%3Dtrue&t=663&c=Kc0Za135oMSUlg)
So at the end we see:
the worst case: do mining and sell mined profit every day (red line) (7300$)
the better: just buy and hold (olive line) (8200 $)
the best: do mining and don't sell. (magenta) (12500 $)
magenta and red doesn't include the miner market price. So actually we should add it to the profit, because the equipment price is also rise(even used).