Advances in Economics, Management and Political Sciences
- The Open Access Proceedings Series for Conferences
Series Vol. 36 , 10 November 2023
* Author to whom correspondence should be addressed.
Under the assumption that the operation of corporations is stable and the economic environment is steady, there are mathematical rules in the changing of stock prices, making prediction of stock price possible. This paper selects stock price data of Xiaomi Inc, one of the leading technology companies in China, from January 2, 2019 to December 31, 2021 from Yahoo Finance. Three moving average methods, SMA, EMA and MACD, are implemented to analyze the data. Among the three moving average methods, the effect of MACD is better than that of SMA and EMA. Afterwards, Markov chain is employed to calculate from another angle The stable probability distribution of stock price is obtained by using the stability and ergodicity of Markov chain. The feasibility and accuracy of two angles of forecasting methods are verified through being compared.
stock price prediction, simple moving average (SMA), exponential moving average(EMA), moving average convergence divergence (MACD), Markov chain
1. Yuanlie Lin. (2002). Applied Stochastic Processes. Tsinghua University Press.
2. Wang Y F. On-demand forecasting of stock prices using a real-time predictor[J]. IEEE Transactions on Knowledge and Data Engineering, 2003, 15(4): 1033-1037.
3. Choji D N, Eduno S N, Kassem G T. Markov chain model application on share price movement in stock market[J]. Computer Engineering and Intelligent Systems, 2013, 4(10): 84-95.
4. Long Yan, Cong Lin, Jiahui Zhu. Application of Markov chain in financial investment [J]. Journal of Ningbo Institute of Technology,2017,29(04):1-8.
5. Chowdhury R, Mahdy M R C, Alam T N, et al. Predicting the stock price of frontier markets using machine learning and modified Black–Scholes Option pricing model[J]. Physica A: Statistical Mechanics and its Applications, 2020, 555: 124444.
6. Leung C K S, MacKinnon R K, Wang Y. A machine learning approach for stock price prediction[C]//Proceedings of the 18th International Database Engineering & Applications Symposium. 2014: 274-277.
7. Yongjie Yang. Prediction Method of Stock price Change Trend Based on Optimized MACD Model [J]. Journal of Guangxi Academy of Sciences,2017,33(1):65-70
8. Cihua Liu. Stochastic Process [M]. Wuhan: Huazhong University of Science and Technology Press, 2001:20-35.
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open Access Instruction).