Skip to content

Forecasting Apple (AAPL) stock prices from 5 years of Yahoo Finance data using Holt-Winters time series and a CNN model.

License

Notifications You must be signed in to change notification settings

DevAime/Apple-stock-forecast-matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AAPL Stock Price Forecasting

This project aims to forecast Apple (AAPL) stock prices using historical data from the last 5 years, retrieved from Yahoo Finance.
We implemented two approaches to build predictive models:

  • Time Series Forecasting Method: Holt-Winters Exponential Smoothing for capturing level, trend, and seasonality.
  • Deep Learning Method: Convolutional Neural Network (CNN) applied to stock price sequences for pattern recognition and future prediction.

Project Structure

  • Data Preprocessing: Handling missing values, normalization, and technical indicator calculation (moving average, RSI).

  • Time Series Model: Holt-Winters exponential smoothing for forecasting.

  • Deep Learning Model: CNN architecture trained on sliding windows of stock prices.

  • Evaluation: Performance metrics such as MSE, MAE, and RMSE are computed.

  • Visualization: Historical vs. predicted stock prices plotted for analysis.

  • Results

Holt-Winters Time Series Forecast

Screenshot 2025-09-20 214911

CNN Training Progress

Screenshot 2025-09-20 215006

CNN Validation & Forecast Results

Screenshot 2025-09-20 215029

About

Forecasting Apple (AAPL) stock prices from 5 years of Yahoo Finance data using Holt-Winters time series and a CNN model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages