IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2412.04034.html
   My bibliography  Save this paper

Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relations

Author

Listed:
  • Yunhua Pei
  • Jin Zheng
  • John Cartlidge

Abstract

Temporal Graph Learning (TGL) is crucial for capturing the evolving nature of stock markets. Traditional methods often ignore the interplay between dynamic temporal changes and static relational structures between stocks. To address this issue, we propose the Dynamic Graph Representation with Contrastive Learning (DGRCL) framework, which integrates dynamic and static graph relations to improve the accuracy of stock trend prediction. Our framework introduces two key components: the Embedding Enhancement (EE) module and the Contrastive Constrained Training (CCT) module. The EE module focuses on dynamically capturing the temporal evolution of stock data, while the CCT module enforces static constraints based on stock relations, refined within contrastive learning. This dual-relation approach allows for a more comprehensive understanding of stock market dynamics. Our experiments on two major U.S. stock market datasets, NASDAQ and NYSE, demonstrate that DGRCL significantly outperforms state-of-the-art TGL baselines. Ablation studies indicate the importance of both modules. Overall, DGRCL not only enhances prediction ability but also provides a robust framework for integrating temporal and relational data in dynamic graphs. Code and data are available for public access.

Suggested Citation

  • Yunhua Pei & Jin Zheng & John Cartlidge, 2024. "Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relations," Papers 2412.04034, arXiv.org.
  • Handle: RePEc:arx:papers:2412.04034
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2412.04034
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Zinuo You & Pengju Zhang & Jin Zheng & John Cartlidge, 2024. "Multi-relational Graph Diffusion Neural Network with Parallel Retention for Stock Trends Classification," Papers 2401.05430, arXiv.org.
    2. 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.
    3. Yu Zhao & Huaming Du & Ying Liu & Shaopeng Wei & Xingyan Chen & Fuzhen Zhuang & Qing Li & Ji Liu & Gang Kou, 2022. "Stock Movement Prediction Based on Bi-typed Hybrid-relational Market Knowledge Graph via Dual Attention Networks," Papers 2201.04965, arXiv.org, revised Jan 2022.
    4. Raehyun Kim & Chan Ho So & Minbyul Jeong & Sanghoon Lee & Jinkyu Kim & Jaewoo Kang, 2019. "HATS: A Hierarchical Graph Attention Network for Stock Movement Prediction," Papers 1908.07999, arXiv.org, revised Nov 2019.
    5. Christine Jiang & Jang-Chul Kim & Robert Wood, 2011. "A comparison of volatility and bid-ask spread for NASDAQ and NYSE after decimalization," Applied Economics, Taylor & Francis Journals, vol. 43(10), pages 1227-1239.
    Full references (including those not matched with items on IDEAS)

    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. Daiki Matsunaga & Toyotaro Suzumura & Toshihiro Takahashi, 2019. "Exploring Graph Neural Networks for Stock Market Predictions with Rolling Window Analysis," Papers 1909.10660, arXiv.org, revised Nov 2019.
    2. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    3. Yuhui Jin, 2024. "GraphCNNpred: A stock market indices prediction using a Graph based deep learning system," Papers 2407.03760, arXiv.org, revised Jul 2024.
    4. Luke Sanborn & Matthew Sahagun, 2023. "Media Moments and Corporate Connections: A Deep Learning Approach to Stock Movement Classification," Papers 2309.06559, arXiv.org.
    5. Wentao Xu & Weiqing Liu & Lewen Wang & Yingce Xia & Jiang Bian & Jian Yin & Tie-Yan Liu, 2021. "HIST: A Graph-based Framework for Stock Trend Forecasting via Mining Concept-Oriented Shared Information," Papers 2110.13716, arXiv.org, revised Jan 2022.
    6. Thanh Trung Huynh & Minh Hieu Nguyen & Thanh Tam Nguyen & Phi Le Nguyen & Matthias Weidlich & Quoc Viet Hung Nguyen & Karl Aberer, 2022. "Efficient Integration of Multi-Order Dynamics and Internal Dynamics in Stock Movement Prediction," Papers 2211.07400, arXiv.org, revised Nov 2022.
    7. Sheng Xiang & Dawei Cheng & Chencheng Shang & Ying Zhang & Yuqi Liang, 2023. "Temporal and Heterogeneous Graph Neural Network for Financial Time Series Prediction," Papers 2305.08740, arXiv.org.
    8. Wentao Xu & Weiqing Liu & Chang Xu & Jiang Bian & Jian Yin & Tie-Yan Liu, 2021. "REST: Relational Event-driven Stock Trend Forecasting," Papers 2102.07372, arXiv.org, revised Feb 2021.
    9. Jinan Zou & Qingying Zhao & Yang Jiao & Haiyao Cao & Yanxi Liu & Qingsen Yan & Ehsan Abbasnejad & Lingqiao Liu & Javen Qinfeng Shi, 2022. "Stock Market Prediction via Deep Learning Techniques: A Survey," Papers 2212.12717, arXiv.org, revised Feb 2023.
    10. Tan, Jinghua & Li, Zhixi & Zhang, Chuanhui & Shi, Long & Jiang, Yuansheng, 2024. "A multiscale time-series decomposition learning for crude oil price forecasting," Energy Economics, Elsevier, vol. 136(C).
    11. 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.
    12. Yang Qiao & Yiping Xia & Xiang Li & Zheng Li & Yan Ge, 2023. "Higher-order Graph Attention Network for Stock Selection with Joint Analysis," Papers 2306.15526, arXiv.org.
    13. Alireza Jafari & Saman Haratizadeh, 2022. "GCNET: graph-based prediction of stock price movement using graph convolutional network," Papers 2203.11091, arXiv.org, revised Aug 2022.
    14. Uddin, Ajim & Tao, Xinyuan & Yu, Dantong, 2023. "Attention based dynamic graph neural network for asset pricing," Global Finance Journal, Elsevier, vol. 58(C).
    15. Engin Tas & Ayca Hatice Atli, 2024. "Stock Price Ranking by Learning Pairwise Preferences," Computational Economics, Springer;Society for Computational Economics, vol. 63(2), pages 513-528, February.
    16. Hanshuang Tong & Jun Li & Ning Wu & Ming Gong & Dongmei Zhang & Qi Zhang, 2024. "Ploutos: Towards interpretable stock movement prediction with financial large language model," Papers 2403.00782, arXiv.org.
    17. Wendi Zhang & Bin Li & Alan Wee-Chung Liew & Eduardo Roca & Tarlok Singh, 2023. "Predicting the returns of the US real estate investment trust market: evidence from the group method of data handling neural network," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-33, December.
    18. Loginov, Alexander & Heywood, Malcolm, 2020. "On the different impacts of fixed versus floating bid-ask spreads on an automated intraday stock trading," The North American Journal of Economics and Finance, Elsevier, vol. 54(C).
    19. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    20. Junjie Li & Yang Liu & Weiqing Liu & Shikai Fang & Lewen Wang & Chang Xu & Jiang Bian, 2024. "MarS: a Financial Market Simulation Engine Powered by Generative Foundation Model," Papers 2409.07486, arXiv.org.

    More about this item

    Statistics

    Access and download statistics

    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:arx:papers:2412.04034. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.