A Deep Learning Approach for Optimization of Systematic Signal Detection in Financial Trading Systems with Big Data

  • Sercan Karaoglu Foreks Inc. Sarıyer 34396, Istanbul, TURKEY
  • Ugur Arpaci Foreks Inc.
  • Serkan Ayvaz Department of Software Engineering, Bahcesehir University http://orcid.org/0000-0003-2016-4443
Keywords: Big Data, Deep Learning, Recurrent Neural Networks, Expert Systems, Intelligent Trading Systems

Abstract

Expert systems for trading signal detection have received considerable attention in recent years. In financial trading systems, investors’ main concern is determining the best time to buy or sell a stock. The trading decisions are often influenced by the emotions and feelings of the investors. Therefore, investors and researchers have aimed to develop systematic models to reduce the impact of emotions on trading decisions. Nevertheless, the use of algorithmic systems face another problem called “lack of dynamism”. Due to dynamic nature of financial markets, trading robots should quickly learn and adapt as human traders. Recently, a solution for detecting trading signals based on a dynamic threshold selection was proposed. In this study, we extend this approach by adopting several different rule based systems and enhancing it by using the Recurrent Neural Network algorithm. Recurrent Neural Networks learn the connection weights of subsystems with arbitrary sequences of inputs that make them a great fit for time series data. Our model is based on Piecewise Linear Representation and Recurrent Neural Network with the goal of detecting potential excessive movements in noisy stream of time series data. We use an exponential smoothing technique to detect abnormalities. Trading signals are produced using fixed time interval data from Istanbul Stock Exchange. The evaluations indicated that our model produces successful results in trading data. Future work will focus on further improvements and scalability of the model.

Downloads

Download data is not yet available.

References

J.-H. Cheng, H.-P. Chen, and Y.-M. Lin, “A hybrid forecast marketing timing model based on probabilistic neural network, rough set and C4. 5,” Expert Syst. Appl., vol. 37, no. 3, pp. 1814–1820, 2010.

T.-J. Hsieh, H.-F. Hsiao, and W.-C. Yeh, “Forecasting stock markets using wavelet transforms and recurrent neural networks: An integrated system based on artificial bee colony algorithm,” Appl. Soft Comput., vol. 11, no. 2, pp. 2510–2525, 2011.

M. Jasemi, A. M. Kimiagari, and A. Memariani, “A modern neural network model to do stock market timing on the basis of the ancient investment technique of Japanese Candlestick,” Expert Syst. Appl., vol. 38, no. 4, pp. 3884–3890, 2011.

K.-J. Kim and H. Ahn, “Simultaneous optimization of artificial neural networks for financial forecasting,” Appl. Intell., vol. 36, no. 4, pp. 887–898, 2012.

W. L. Tung and C. Quek, “Financial volatility trading using a self-organising neural-fuzzy semantic network and option straddle-based approach,” Expert Syst. Appl., vol. 38, no. 5, pp. 4668–4688, 2011.

P.-C. Chang, T. W. Liao, J.-J. Lin, and C.-Y. Fan, “A dynamic threshold decision system for stock trading signal detection,” Appl. Soft Comput., vol. 11, no. 5, pp. 3998–4010, 2011.

X. Lin, Z. Yang, and Y. Song, “Intelligent stock trading system based on improved technical analysis and Echo State Network,” Expert Syst. Appl., vol. 38, no. 9, pp. 11347–11354, 2011.

C. Wong and M. Versace, “CARTMAP: a neural network method for automated feature selection in financial time series forecasting,” Neural Comput. Appl., vol. 21, no. 5, pp. 969–977, 2012.

Y.-F. Wang, “On-demand forecasting of stock prices using a real-time predictor,” IEEE Trans. Knowl. Data Eng., vol. 15, no. 4, pp. 1033–1037, 2003.

A. W. Lo, H. Mamaysky, and J. Wang, “Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation,” J. Finance, vol. 55, no. 4, pp. 1705–1770, 2000.

S. Busuttil and Y. Kalnishkan, “Weighted kernel regression for predicting changing dependencies,” in European Conference on Machine Learning, 2007, pp. 535–542.

T. Takahashi, R. Tamada, and K. Nagasaka, “Multiple line-segments regression for stock prices and long-range forecasting system by neural network,” in SICE’98. Proceedings of the 37th SICE Annual Conference. International Session Papers, 1998, pp. 1127–1132.

G. E. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, Time series analysis: forecasting and control. John Wiley & Sons, 2015.

P. Whitle, Hypothesis testing in time series analysis, vol. 4. Almqvist & Wiksells, 1951.

P.-F. Pai and C.-S. Lin, “A hybrid ARIMA and support vector machines model in stock price forecasting,” Omega, vol. 33, no. 6, pp. 497–505, 2005.

O. Valenzuela et al., “Hybridization of intelligent techniques and ARIMA models for time series prediction,” Fuzzy Sets Syst., vol. 159, no. 7, pp. 821–845, 2008.

F. X. Diebold and R. S. Mariano, “Comparing predictive accuracy,” J. Bus. Econ. Stat., vol. 20, no. 1, pp. 134–144, 2002.

R. Gencay, “Linear, non-linear and essential foreign exchange rate prediction with simple technical trading rules,” J. Int. Econ., vol. 47, no. 1, pp. 91–107, 1999.

T. Bollerslev, “Generalized autoregressive conditional heteroskedasticity,” J. Econom., vol. 31, no. 3, pp. 307–327, 1986.

D. Bao and Z. Yang, “Intelligent stock trading system by turning point confirming and probabilistic reasoning,” Expert Syst. Appl., vol. 34, no. 1, pp. 620–627, 2008.

P.-F. Pai, “System reliability forecasting by support vector machines with genetic algorithms,” Math. Comput. Model., vol. 43, no. 3, pp. 262–274, 2006.

R. Raina, A. Madhavan, and A. Y. Ng, “Large-scale deep unsupervised learning using graphics processors,” in Proceedings of the 26th annual international conference on machine learning, 2009, pp. 873–880.

L. Deng, D. Yu, and others, “Deep learning: methods and applications,” Found. Trends® Signal Process., vol. 7, no. 3–4, pp. 197–387, 2014.

Y.-K. Kwon and B.-R. Moon, “A hybrid neurogenetic approach for stock forecasting,” IEEE Trans. Neural Netw., vol. 18, no. 3, pp851–864, 2007.

P.-C. Chang, C.-H. Liu, J.-L. Lin, C.-Y. Fan, and C. S. Ng, “A neural network with a case based dynamic window for stock trading prediction,” Expert Syst. Appl., vol. 36, no. 3, pp. 6889–6898, 2009.

T. Chavarnakul and D. Enke, “Intelligent technical analysis based equivolume charting for stock trading using neural networks,” Expert Syst. Appl., vol. 34, no. 2, pp. 1004–1017, 2008.

W. Leigh, R. Hightower, and N. Modani, “Forecasting the New York stock exchange composite index with past price and interest rate on condition of volume spike,” Expert Syst. Appl., vol. 28, no. 1, pp. 1–8, 2005.

E. Keogh, K. Chakrabarti, M. Pazzani, and S. Mehrotra, “Dimensionality reduction for fast similarity search in large time series databases,” Knowl. Inf. Syst., vol. 3, no. 3, pp. 263–286, 2001.

A. Graves and J. Schmidhuber, “Framewise phoneme classification with bidirectional LSTM and other neural network architectures,” Neural Netw., vol. 18, no. 5, pp. 602–610, 2005.

A. Graves, “Generating sequences with recurrent neural networks,” ArXiv Prepr. ArXiv13080850, 2013.

S. Hochreiter and J. Schmidhuber, “Long short-term memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997.

F. A. Gers, N. N. Schraudolph, and J. Schmidhuber, “Learning precise timing with LSTM recurrent networks,” J. Mach. Learn. Res., vol. 3, no. Aug, pp. 115–143, 2002.

S. Hochreiter, Y. Bengio, P. Frasconi, and J. Schmidhuber, Gradient flow in recurrent nets: the difficulty of learning long-term dependencies. A field guide to dynamical recurrent neural networks. IEEE Press, 2001.

“Deeplearning4j: Open-source, Distributed Deep Learning for the JVM.” [Online]. Available: https://deeplearning4j.org/. [Accessed: 09-Mar-2017].

Published
2017-07-31
How to Cite
[1]
S. Karaoglu, U. Arpaci, and S. Ayvaz, “A Deep Learning Approach for Optimization of Systematic Signal Detection in Financial Trading Systems with Big Data”, IJISAE, pp. 31-36, Jul. 2017.
Section
Research Article