Skip to main content
QUICK REVIEW

[Paper Review] Financial Trading Model with Stock Bar Chart Image Time Series with Deep Convolutional Neural Networks

Ömer Berat Sezer, Ahmet Murat Özbayoğlu|arXiv (Cornell University)|Mar 11, 2019
Stock Market Forecasting MethodsDecision Sciences11 citations
TL;DR

This paper proposes a novel deep learning approach for algorithmic trading by converting 30-day stock bar chart time series into 2D images and training a Convolutional Neural Network (CNN) to predict buy, sell, or hold signals. The CNN-BI model outperforms the Buy-and-Hold strategy, especially in trendless or bear markets, demonstrating consistent performance across different market conditions with a 52.35% average success rate and 121.31% return over maximum drawdown.

ABSTRACT

Even though computational intelligence techniques have been extensively utilized in financial trading systems, almost all developed models use the time series data for price prediction or identifying buy-sell points. However, in this study we decided to use 2-D stock bar chart images directly without introducing any additional time series associated with the underlying stock. We propose a novel algorithmic trading model CNN-BI (Convolutional Neural Network with Bar Images) using a 2-D Convolutional Neural Network. We generated 2-D images of sliding windows of 30-day bar charts for Dow 30 stocks and trained a deep Convolutional Neural Network (CNN) model for our algorithmic trading model. We tested our model separately between 2007-2012 and 2012-2017 for representing different market conditions. The results indicate that the model was able to outperform Buy and Hold strategy, especially in trendless or bear markets. Since this is a preliminary study and probably one of the first attempts using such an unconventional approach, there is always potential for improvement. Overall, the results are promising and the model might be integrated as part of an ensemble trading model combined with different strategies.

Motivation & Objective

  • To develop a novel algorithmic trading model that bypasses traditional time series data by using 2D stock bar chart images as input.
  • To evaluate the performance of a deep CNN model trained on visual representations of stock price data in diverse market conditions.
  • To assess whether image-based deep learning can outperform standard benchmarks like Buy-and-Hold in financial forecasting.
  • To explore the potential of visual pattern recognition in financial time series using convolutional neural networks.
  • To lay the foundation for future ensemble models combining image-based and conventional time-series approaches.

Proposed method

  • Convert 30-day historical price data (open, high, low, close) of Dow 30 stocks into 30x30 pixel 2D bar chart images.
  • Train a deep Convolutional Neural Network (CNN) on these 2D images, with labels: Buy, Sell, or Hold.
  • Use a standard CNN architecture (e.g., similar to AlexNet or VGG-style) for feature extraction and classification of trading signals.
  • Evaluate the model on out-of-sample data from two distinct periods: 2007–2012 and 2012–2017 to test robustness across bull, bear, and sideways markets.
  • Integrate predictions into a simulated trading system to compute performance metrics such as annualized returns, maximum drawdown, and transaction statistics.
  • Apply a trading rule that holds cash when no strong signal is generated, resulting in a 48–49% idle ratio.

Experimental results

Research questions

  • RQ1Can a 2D convolutional neural network effectively learn trading signals directly from visual representations of stock price data without relying on numerical time series?
  • RQ2How does the performance of the image-based CNN-BI model compare to the Buy-and-Hold strategy across different market regimes (bull, bear, trendless)?
  • RQ3Does the model maintain consistent performance and signal generation across varying market conditions and time periods?
  • RQ4What is the impact of the model’s high idle ratio (nearly 50%) on overall profitability, especially in bull markets?
  • RQ5Can the model’s performance be enhanced through strategies like multi-asset basket processing or dynamic market regime adaptation?

Key findings

  • The CNN-BI model achieved an average success rate of 52.35% across both test periods, indicating it outperformed random walk and generated statistically meaningful signals.
  • The model generated 40–60 annualized transactions, with an average transaction length of 3 days, suggesting consistent and frequent trading activity.
  • The model outperformed the Buy-and-Hold strategy in terms of return over maximum drawdown (RoMaD), achieving 121.31% in 2007–2012 and 61.62% in 2012–2017.
  • Annualized returns were 7.20% (2007–2012) and 5.86% (2012–2017), with the model performing better in the earlier, more volatile period.
  • The model maintained a high idle ratio of 48.20–48.88%, which likely limited returns in the bull market period (2012–2017), indicating opportunity cost from underutilization.
  • Maximum drawdown was 34.92% in 2007–2012 and 19.48% in 2012–2017, with the model showing better risk-adjusted performance in the latter period.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.