Managing Risks and Maximizing Profits