You should really read more about what Machine Learning is.
The thing that you describe is automation, not AI. With machine learning computers can create their own algorithms, styles of trading, detect patterns, analyze data. With machine learning the program is literally writing ITSELF and...