How to maximize returns while minimizing investment risk