How to avoid over-speculation in investments