Text this: Optimal diversification of the securities portfolio