Mitigating investment risks through diversification