Stock Price Prediction Using Machine Learning is a Python Flask web application that retrieves stock market data from Yahoo Finance and presents price trends, RSI-based BUY, HOLD, or SELL recommendations, next-close estimates, interactive charts, financial metrics, historical data, CSV downloads, and a Stock Assistant through a modern dashboard.
Stock Price Prediction Using Machine Learning is a Python Flask-based web application presented through the StockSense AI interface. It retrieves historical stock market information using the yfinance library, processes financial data with Pandas and NumPy, and displays market insights through an interactive dashboard.
Users can enter a stock symbol to explore the latest available price, price changes, historical trends, trading volume, technical indicators, and company financial information. The application also generates an RSI-based BUY, HOLD, or SELL recommendation and estimates the next closing price using a simple linear trend.
The application retrieves historical market data through Yahoo Finance using yfinance. It calculates the Relative Strength Index (RSI) and uses the following thresholds for its recommendations:
For its next-close estimate, the application fits a straight-line trend to approximately the latest 30 closing prices and projects that trend forward. These calculations are transparent and suitable for educational exploration of stock analysis.
The dashboard combines price information, technical indicators, historical charts, company metrics, and generated insights in one interface. The Stock Assistant communicates with the application's insights endpoint and provides short responses about supported stock analysis topics.
This project is useful for students who want to understand Python web development, financial data retrieval, technical indicators, API communication, data visualization, and basic trend estimation. It can also serve as a learning example for building interactive financial dashboards.
Although the interface uses AI-focused labels, the documented prediction logic relies on RSI thresholds and a simple linear trend calculation rather than a trained machine learning or deep learning model. The application does not provide guaranteed stock predictions or professional investment advice. Its outputs should be treated as educational analysis, not as a basis for making financial decisions.
Watch Stock Price Prediction Project Demo
For the complete project overview, feature details, modules, setup instructions, and documentation, visit the official UPDATEGADH project page:
1. Extract the project ZIP file and open the project folder in Visual Studio Code. 2. Ensure Python is installed and available from the terminal. 3. Open the VS Code terminal in the project directory. 4. Create a virtual environment using: python -m venv venv 5. Activate the virtual environment on Windows using: venv\Scripts\activate 6. Install the required dependencies using: pip install -r requi.txt 7. Ensure the computer has an active internet connection to retrieve stock market data from Yahoo Finance. 8. Start the application using: python main.py 9. Wait for Flask to start and note the local address displayed in the terminal. 10. Open that address in your web browser. 11. Enter a supported stock symbol, such as AAPL, TSLA, or MSFT, and start the analysis. 12. Explore price charts, RSI recommendations, financial metrics, historical records, and CSV downloads.
No reviews yet. Be the first to review!