LSTM NETWORK FOR HIGH-VOLATILITY STOCK PRICE PREDICTION: TESLA INC

Asma Kesri, Mohamed Yazid Salhi

Abstract


This research investigates the efficacy of Long Short-Term Memory (LSTM) networks for predicting stock prices of high-volatility equities, with application to Tesla Inc. (TSLA). Addressing a gap in financial machine learning literature, we develop an advanced LSTM architecture trained on Tesla's daily closing prices from January 1, 2017, to November 20, 2024. Through meticulous preprocessing, strategic dropout regularization, and sophisticated sequence modeling, our model achieves a Root Mean Square Error (RMSE) of $12.17 and a Mean Absolute Error (MAE) of $8.51. For comparative purposes, we implement a walkforward ARIMA benchmark, which achieved an RMSE of $8.30 and an MAE of $5.76, indicating superior point forecast accuracy. However, the LSTM model demonstrated better directional accuracy (50.60% against 47.62%), suggesting complementary strengths across evaluation metrics. The DieboldMariano test confirmed a statistically significant difference between the two models (DM = 4.58, p < 0.01). This study contributes to the understanding of deep learning applications in financial markets and establishes new benchmarks for volatile stock prediction. The findings support adopting hybrid approaches that combine the point forecast accuracy of traditional econometric models with the directional predictive capabilities of deep learning architectures for financial forecasting in turbulent market conditions.


Keywords


deep learning; forecasting; stock market volatility; neural networks; Long Short-Term Memory (LSTM);

Full Text:

PDF

References


Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31(3), 307–327. https://doi.org/10.1016/0304-4076(86)90063-1

Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time series analysis: Forecasting and control (5th ed.). John Wiley & Sons. https://doi.org/10.1111/jtsa.12194

Chen, S., & Ge, L. (2019). Exploring the attention mechanism in LSTM-based Hong Kong stock price movement prediction. Quantitative Finance, 19(9), 1507–1515. https://doi.org/10.1080/14697688.2019.1622287

Fama, E. F. (1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383–417. https://doi.org/10.2307/2325486

Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669. https://doi.org/10.1016/j.ejor.2017.11.054

Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

Kahneman, D., & Tversky, A. (1979). Prospect theory: An analysis of decision under risk. Econometrica, 47(2), 263–291. https://doi.org/10.2307/1914185

Kim, K.-J. (2003). Financial time series forecasting using support vector machines. Neurocomputing, 55(1-2), 307-319. https://doi.org/10.1016/s0925-2312(03)00372-2

Nelson, D. M., Pereira, A. C., & de Oliveira, R. A. (2017). Stock market's price movement prediction with LSTM neural networks. In 2017 International Joint Conference on Neural Networks (IJCNN) (pp. 1419–1426). IEEE. https://doi.org/10.1109/ijcnn.2017.7966019

Selvin, S., Vinayakumar, R., Gopalakrishnan, E. A., Menon, V. K., & Soman, K. P. (2017). Stock price prediction using LSTM, RNN and CNN-sliding window model. In 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI) (pp. 1643–1647). IEEE. https://doi.org/10.1109/ICACCI.2017.8126078

Wan, X. (2023). Stock price prediction of high-tech industry based on LSTM and GRU: Tesla, Ferrari, and Walmart. Highlights in Science, Engineering and Technology, 76, 585–590. https://doi.org/10.54097/dy17ph79




DOI: http://dx.doi.org/10.12709/mest.14.14.02.16

Refbacks

  • There are currently no refbacks.