I have developed a project
https://github.com/peroksid90/crypto_calculatorto 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?

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).
That’s a pretty great discussion that we need to participate.
In my opinion I should vote for trading.
As if you have 2500$ all in total, then you have spend more in electricity etc to mine the Bitcoins.
Yes buy mining can give get profit, but if someone wants instant money then holding for some days can really give good profits then mining.