Encoding candlesticks as images for pattern classification using convolutional neural networks

被引:43
作者
Chen, Jun-Hao [1 ]
Tsai, Yun-Cheng [1 ]
机构
[1] Soochow Univ, Taipei, Taiwan
关键词
Convolutional Neural Networks (CNN); Gramian Angular Field (GAF); Candlestick; Patterns Classification; Time-Series; Financial Vision; TRADING STRATEGIES; TIME-SERIES; PREDICTION; MODEL;
D O I
10.1186/s40854-020-00187-0
中图分类号
F8 [财政、金融];
学科分类号
0202 ;
摘要
Candlestick charts display the high, low, opening, and closing prices in a specific period. Candlestick patterns emerge because human actions and reactions are patterned and continuously replicate. These patterns capture information on the candles. According to Thomas Bulkowski's Encyclopedia of Candlestick Charts, there are 103 candlestick patterns. Traders use these patterns to determine when to enter and exit. Candlestick pattern classification approaches take the hard work out of visually identifying these patterns. To highlight its capabilities, we propose a two-steps approach to recognize candlestick patterns automatically. The first step uses the Gramian Angular Field (GAF) to encode the time series as different types of images. The second step uses the Convolutional Neural Network (CNN) with the GAF images to learn eight critical kinds of candlestick patterns. In this paper, we call the approach GAF-CNN. In the experiments, our approach can identify the eight types of candlestick patterns with 90.7% average accuracy automatically in real-world data, outperforming the LSTM model.
引用
收藏
页数:19
相关论文
共 31 条
  • [21] Classifying With Adaptive Hyper-Spheres: An Incremental Classifier Based on Competitive Learning
    Li, Tie
    Kou, Gang
    Peng, Yi
    Shi, Yong
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2020, 50 (04): : 1218 - 1229
  • [22] Candlestick technical trading strategies: Can they create value for investors?
    Marshall, Ben R.
    Young, Martin R.
    Rose, Lawrence C.
    [J]. JOURNAL OF BANKING & FINANCE, 2006, 30 (08) : 2303 - 2323
  • [23] Nison S., 2001, Japanese candlestick charting techniques: a contemporary guide to the ancient investment techniques of the Far East
  • [24] Financial prediction and trading strategies using neurofuzzy approaches
    Pantazopoulos, KN
    Tsoukalas, LH
    Bourbakis, NG
    Brun, MJ
    Houstis, EN
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 1998, 28 (04): : 520 - 531
  • [25] Ranzato M., 2008, Advances in neural information processing systems, P1185
  • [26] Forecasting volatility with neural regression: A contribution to model adequacy
    Refenes, APN
    Holt, WT
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS, 2001, 12 (04): : 850 - 864
  • [27] Comparative study of stock trend prediction using time delay, recurrent and probabilistic neural networks
    Saad, EW
    Prokhorov, DV
    Wunsch, DC
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS, 1998, 9 (06): : 1456 - 1470
  • [28] FUZZY TIME-SERIES AND ITS MODELS
    SONG, Q
    CHISSOM, BS
    [J]. FUZZY SETS AND SYSTEMS, 1993, 54 (03) : 269 - 277
  • [29] THE USE OF TECHNICAL ANALYSIS IN THE FOREIGN-EXCHANGE MARKET
    TAYLOR, MP
    ALLEN, H
    [J]. JOURNAL OF INTERNATIONAL MONEY AND FINANCE, 1992, 11 (03) : 304 - 314
  • [30] Wang H, 2017, On the Origin of Deep Learning, P1