IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i5p1130-d1079240.html
   My bibliography  Save this article

Stock Market Analysis Using Time Series Relational Models for Stock Price Prediction

Author

Listed:
  • Cheng Zhao

    (School of Economics, Zhejiang University of Technology, Hangzhou 310023, China)

  • Ping Hu

    (College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China)

  • Xiaohui Liu

    (College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China)

  • Xuefeng Lan

    (Informatization Office, Zhejiang University of Technology, Hangzhou 310023, China)

  • Haiming Zhang

    (Students’ Affairs Division, Guangdong University of Petrochemical Technology, Maoming 525000, China)

Abstract

The ability to predict stock prices is essential for informing investment decisions in the stock market. However, the complexity of various factors influencing stock prices has been widely studied. Traditional methods, which rely on time-series information for a single stock, are incomplete as they lack a holistic perspective. The linkage effect in the stock market, where stock prices are influenced by those of associated stocks, necessitates the use of more comprehensive data. Currently, stock relationship information is mainly obtained through industry classification data from third-party platforms, but these data are often approximate and subject to time lag. To address this, this paper proposes a time series relational model (TSRM) that integrates time and relationship information. The TSRM utilizes transaction data of stocks to automatically obtain stock classification through a K-means model and derives stock relationships. The time series information, extracted using long short-term memory (LSTM), and relationship information, extracted with a graph convolutional network (GCN), are integrated to predict stock prices. The TSRM was tested in the Chinese Shanghai and Shenzhen stock markets, with results showing an improvement in cumulative returns by 44% and 41%, respectively, compared to the baseline, and a reduction in maximum drawdown by 4.9% and 6.6%, respectively.

Suggested Citation

  • Cheng Zhao & Ping Hu & Xiaohui Liu & Xuefeng Lan & Haiming Zhang, 2023. "Stock Market Analysis Using Time Series Relational Models for Stock Price Prediction," Mathematics, MDPI, vol. 11(5), pages 1-13, February.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:5:p:1130-:d:1079240
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/5/1130/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/5/1130/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Cao, Jian & Li, Zhi & Li, Jian, 2019. "Financial time series forecasting model based on CEEMDAN and LSTM," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 519(C), pages 127-139.
    2. Deepak Gupta & Mahardhika Pratama & Zhenyuan Ma & Jun Li & Mukesh Prasad, 2019. "Financial time series forecasting using twin support vector regression," PLOS ONE, Public Library of Science, vol. 14(3), pages 1-27, March.
    3. Fama, Eugene F. & French, Kenneth R., 2015. "A five-factor asset pricing model," Journal of Financial Economics, Elsevier, vol. 116(1), pages 1-22.
    4. Shun Chen & Lei Ge, 2019. "Exploring the attention mechanism in LSTM-based Hong Kong stock price movement prediction," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1507-1515, September.
    5. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    6. Fuli Feng & Xiangnan He & Xiang Wang & Cheng Luo & Yiqun Liu & Tat-Seng Chua, 2018. "Temporal Relational Ranking for Stock Prediction," Papers 1809.09441, arXiv.org, revised Jan 2019.
    7. Gerardo Alfonso & Daniel R. Ramirez, 2020. "A Nonlinear Technical Indicator Selection Approach for Stock Markets. Application to the Chinese Stock Market," Mathematics, MDPI, vol. 8(8), pages 1-15, August.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Xuyan Xiang & Jieming Zhou, 2023. "An Excess Entropy Approach to Classify Long-Term and Short-Term Memory Stationary Time Series," Mathematics, MDPI, vol. 11(11), pages 1-16, May.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xiaodong Zhang & Suhui Liu & Xin Zheng, 2021. "Stock Price Movement Prediction Based on a Deep Factorization Machine and the Attention Mechanism," Mathematics, MDPI, vol. 9(8), pages 1-21, April.
    2. Chuting Sun & Qi Wu & Xing Yan, 2023. "Dynamic CVaR Portfolio Construction with Attention-Powered Generative Factor Learning," Papers 2301.07318, arXiv.org, revised Jan 2024.
    3. Yao, Haixiang & Xia, Shenghao & Liu, Hao, 2022. "Six-factor asset pricing and portfolio investment via deep learning: Evidence from Chinese stock market," Pacific-Basin Finance Journal, Elsevier, vol. 76(C).
    4. Yoonjae Noh & Jong-Min Kim & Soongoo Hong & Sangjin Kim, 2023. "Deep Learning Model for Multivariate High-Frequency Time-Series Data: Financial Market Index Prediction," Mathematics, MDPI, vol. 11(16), pages 1-18, August.
    5. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    6. Sumit Saroha & Marta Zurek-Mortka & Jerzy Ryszard Szymanski & Vineet Shekher & Pardeep Singla, 2021. "Forecasting of Market Clearing Volume Using Wavelet Packet-Based Neural Networks with Tracking Signals," Energies, MDPI, vol. 14(19), pages 1-21, September.
    7. Kentaro Imajo & Kentaro Minami & Katsuya Ito & Kei Nakagawa, 2020. "Deep Portfolio Optimization via Distributional Prediction of Residual Factors," Papers 2012.07245, arXiv.org.
    8. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    9. Xuliang Tang & Heng Wan & Weiwen Wang & Mengxu Gu & Linfeng Wang & Linfeng Gan, 2023. "Lithium-Ion Battery Remaining Useful Life Prediction Based on Hybrid Model," Sustainability, MDPI, vol. 15(7), pages 1-18, April.
    10. Vitor Azevedo & Christopher Hoegner, 2023. "Enhancing stock market anomalies with machine learning," Review of Quantitative Finance and Accounting, Springer, vol. 60(1), pages 195-230, January.
    11. Lu, Hongfang & Ma, Xin & Huang, Kun & Azimi, Mohammadamin, 2020. "Prediction of offshore wind farm power using a novel two-stage model combining kernel-based nonlinear extension of the Arps decline model with a multi-objective grey wolf optimizer," Renewable and Sustainable Energy Reviews, Elsevier, vol. 127(C).
    12. Sanghyuk Yoo & Sangyong Jeon & Seunghwan Jeong & Heesoo Lee & Hosun Ryou & Taehyun Park & Yeonji Choi & Kyongjoo Oh, 2021. "Prediction of the Change Points in Stock Markets Using DAE-LSTM," Sustainability, MDPI, vol. 13(21), pages 1-15, October.
    13. Flori, Andrea & Regoli, Daniele, 2021. "Revealing Pairs-trading opportunities with long short-term memory networks," European Journal of Operational Research, Elsevier, vol. 295(2), pages 772-791.
    14. Xiangzhou Chen & Zhi Long, 2023. "E-Commerce Enterprises Financial Risk Prediction Based on FA-PSO-LSTM Neural Network Deep Learning Model," Sustainability, MDPI, vol. 15(7), pages 1-17, March.
    15. Lin, Yu & Lu, Qin & Tan, Bin & Yu, Yuanyuan, 2022. "Forecasting energy prices using a novel hybrid model with variational mode decomposition," Energy, Elsevier, vol. 246(C).
    16. Jujie Wang & Zhenzhen Zhuang & Liu Feng, 2022. "Intelligent Optimization Based Multi-Factor Deep Learning Stock Selection Model and Quantitative Trading Strategy," Mathematics, MDPI, vol. 10(4), pages 1-19, February.
    17. Dongsu Kim & Yongjun Lee & Kyungil Chin & Pedro J. Mago & Heejin Cho & Jian Zhang, 2023. "Implementation of a Long Short-Term Memory Transfer Learning (LSTM-TL)-Based Data-Driven Model for Building Energy Demand Forecasting," Sustainability, MDPI, vol. 15(3), pages 1-23, January.
    18. Seyed Mehrzad Asaad Sajadi & Pouya Khodaee & Ehsan Hajizadeh & Sabri Farhadi & Sohaib Dastgoshade & Bo Du, 2022. "Deep Learning-Based Methods for Forecasting Brent Crude Oil Return Considering COVID-19 Pandemic Effect," Energies, MDPI, vol. 15(21), pages 1-23, October.
    19. Xie, Yiwei & Hu, Pingfang & Zhu, Na & Lei, Fei & Xing, Lu & Xu, Linghong & Sun, Qiming, 2020. "A hybrid short-term load forecasting model and its application in ground source heat pump with cooling storage system," Renewable Energy, Elsevier, vol. 161(C), pages 1244-1259.
    20. Zhou, Feite & Huang, Zhehao & Zhang, Changhong, 2022. "Carbon price forecasting based on CEEMDAN and LSTM," Applied Energy, Elsevier, vol. 311(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:5:p:1130-:d:1079240. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.