A Financial Deep Learning Framework: Predicting the Values of Financial Time Series With ARIMA and LSTM

A Financial Deep Learning Framework: Predicting the Values of Financial Time Series With ARIMA and LSTM

Zhenjun Li, Yinping Liao, Bo Hu, Liangyu Ni, Yunting Lu
Copyright: © 2022 |Pages: 15
DOI: 10.4018/IJWSR.302640
Article PDF Download
Open access articles are freely available for download

Abstract

Prediction of stock price movement is regarded as a challenging task of financial time series prediction. Due to the complexity and massive financial market data, the research of deep learning approaches for predicting the future price is very difficult. This study attempted to develop a novel framework, named 13f-LSTM, where the AutoRegressive Integrated Moving Average (ARIMA), for the first time, as one of the technical features, Fourier transforms for trend analysis and Long-Short Term Memory (LSTM), including its variants, to forecast the future’s closing prices. Thirteen historical and technical features of stock were selected as inputs of the proposed 13f-LSTM model. Three typical stock market indices in the real world and their corresponding closing prices in 30 trading days are chosen to examine the performance and predictive accuracy of it. The experimental results show that the 13f-LSTM model outperforms other proposed models in both profitability performance and predictive accuracy.
Article Preview
Top

Introduction

The application of time series prediction in financial fields is generally considered one of the most complicated issues in time series analysis due to the financial data noise and vast factors. Time series forecasting is a research program that has some useful applications in numerous other research fields, especially in the financial fields. Forecasting by time series can help people make wise decisions to reduce the risks of investments. In a time series, time is usually an important variable used for making decisions and predictions. When the authors use time series to predict the trend of the future financial market, for example, the stock indices, the authors need to introduce some detailed historical data over some time to train a model. Researchers usually use historical data to predict various future events, such as the forecast of stock prices and changes in product sales.

In this study, the authors focus mainly on the multi-feature stock selection and the deep learning models in the financial market’s trend prediction. Specifically, like most of the applications of classic time series models, the authors require strict assumptions regarding the distributions and stationarity of time series. Meanwhile, all units of the input vectors are independent of each other. The authors select 13 typical stock technique features, which include the result of autoregressive integrated moving average (ARIMA). After being denoised by Fourier transforms, they will be input into LSTM for future predictions. The model in the researcher’s study is named 13f-LSTM. The flowchart of the 13f-LSTM model for the financial time series is shown in Figure 1. Then the authors evaluate and compare the predictive accuracy of both 12 features LSTM, called 12f-LSTM in this paper (without ARIMA) and 13f-LSTM for a long-term stock time series prediction. Moreover, the authors will compare 13f-BLSTM and 13-LSTM in model performance and predictive accuracy.

Figure 1.

The flowchart of the 13f-LSTM model for financial time series

IJWSR.302640.f01
Top

The organization of this paper is as follows. In the next section, the authors discuss the existing works related to the research and the advantages of the proposed approach is over the existing works. In the following section, the authors proposed a hybrid model, named 13f-LSTM, with introductions to Fourier transform, ARIMA, LSTM, and its variants. The next sections present the inputs and data resources of 13f-LSTM, followed by the design and analysis of our experiment and its results, and finally, the authors present conclusions from the study.

In the last decade, several approaches, including statistical models and machine learning models, have been proposed to predict financial time series. Most of the traditional statistical models assume that the time series under study is generated from a linear process (Kumar & Murugan, 2013). However, financial time series are essentially dynamic, chaotic, nonlinear, complicated, and highly noisy (Si & Yin, 2013). Machine learning models, such as the support vector regression (SVR; Wikipedia, n.d.a) and especially deep learning models, i.e., artificial neural networks (ANNs; Guo et al., 2014), have been applied successfully in modeling, optimizing, and predicting the financial time SERIES (Lee, 2009). Most of them can capture linear or nonlinear relationships between key features with no prior knowledge about the input data (Atsalakis et al., 2009).

Throughout the traditional statistical techniques, for the quantitative stock market, multi-factor or multi-feature stock selection strategy is the most widely used stock selection model in quantitative stock investment (Zhang et al., 2018). The basic principle is based on mathematical and statistical methods, testing the validity of a series of factors related to stock prices, combining multiple valid features to establish a quantitative model to model stocks, and selecting the best performance according to the corresponding principles for an excess return of the stock portfolio (Peng et al., 2022).

Complete Article List

Search this Journal:
Reset
Volume 21: 1 Issue (2024)
Volume 20: 1 Issue (2023)
Volume 19: 4 Issues (2022): 1 Released, 3 Forthcoming
Volume 18: 4 Issues (2021)
Volume 17: 4 Issues (2020)
Volume 16: 4 Issues (2019)
Volume 15: 4 Issues (2018)
Volume 14: 4 Issues (2017)
Volume 13: 4 Issues (2016)
Volume 12: 4 Issues (2015)
Volume 11: 4 Issues (2014)
Volume 10: 4 Issues (2013)
Volume 9: 4 Issues (2012)
Volume 8: 4 Issues (2011)
Volume 7: 4 Issues (2010)
Volume 6: 4 Issues (2009)
Volume 5: 4 Issues (2008)
Volume 4: 4 Issues (2007)
Volume 3: 4 Issues (2006)
Volume 2: 4 Issues (2005)
Volume 1: 4 Issues (2004)
View Complete Journal Contents Listing