Asset Price and Direction Prediction via Deep 2D Transformer and Convolutional Neural Networks

3Citations
Citations of this article
20Readers
Mendeley users who have this article in their library.

Abstract

Artificial intelligence-based algorithmic trading has recently started to attract more attention. Among the techniques, deep learning-based methods such as transformers, convolutional neural networks, and patch embedding approaches have become quite popular inside the computer vision researchers. In this research, inspired by the state-of-the-art computer vision methods, we have come up with 2 approaches: DAPP (Deep Attention-based Price Prediction) and DPPP (Deep Patch-based Price Prediction) that are based on vision transformers and patch embedding-based convolutional neural networks respectively to predict asset price and direction from historical price data by capturing the image properties of the historical time-series dataset. Before applying attention-based architecture, we have transformed historical time series price dataset into two-dimensional images by using various number of different technical indicators. Each indicator creates data for a fixed number of days. Thus, we construct two-dimensional images of various dimensions. Then, we use original images valleys and hills to label each image as Hold, Buy, or Sell. We find our trained attention-based models to frequently provide better results for ETFs in comparison to the baseline convolutional architectures in terms of both accuracy and financial analysis metrics during longer testing periods. Our code and processed datasets are available at https://github.com/seferlab/SPDPvCNN

Cite

CITATION STYLE

APA

Tuncer, T., Kaya, U., Sefer, E., Alacam, O., & Hoser, T. (2022). Asset Price and Direction Prediction via Deep 2D Transformer and Convolutional Neural Networks. In Proceedings of the 3rd ACM International Conference on AI in Finance, ICAIF 2022 (pp. 79–86). Association for Computing Machinery, Inc. https://doi.org/10.1145/3533271.3561738

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free