Comment: Section 4 is updatedWe examine the problem of optimal portfolio allocation within the framework of utility theory. We apply exponential utility to derive the optimal diversification strategy and logarithmic utility to determine the optimal leverage. We enhance existing methodologies by incorporating compound probability distributions to model the effects of both statistical and non-stationary uncertainties. Additionally, we extend the maximum expected utility objective by including the variance of utility in the objective function, which we term generalized mean-variance. In the case of logarithmic utility, it provides a natural explanation for the half-Kelly criterion, a concept widely used by practitioners.