It doesn’t work, otherwise everyone would do it.
If someone sells to you a way to outperform the market, it’s always bogus. If they knew how to do that, they’d just trade themselves instead of making less money selling it to you.
There are big players that use ML in trading, but that is not accessible to small time investors and not a cash cow (yet) either afaik. The stock market is a complex system and it’s incredibly hard to model complex systems.
I’ve done some Qlearning trading (RL) on historical data for fun and it’s very hard and doesn’t perform that well on subsequent test transactions.
Trading generally does not work for retail investors. Barely anyone consistently and long-term outperforms buy&holding the market.