No, you forgot that we have different games in gambling, the casino live games and slot and also the sports games, if you bet on sports game, then you will realize that the speed of getting your results is not just in seconds but an hour time, it's in slot games you get your results immediately.
In trading too, the speed at which you executes your trade is based on the time frame you are using to trade, if you are using the 1 minutes time frame, you could just need one to five candles movement to close your trades, so if you are using the 1 minutes candle, in every 5 minutes you will be done with your trade but note, people who trade like that at mostly scalpers, it is risky too.
Bets can also be long-term, up to several months, as well as long-term trading, so gambling and trading have a lot in common in terms of time intervals, even more when we compare futures, but just as there are riskier players in gambling, so there are riskier traders in trading who are ready to trade with a large leverage. Only the more cautious (in both trading and gambling) can be profitable, both activities are quite complex and require a lot of experience and other qualities, so it is simply impossible to compare in general.