Artificial intelligence is a form of machine learning where computer systems are trained with large data sets. Programs aimed at the stock market use this AI to analyze and forecast stock prices and to balance client portfolios.