Algorithmic Financial Trading with Deep Convolutional Neural Networks: Time Series to Image Conversion Approach: A novel algorithmic trading model CNN-TA using a 2-D convolutional neural network based on image processing properties.
A novel algorithmic trading model CNN-TA using a 2-D convolutional neural network based on image processing properties.
“Computational intelligence techniques for financial trading systems have always been quite popular. In the last decade, deep learning models start getting more attention, especially within the image processing community. In this study, we propose a novel algorithmic trading model CNN-TA using a 2-D convolutional neural network based on image processing properties. In order to convert financial time series into 2-D images, 15 different technical indicators each with different parameter selections are utilized. Each indicator instance generates data for a 15 day period. As a result, 15 × 15 sized 2-D images are constructed. Each image is then labeled as Buy, Sell or Hold depending on the hills and valleys of the original time series. The results indicate that when compared with the Buy & Hold Strategy and other common trading systems over a long out-of-sample period, the trained model provides better results for stocks and ETFs.”
There are 1-7 folders in the Data folder. Each represents the following technical analysis sequence.
5 years train, 1-year test results were obtained. In the last 15 years, 5 years of the train, 1 year of the test is done and the latest updated data with the progress of the CNN is being trained from scratch. The details of chapter 8 of the thesis are available (pp. 97-117). Too many tests were performed with ETFs and 30 stocks (about 600 tests).
Code is written in 2018 May. It is also needed to optimize. It will be recoded with python.
Details in the paper
Science Direct Link: https://www.sciencedirect.com/science/article/pii/S1568494618302151
Cite as:
Bibtex:
@article{sezer2018algorithmic,
title={Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach},
author={Sezer, Omer Berat and Ozbayoglu, Ahmet Murat},
journal={Applied Soft Computing},
volume={70},
pages={525--538},
year={2018},
publisher={Elsevier}
}