Factors Influencing the Predictive Performance of the LSTM Model on Stock Prices and Its Application in Forecasting U.S. Technology Sector Stock Prices — Sample Time Span, Time Window Length, Feature Selection, and Prediction Days

In recent years, the increasing global economic uncertainties have made financial markets more complex, posing challenges to stock price forecasting using traditional time series models. Therefore, optimizing the LSTM (Long Short-Term Memory) model and enhancing its prediction accuracy is of great significance for maintaining financial market stability. This paper primarily investigates the effects of four factors—sample time span, time window length, feature selection, and prediction days—on the predictive performance of the LSTM model. The study selects five representative stocks from the U.S. technology sector and employs the controlled variable method to separately alter these four factors. The variations in the model's mean squared error (MSE) were analyzed, and the underlying causes were hypothesized. The findings are as follows: First, an excessively small or large sample time span leads to a decline in the model's predictive ability; second, an overly long time window length results in reduced predictive performance; third, the impact of feature selection on the model's predictive ability varies significantly across different stocks; fourth, increasing the number of prediction days leads to a rise in the model's mean squared error; fifth, among these four factors, the sample time span has the most significant impact on the model's predictive ability.

Authors

Institutions

Publication Details

Published
2024-09-13
DOI
https://doi.org/10.1145/3700906.3700964
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Factors Influencing the Predictive Performance of the LSTM Model on Stock Prices and Its Application in Forecasting U.S. Technology Sector Stock Prices — Sample Time Span, Time Window Length, Feature Selection, and Prediction Days

Z. Xu
Stock Market Forecasting Methods
article

Factors Influencing the Predictive Performance of the LSTM Model on Stock Prices and Its Application in Forecasting U.S. Technology Sector Stock Prices — Sample Time Span, Time Window Length, Feature Selection, and Prediction Days

Z. Xu
article en

Abstract

In recent years, the increasing global economic uncertainties have made financial markets more complex, posing challenges to stock price forecasting using traditional time series models. Therefore, optimizing the LSTM (Long Short-Term Memory) model and enhancing its prediction accuracy is of great significance for maintaining financial market stability. This paper primarily investigates the effects of four factors—sample time span, time window length, feature selection, and prediction days—on the predictive performance of the LSTM model. The study selects five representative stocks from the U.S. technology sector and employs the controlled variable method to separately alter these four factors. The variations in the model's mean squared error (MSE) were analyzed, and the underlying causes were hypothesized. The findings are as follows: First, an excessively small or large sample time span leads to a decline in the model's predictive ability; second, an overly long time window length results in reduced predictive performance; third, the impact of feature selection on the model's predictive ability varies significantly across different stocks; fourth, increasing the number of prediction days leads to a rise in the model's mean squared error; fifth, among these four factors, the sample time span has the most significant impact on the model's predictive ability.

Fudan University (CN)
Openalex Percentile: Top 72%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.