Skip to content

πŸ“ˆ Stock Price Predictor App A deep learning-based stock price predictor using Streamlit, Keras, and Yahoo Finance. It fetches real-time stock data, applies moving averages, and predicts future prices using an LSTM model. Works on Google Colab, making it accessible to all users! πŸš€

Notifications You must be signed in to change notification settings

2003-umme/StockPricePredictor

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ Stock Price Predictor App

πŸš€ Predict future stock prices with AI! This project uses deep learning (LSTM) to analyze historical stock data and forecast future trends. With Streamlit & Yahoo Finance, you can interactively predict stock prices. Plus, it runs seamlessly on Google Colabβ€”no powerful hardware needed! 🎯


πŸš€ Features

βœ… Real-time stock data fetching from Yahoo Finance πŸ“Š
βœ… Deep Learning (LSTM) based stock price prediction πŸ€–
βœ… Interactive moving average (100, 200, 250 days) visualization πŸ“ˆ
βœ… Easy deployment & access with Streamlit 🌐
βœ… Google Colab supportβ€”run it anywhere, no setup required! πŸ’»


πŸ“Œ Steps to Run the Project

1️⃣ Upload Files to Google Colab πŸ“‚

Follow these steps to upload the required files:

  1. Open Google Colab (Click Here)
  2. Click on the folder icon πŸ“ in the left sidebar
  3. Click the Upload button ⬆️ and select these two files:
    • stock_price.ipynb (Jupyter Notebook)
    • web_stock_price_predictor.py (Streamlit App)

2️⃣ Run the Jupyter Notebook ▢️

Just click on Run All Cells in stock_price.ipynb. The model will train, and the server will start.

3️⃣ Get Your App Link πŸ”—

Once the notebook runs successfully, you’ll see a Streamlit App link in the last output cell. Click on it! 🎯

4️⃣ Enter the Password πŸ”‘

The app will ask for a password. Run the command below in Cell 2 of the notebook:

!wget -q -O - ipv4.icanhazip.com

Copy the output and enter it as your password.

5️⃣ Start Using Your Stock Predictor πŸ“ˆ

You’re in! Congrats! πŸŽ‰


πŸ“Š How to Use the App

πŸ” Step 1: Find Stock Ticker Symbol

Go to Yahoo Finance πŸ”— and search for a stock. Find the short form (ticker) inside parentheses:

  • Example: Microsoft Corporation (MSFT), Apple (AAPL), Tesla (TSLA).

⌨️ Step 2: Enter Stock Code

In the app, type the company code (e.g., MSFT for Microsoft) and hit Enter! πŸš€

πŸ–¨οΈ Step 3: Print the Results

Click on the three dots in the top-right corner of the app and select Print to save your predictions. πŸ–¨οΈ


πŸ”§ Installation & Running Locally (Optional)

Want to run it on your local machine instead of Google Colab? Follow these steps:

1️⃣ Clone the Repository

git clone https://github.com/your-username/stock-price-predictor.git
cd stock-price-predictor

2️⃣ Install Dependencies

pip install -r requirements.txt

3️⃣ Run the App

streamlit run web_stock_price_predictor.py

🎯 Technologies Used

  • Python 🐍
  • Streamlit πŸš€
  • Keras / TensorFlow 🧠
  • Yahoo Finance API πŸ“Š
  • Pandas, NumPy, Matplotlib πŸ”¬

🀝 Contributing

Love this project? Fork it, improve it, and send a Pull Request! πŸš€


πŸ“§ Contact

For questions or feedback, open a GitHub Issue or reach out via email. πŸ’Œ


🎯 Start predicting stock trends with AI! Happy Trading! πŸ’ΉπŸ“Š

About

πŸ“ˆ Stock Price Predictor App A deep learning-based stock price predictor using Streamlit, Keras, and Yahoo Finance. It fetches real-time stock data, applies moving averages, and predicts future prices using an LSTM model. Works on Google Colab, making it accessible to all users! πŸš€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Python 0.2%