Technologies Used: Python, Flask, yfinance, pandas, seaborn, matplotlib, scikit-learn, JavaScript
Flask web app for S&P 500 stock analysis, utilizing yfinance for data retrieval and linear regression for price prediction. Model accuracy is assessed using mean squared error (MSE) and mean absolute error (MAE). Visualizations such as line charts, heatmaps, and scatter plots are presented for data analysis. CSV data file creation processes is automated.
The application has been deployed as a Flask web application.
- To access the application, visit the following URL: https://stockpricepredictionml.onrender.com
*Note: The application is hosted on a free plan which spins down the instance with inactivity. This may result in slow or delayed loading of the app and charts. On the first visit to the URL, please allow up to one minute for the application to spin up on the hosting provider.
-
When the application has loaded, you should see the following user interface:
-
Select a stock ticker from the dropdown menu under ‘Tickers’ to generate the charts for the selected ticker.
-
You can view each generated chart by clicking on its associated button found under ‘Charts’.
-
You can find the mean squared error and mean absolute error values under the ‘Price Prediction’ chart selection.