Abstract
As people become more aware of environmental issues, Tesla, a pillar of the global electric vehicle market, has become a hot commodity in recent years. The prediction of Tesla’s share price is also a hot topic in the investment market. This experiment extracts sentiment factors of tweets about Tesla’s comments, combined with Tesla’s historical stock price as the dataset for training, testing and inspection. This experiment builds time series prediction models based on LSTM, XGBoost and RF algorithms to predict Tesla’s stock price, and evaluates the prediction effectiveness of the three algorithms based on the fit and error of the prediction results. The analysis of the data shows that XGBoost has the best fit and the lowest error among the three algorithms, and that the sentiment factor has its unique utility as raw data. The experimental results also empirically demonstrate the applicability of sentiment factor analysis and the three algorithms LSTM, XGBoost and RF in the field of stock price prediction.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: International Journal of Cooperative Information Systems
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.