Your browser doesn't support javascript.
loading
Stock Market Forecasting Based on Spatiotemporal Deep Learning.
Li, Yung-Chen; Huang, Hsiao-Yun; Yang, Nan-Ping; Kung, Yi-Hung.
Affiliation
  • Li YC; Department of Statistics and Information Science, Fu Jen Catholic University, New Taipei City 242062, Taiwan.
  • Huang HY; Department of Statistics and Information Science, Fu Jen Catholic University, New Taipei City 242062, Taiwan.
  • Yang NP; Department of Mathematics, Fu Jen Catholic University, New Taipei City 242062, Taiwan.
  • Kung YH; Department of Statistics and Information Science, Fu Jen Catholic University, New Taipei City 242062, Taiwan.
Entropy (Basel) ; 25(9)2023 Sep 12.
Article in En | MEDLINE | ID: mdl-37761625
This study introduces the Spacetimeformer model, a novel approach for predicting stock prices, leveraging the Transformer architecture with a time-space mechanism to capture both spatial and temporal interactions among stocks. Traditional Long-Short Term Memory (LSTM) and recent Transformer models lack the ability to directly incorporate spatial information, making the Spacetimeformer model a valuable addition to stock price prediction. This article uses the ten minute stock prices of the constituent stocks of the Taiwan 50 Index and the intraday data of individual stock on the Taiwan Stock Exchange. By training the Timespaceformer model with multi-time-step stock price data, we can predict the stock prices at every ten minute interval within the next hour. Finally, we also compare the prediction results with LSTM and Transformer models that only consider temporal relationships. The research demonstrates that the Spacetimeformer model consistently captures essential trend changes and provides stable predictions in stock price forecasting. This article proposes a Spacetimeformer model combined with daily moving windows. This method has superior performance in stock price prediction and also demonstrates the significance and value of the space-time mechanism for prediction. We recommend that people who want to predict stock prices or other financial instruments try our proposed method to obtain a better return on investment.
Key words

Full text: 1 Collection: 01-internacional Database: MEDLINE Type of study: Prognostic_studies Language: En Journal: Entropy (Basel) Year: 2023 Document type: Article Affiliation country: Taiwan Country of publication: Switzerland

Full text: 1 Collection: 01-internacional Database: MEDLINE Type of study: Prognostic_studies Language: En Journal: Entropy (Basel) Year: 2023 Document type: Article Affiliation country: Taiwan Country of publication: Switzerland