FinGAT: Financial Graph Attention Networks for Recommending Top-K Profitable Stocks

Yi-Ling Hsu, Yu-Che Tsai, Cheng-Te Li
6/18/2021
cs.LGcs.CEcs.IR
gnn

Official code: Roytsai27/Financial-GraphAttention (136 stars, Python, last commit 2021-07-06).

Abstract

Financial technology (FinTech) has drawn much attention among investors and companies. While conventional stock analysis in FinTech targets at predicting stock prices, less effort is made for profitable stock recommendation.

Show full abstract

Besides, in existing approaches on modeling time series of stock prices, the relationships among stocks and sectors (i.e., categories of stocks) are either neglected or pre-defined. Ignoring stock relationships will miss the information shared between stocks while using pre-defined relationships cannot depict the latent interactions or influence of stock prices between stocks. In this work, we aim at recommending the top-K profitable stocks in terms of return ratio using time series of stock prices and sector information. We propose a novel deep learning-based model, Financial Graph Attention Networks (FinGAT), to tackle the task under the setting that no pre-defined relationships between stocks are given. The idea of FinGAT is three-fold. First, we devise a hierarchical learning component to learn short-term and long-term sequential patterns from stock time series. Second, a fully-connected graph between stocks and a fully-connected graph between sectors are constructed, along with graph attention networks, to learn the latent interactions among stocks and sectors. Third, a multi-task objective is devised to jointly recommend the profitable stocks and predict the stock movement. Experiments conducted on Taiwan Stock, S&P 500, and NASDAQ datasets exhibit remarkable recommendation performance of our FinGAT, comparing to state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

FinGAT: A Financial Graph Attention Networkto Recommend Top-K Profitable Stocks

13649PythonMar 31, 20205 years ago

Similar Papers

Cite this paper

@article{hsu2021fingat,
  title  = {FinGAT: Financial Graph Attention Networks for Recommending Top-K Profitable Stocks},
  author = {Yi-Ling Hsu and Yu-Che Tsai and Cheng-Te Li},
  year   = {2021},
  eprint = {2106.10159},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.10159}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.10159.svg)](https://codeofpaper.com/paper/2106.10159)

Discussion