Betting/Gambling is haram, because the profit/loss earned is without any effort. Investing is halal, because the profit/loss earned is with effort