Skip to content

An app which forecast future stock prices based on historical trends with different charts, along with companies EPS, ROE, Market Capital, P/E Ratio etc.

Notifications You must be signed in to change notification settings

miyamura-web/Stock_Predicting_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock_Predicting_App

📈 Stock Analysis & Forecasting Hub

This is a personal project I built from scratch using Python and Streamlit, designed to help users analyze stock performance, explore technical indicators, and forecast future stock prices based on historical trends. The app combines real-time data analysis with predictive modeling to support smarter, data-driven investment decisions.

Screenshot 2025-05-11 164733


📘 About the App :

This application is organized into three main pages to provide a seamless stock research experience:

🏠 Home Page

A welcoming entry point to the app that introduces its features and guides users on how to navigate through the platform.

📊 Stock Analysis Page

  • Enter your favorite stock ticker (e.g., TSLA, AAPL)
    • View company details like sector, website, and number of employees
    • Analyze key financial metrics including Market Cap, P/E Ratio, EPS, ROE, and more
    • Access historical stock price data with flexible date filters
    • Visualize trends using interactive line and candlestick charts
    • Add technical indicators such as RSI, MACD, and Moving Averages

🔮 Stock Prediction Page

  • Generate 30-day closing price forecasts using a custom time-series pipeline
    • View RMSE model evaluation scores
    • Understand future stock trends through interactive forecast charts

Screenshot 2025-05-11 165101


How to use :

In the Ticker section, simply type your favorite stock ticker symbol (e.g., TSLA, AAPL, MSFT) and press Enter. The app will display all relevant stock information, including company details, key financial metrics, historical data, and interactive charts.

Screenshot 2025-05-11 164918


🛠️ Tech Stack

  • Library: Streamlit, Scikit-learn, Statsmodels, Plotly, Numpy, Pandas
  • Data Sources: Yahoo Finance (yfinance)
  • Visualization: Plotly
  • Modeling: Custom forecasting pipeline (ARIMA-style logic)

📊 Graphs & Visualizations

This app includes a range of interactive and insightful charts to enhance stock analysis and prediction:

📉 In the Stock Analysis Page:

  • Line Charts – Track historical closing prices over time.
  • Candlestick Charts – Visualize price movement with open, high, low, and close.
  • RSI (Relative Strength Index) – Identify overbought or oversold conditions.
  • MACD (Moving Average Convergence Divergence) – Analyze momentum and trend strength.
  • Moving Averages – Smooth out price data to spot trends.

Screenshot 2025-05-11 164852

--

🔮 In the Stock Prediction Page:

  • Forecast Line Chart – Displays predicted closing prices for the next 30 days.
  • Forecast Table (Interactive) – View forecasted prices with precision and scrollability.
  • Model Evaluation Plot (optional) – Understand model performance using RMSE.

Each graph is built using Plotly for responsiveness and interactivity, allowing zoom, hover, and export options.

Screenshot 2025-05-11 172944


📁 Folder Structure

  • Home.py

  • pages directory

    • Stock_Analysis.py
    • Stock_Prediction.py
    • utils
      • model_train.py
      • plotly_figure.py
      • init
  • app.png

  • SOURCES.txt

  • README.md


⚠️ Disclaimer

This project is built for educational and demonstration purposes only. The stock predictions and analysis provided by the app are based on historical data and do not constitute financial advice. Always conduct your own research before making investment decisions.

💡 Would appreciate your help in deploying this app as a public URL or any cloud hosting service. Feel free to fork the repo or contribute with suggestions!

About

An app which forecast future stock prices based on historical trends with different charts, along with companies EPS, ROE, Market Capital, P/E Ratio etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages