Skip to content

๐Ÿ“ˆ Stock Price Prediction Web App This is a Streamlit-based web application for Stock Price Prediction and Visualization. The app allows users to: ๐Ÿ“… Select a date range for analysis ๐Ÿข Choose a stock/company from the sidebar ๐Ÿ“Š Visualize historical stock prices with interactive plots ๐Ÿ”ฎ Forecast future stock prices using the ARIMA/ARIMAX model

Notifications You must be signed in to change notification settings

Shoaib1-coder/StockPricePrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Stock Price Prediction App

This is an interactive Stock Price Prediction Web App built using Streamlit. It allows users to visualize historical stock data and forecast future stock prices using ARIMA/ARIMAX models.


๐Ÿš€ Features

  • ๐Ÿ“… Select date range for stock data
  • ๐Ÿข Choose any listed company (via ticker symbol)
  • ๐Ÿ“Š Visualize historical stock trends using Plotly
  • ๐Ÿ”ฎ Predict future prices using ARIMA
  • ๐Ÿ“ˆ See forecasts plotted alongside actual prices
  • ๐Ÿ“ฅ Built with an intuitive sidebar for parameter selection

๐Ÿ› ๏ธ Technologies Used


๐Ÿ“ฆ Installation

  1. Clone the repository
git clone https://github.com/Shoaib1-coder/StockPricePrediction.git
cd StockPricePrediction
  1. Create a virtual environment (optional but recommended)
# Make sure Anaconda is installed: https://www.anaconda.com/products/distribution

# Create a new environment named 'stockprice' with Python 3.10
conda create --name stockprice python=3.10

# Activate the environment
conda activate stockprice
  1. Install dependencies
pip install -r requirements.txt

โ–ถ๏ธ Run the App

streamlit run app.py

๐Ÿ“ Project Structure

โ”œโ”€โ”€ app.py                 # Main Streamlit app
โ”œโ”€โ”€ requirements.txt       # Dependencies
โ”œโ”€โ”€ README.md              # This file
โ””โ”€โ”€ ...

๐Ÿ“Œ Usage Instructions

  1. Choose a company ticker symbol from the sidebar.
  2. Select a date range to analyze historical stock data.
  3. Choose the data column (e.g., Close, Open) for forecasting.
  4. View:
    • Interactive line charts for selected data
    • Forecast plots based on ARIMA model

๐Ÿง  ARIMA Model Details

The app uses pmdarima.auto_arima() to automatically find the best (p, d, q) parameters and generate forecasts.

  • p: Number of lag observations (AR)
  • d: Degree of differencing
  • q: Size of moving average window (MA)

๐Ÿ“ฌ Feedback and Contributions

Feel free to fork the repo, open issues, or submit pull requests.
For suggestions or feedback, contact: [mshoaib3393@gmail.com]


๐Ÿ“ License

This project is open-source and available under the MIT License.

About

๐Ÿ“ˆ Stock Price Prediction Web App This is a Streamlit-based web application for Stock Price Prediction and Visualization. The app allows users to: ๐Ÿ“… Select a date range for analysis ๐Ÿข Choose a stock/company from the sidebar ๐Ÿ“Š Visualize historical stock prices with interactive plots ๐Ÿ”ฎ Forecast future stock prices using the ARIMA/ARIMAX model

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages