Optimal Investment Strategy for Risky Assets