Skip to content

Forecast stock prices using Facebook’s Prophet library via time-series modeling of historical data. The pipeline handles data ingestion, preprocessing, model fitting, visualization, and error evaluation to help explore future price trends.

License

Notifications You must be signed in to change notification settings

nurulashraf/prophet-stock-data-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stock Data Prediction using Prophet

A project to forecast stock price movements using Facebook’s Prophet library, based on historical stock data.

Project Structure

  • notebooks/ – Jupyter Notebooks for data analysis, model training and evaluation
  • requirements.txt – Python libraries needed to run the project
  • LICENSE – MIT Licence for this project
  • README.md – this file with overview and instructions

Features

  • Load historical stock data (e.g. via CSV or APIs)
  • Data preprocessing (cleaning, formatting) to make it compatible with Prophet
  • Time series forecasting using Prophet for future predictions
  • Plotting and visualization of historic vs predicted values
  • Quantitative evaluation (e.g. error metrics)
  • Jupyter notebooks for interactive exploration

Tools & Libraries

  • Python
  • pandas
  • matplotlib
  • yfinance
  • fbprophet
  • jupyterlab / jupyter notebooks

How to Use

  1. Clone the repository:

    git clone https://github.com/nurulashraf/prophet-stock-data-prediction.git
    cd prophet-stock-data-prediction
  2. (Optional) Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate       # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Open notebook

    Launch Jupyter:

    jupyter notebook

    or

    jupyter lab

    Then open the notebook in the notebooks/ folder.

License

This project is licensed under the MIT License. See the LICENSE file for full details.

About

Forecast stock prices using Facebook’s Prophet library via time-series modeling of historical data. The pipeline handles data ingestion, preprocessing, model fitting, visualization, and error evaluation to help explore future price trends.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published