S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods

This paper explores the efficiency of LSTM neural networks in predicting price movements for the two major U.S. stock indices: the S&P-500 and the Nasdaq-100 index. We consider three distinct daily periods: “overnight” (Close-to-Open), “daytime” (Open-to-Close) and “24-hour” (Close-to-Close) tra...

Full description

Saved in:
Bibliographic Details
Main Authors: Xiang Zhang, Eugene Pinsky
Format: Article
Language:English
Published: Elsevier 2025-03-01
Series:Machine Learning with Applications
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2666827024000938
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850043874342338560
author Xiang Zhang
Eugene Pinsky
author_facet Xiang Zhang
Eugene Pinsky
author_sort Xiang Zhang
collection DOAJ
description This paper explores the efficiency of LSTM neural networks in predicting price movements for the two major U.S. stock indices: the S&P-500 and the Nasdaq-100 index. We consider three distinct daily periods: “overnight” (Close-to-Open), “daytime” (Open-to-Close) and “24-hour” (Close-to-Close) trading sessions. Using historical pricing data for these indices since 2000, this study shows how well the standard LSTM model captures price movement patterns to improve short-term trading strategies. The findings reveal that, for the S&P-500, a one-year training with 24-hour periods delivers a 14.5% more return over the Buy-and-Hold strategy. Moreover, combining “overnight” and “daytime” strategies delivers more than 40% return compared to passive index investing. By contrast, for the Nasdaq-100, a shorter training period of three months for “24-hour” periods delivers 90% more return than passive index investing. These results suggest that LSTM effectively learns the unique market dynamics associated with each index and different time periods, offering further insights into how deep learning can enhance financial forecasting and trading opportunities.
format Article
id doaj-art-eaa06030dea546d7a1283cb243d951ab
institution DOAJ
issn 2666-8270
language English
publishDate 2025-03-01
publisher Elsevier
record_format Article
series Machine Learning with Applications
spelling doaj-art-eaa06030dea546d7a1283cb243d951ab2025-08-20T02:55:06ZengElsevierMachine Learning with Applications2666-82702025-03-011910061710.1016/j.mlwa.2024.100617S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periodsXiang Zhang0Eugene Pinsky1Department of Computer Science, Metropolitan College, Boston University, 1010 Commonwealth Avenue, Boston, 02215, MA, USACorresponding author.; Department of Computer Science, Metropolitan College, Boston University, 1010 Commonwealth Avenue, Boston, 02215, MA, USAThis paper explores the efficiency of LSTM neural networks in predicting price movements for the two major U.S. stock indices: the S&P-500 and the Nasdaq-100 index. We consider three distinct daily periods: “overnight” (Close-to-Open), “daytime” (Open-to-Close) and “24-hour” (Close-to-Close) trading sessions. Using historical pricing data for these indices since 2000, this study shows how well the standard LSTM model captures price movement patterns to improve short-term trading strategies. The findings reveal that, for the S&P-500, a one-year training with 24-hour periods delivers a 14.5% more return over the Buy-and-Hold strategy. Moreover, combining “overnight” and “daytime” strategies delivers more than 40% return compared to passive index investing. By contrast, for the Nasdaq-100, a shorter training period of three months for “24-hour” periods delivers 90% more return than passive index investing. These results suggest that LSTM effectively learns the unique market dynamics associated with each index and different time periods, offering further insights into how deep learning can enhance financial forecasting and trading opportunities.http://www.sciencedirect.com/science/article/pii/S2666827024000938LSTMPrice movement predictionStock market forecastingDeep learningTime series analysisTrading strategies
spellingShingle Xiang Zhang
Eugene Pinsky
S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
Machine Learning with Applications
LSTM
Price movement prediction
Stock market forecasting
Deep learning
Time series analysis
Trading strategies
title S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
title_full S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
title_fullStr S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
title_full_unstemmed S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
title_short S&P-500 vs. Nasdaq-100 price movement prediction with LSTM for different daily periods
title_sort s p 500 vs nasdaq 100 price movement prediction with lstm for different daily periods
topic LSTM
Price movement prediction
Stock market forecasting
Deep learning
Time series analysis
Trading strategies
url http://www.sciencedirect.com/science/article/pii/S2666827024000938
work_keys_str_mv AT xiangzhang sp500vsnasdaq100pricemovementpredictionwithlstmfordifferentdailyperiods
AT eugenepinsky sp500vsnasdaq100pricemovementpredictionwithlstmfordifferentdailyperiods