Accurate stock price prediction has an important role in investment. Because data are characterized by high frequency, nonlinearity, and long memory, predicting prices precisely is challenging. Various forecasting methods have been proposed, from classical time series to machine-learning-based methods, such as random forest (RF), recurrent neural network (RNN), convolutional (CNN), Long Short-T...