Machine Learning Based Stock Market Trend Prediction and Analysis

Authors

  • Yilin Wang

DOI:

https://doi.org/10.62051/9tqz2p11

Keywords:

Stock Price Prediction; Machine Learning; LSTM; Candlestick Charts.

Abstract

Stock price prediction can help investors to create initial pre-scenarios. The topic of this research is to predict the stock market scenario through machine learning methods. By successfully predicting the stock market situation, the movement of different stocks, etc., the possibility of buying the wrong stocks can be greatly reduced, making it possible to make huge profits by buying and selling stocks. The purpose of the research is threefold. This paper uses a market capitalization weighted index consisting of the most important 40 stocks out of the top 100 stocks with the largest market capitalization on the Paris Stock Exchange as a dataset to analyze the movement of stocks and the possibility of buying them. The stocks are analyzed and subsequently forecasted through data visualization techniques such as candlestick charts and moving average charts. Long Short-Term Memory (LSTM) was used as a benchmark. This study has three main objectives: first, to study the temporal evolution of the closing prices of these stocks; second, to make stock forecasts using candlestick charts, which is the traditional method of stock analysis; and third, to analyze the closing prices of the stocks and the moving average charts, which are studied and evaluated.  Stock prediction can reduce risk, guide investment decisions, realize risk management, make market references, assess the value of stocks and enhance strategic vision.

Downloads

Download data is not yet available.

References

Z. Javad, and M.M. Rounaghi. Application of Artificial Neural Network Models and Principal Component Analysis Method in Predicting Stock Prices on Tehran Stock Exchange. Physica A: Statistical Mechanics and Its Applications, 438, 2015, pp. 178–87.

P. Jigar, et al. Predicting Stock Market Index Using Fusion of Machine Learning Techniques. Expert Systems with Applications, 42(4), 2015, pp. 2162–72.

Y. FM, et al. A Novel Hybrid Stock Selection Method with Stock Prediction. APPLIED SOFT COMPUTING, 80, 2019, pp. 820–31.

Information on: https://api.semanticscholar.org/CorpusID:210836684.

N. Mojtaba, et al. Deep Learning for Stock Market Prediction. 2020.

G. Aditya, and B. Dhingra. Stock Market Prediction Using Hidden Markov Models. Engineering & Systems, 2012.

M. XH, and H. Lin. Predicting Stock Market Crises Using Stock Index Derivatives: Evidence from China. EMERGING MARKETS FINANCE AND TRADE, 60(3), 2024, pp. 576–97.

Wang. YF. Predicting Stock Price Using Fuzzy Grey Prediction System. EXPERT SYSTEMS WITH APPLICATIONS, 22(1), 2002, pp. 33–38.

M. Ananthi, and K. Vijayakumar. Stock Market Analysis Using Candlestick Regression and Market Trend Prediction (CKRM). JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 12(5), 2021, pp. 4819–26.

T. LW, et al. Stock Price Prediction Based on LSTM and LightGBM Hybrid Model. JOURNAL OF SUPERCOMPUTING, 78(9), 2022, pp. 11768–93.

Information on: https://www.kaggle.com/datasets/bryanb/cac40-stocks-dataset/data.

Downloads

Published

12-08-2024

How to Cite

Wang, Y. (2024) “Machine Learning Based Stock Market Trend Prediction and Analysis ”, Transactions on Computer Science and Intelligent Systems Research, 5, pp. 219–226. doi:10.62051/9tqz2p11.