Skip to content

Daniels-not/StockPrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Stock Predictions App πŸ”€

App Screenshot

This Streamlit app enables users to make stock predictions using the Prophet library. It provides an interactive interface for selecting a stock dataset, adjusting the prediction duration, and visualizing both raw and forecasted data.

Usage

  1. Select Dataset for Prediction: Use the dropdown menu to choose a stock dataset from a predefined list.

  2. Set Prediction Duration: Adjust the slider to specify the number of years for future predictions (between 1 and 10 years).

  3. Loading Data: The app displays loading messages while the selected stock data is being loaded. Once completed, it confirms the loading process.

  4. Raw Data Visualization: View the last rows of the loaded data and a plot of the raw data.

  5. Forecasting Dataset: Prepare the dataset for forecasting using the Prophet library.

  6. Create and Fit Prophet Model: Create a Prophet model and fit it with the training data.

  7. Predict Future Data: Generate future dates and predict corresponding stock prices.

  8. Display Forecast Results: View the last rows of the forecasted data and visualize forecast components.

Installation

pip install -r requirements.txt

Install the required dependencies using the provided requirements.txt file.

How to Run

streamlit run your_app_name.py

Make sure to replace your_app_name.py with the actual name of your Streamlit app file.

Dependencies

Emoji Guide

  • πŸ”€: Streamlit App
  • πŸ“: Raw Data
  • 🏰: Forecast Data
  • πŸ₯€: Forecast Components
  • πŸ”ƒ: Loading Data
  • 🧭: Loading Data Completed

Releases

No releases published

Packages

No packages published

Languages