These Python scripts use machine learning models to predict stock prices in real-time, based on historical data and updates, displaying predicted vs actual prices on a continually updated plot.
git clone https://github.com/JOravetz/Predict_the_Next_Close_Price.git
The repository contains many simple examples, using various machine-learning models, to predict the close price of the next time sample. Check out the streaming, minute bar example.