Predicting Tesla’s stock based on machine learning
DOI:
https://doi.org/10.54097/v4g7nt55Keywords:
Predicting Stock, LSTM Model, Machine Learning.Abstract
This article emphasizes that when using economic theories to predict stocks, a certain logical sequence needs to be followed. Among the many well-known stocks, Tesla's stock is highly volatile. If the stock prediction can be relatively accurate, it will better demonstrate the feasibility of using machine learning to predict stocks. Therefore, the paper takes the prediction of Tesla's stock using machine learning as an example. First, machine learning was used to analyze the data distribution, and then it was used to analyze the data relationships. Based on the results of the first two steps, the model needed for prediction was derived, and then the prediction model (LSTM) was used to accurately predict the stock price fluctuations of Tesla over the past five years. The experimental results indicate that the model has good predictive performance. Finally, it points out the current shortcomings of using machine learning to predict stocks and the future directions for improvement.
Downloads
References
[1] Chen W, Hussain W, Castrucci F, & Zhang X. Deep learning for financial time series prediction: A state-of-the-art review of standalone and hybrid models. CMES-Computer Modeling in Engineering and Sciences. 2023.
[2] Scher S, & Messori G. Predicting weather forecast uncertainty with machine learning. Quarterly Journal of the Royal Meteorological Society, 144 (717), 2830 - 2841. 2018.
[3] Ryu G A, Chuluunsaikhan T, Nasridinov A, Rah H, & Yoo K H. Sce-lstm: Sparse critical event-driven lstm model with selective memorization for agricultural time-series prediction. Agriculture, 13 (11), 2044. 2023.
[4] Chen G M, Firth M, & Rui O M. The dynamic relation between stock returns, trading volume, and volatility. Financial Review, 36 (3), 153 - 174. 2001.
[5] Fischer T, & Krauss C. Deep learning with long short-term memory networks for financial market predictions. European journal of operational research, 270 (2), 654 - 669. 2018.
[6] Zhang R. LSTM-based stock prediction modeling and analysis. In: 2022 7th International Conference on Financial Innovation and Economic Development (ICFIED 2022). Atlantis Press, pp. 2537 - 2542. 2022.
[7] Sinkevich Y, McGinnity T M, Coleman S and Beatrice A. Predicting stock price movements based on different categories of news articles. In: 2015 IEEE Symposium Series on Computational Intelligence. Piscataway, NJ: IEEE, pp. 703 - 710. 2015.
[8] Koenecke A and Gajewar A. Curriculum learning in deep neural networks for financial forecasting. In: Workshop on Mining Data for Financial Applications. Cham: Springer International Publishing, pp. 16 - 31. 2019.
[9] Jordan M I, & Mitchell T M. Machine learning: Trends, perspectives, and prospects. Science, 349 (6245), 255 - 260. 2015.
[10] Alam K, Bhuiyan M H, Haque I U, Monir M F and Ahmed T. Enhancing stock market prediction: A robust LSTM-DNN model analysis on 26 real-life datasets, IEEE Access, 12, pp. 122757 - 122768. 2024.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

