JOURNAL ARTICLE

STGAT: Spatial–Temporal Graph Attention Neural Network for Stock Prediction

Ruizhe FengShanshan JiangXingyu LiangMin Xia

Year: 2025 Journal:   Applied Sciences Vol: 15 (8)Pages: 4315-4315   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

Stock price prediction and portfolio optimization are critical research areas in financial markets, as they directly impact investment strategies and risk management. Traditional statistical methods and machine learning approaches have been widely applied to these tasks, but they often fail to fully capture the complex dynamics of financial markets. Traditional statistical methods typically rely on unrealistic assumptions or oversimplified models, neglecting the nonlinear and high-dimensional characteristics of market data. Additionally, deep learning methods, especially temporal convolution networks and graph attention networks, have been introduced in this area and have achieved significant improvements in both stock price prediction and portfolio optimization. Therefore, this study proposes a Spatial–Temporal Graph Attention Network (STGAT) that integrates STL decomposition components and graph structures to model both temporal patterns and asset correlations. By combining graph attention mechanisms with temporal convolutional modules, STGAT effectively processes spatiotemporal data, enhancing the accuracy of stock price predictions. Empirical experiments on the CSI 500 and S&P 500 datasets demonstrate that STGAT outperforms other deep learning models in both prediction accuracy and portfolio performance. The investment portfolios constructed based on STGAT’s predictions achieve higher returns in real market scenarios, which validates the feasibility of spatiotemporal feature fusion for stock price prediction and highlights the advantages of graph attention networks in capturing complex market characteristics. This study not only provides a robust tool for portfolio optimization but also offers valuable insights for future research in intelligent financial systems.

Keywords:
Computer science Artificial intelligence

Metrics

7
Cited By
38.55
FWCI (Field Weighted Citation Impact)
61
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Stock Market Forecasting Methods
Social Sciences →  Decision Sciences →  Management Science and Operations Research
Energy Load and Power Forecasting
Physical Sciences →  Engineering →  Electrical and Electronic Engineering
Forecasting Techniques and Applications
Social Sciences →  Decision Sciences →  Management Science and Operations Research
© 2026 ScienceGate Book Chapters — All rights reserved.