An ensemble of a boosted hybrid of deep learning models and technical analysis for forecasting stock prices

被引:51
作者
Kamara, Amadu Fullah [1 ,2 ]
Chen, Enhong [1 ]
Pan, Zhen [1 ]
机构
[1] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei, Peoples R China
[2] Univ Sierra Leone, Fourah Bay Coll, Dept Math & Stat, Freetown, Sierra Leone
基金
中国国家自然科学基金;
关键词
Attention-based convolutional neural network; Contextual bidirectional long short-term memory; Moving average; Moving average convergence-divergence curve; Moving average convergence-divergence histogram; Relative strength index; CONVOLUTIONAL NEURAL-NETWORK; CLASSIFICATION; ATTENTION;
D O I
10.1016/j.ins.2022.02.015
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
For several years the modeling as well as forecasting of the prices of stocks have been extremely challenging for the business community and researchers as a result of the existence of noise in samples and also the non-stationary behaviour of information samples. Notwithstanding these drawbacks with improved deep learning, it is now possible to design schemes that will efficiently perform the feature learning task. For this work, we proposed a brand-new end to end algorithm labeled EHTS toward solving the stock price forecasting problem. The AB - CNN and CB - LSTM modules extract features from the stock price dataset and soon after amalgamating the results. Thus, the output of the concatenation stage was feed into the concluding stage which is a stand-alone MLP module. The inclusion of the LSTM and Attention Mechanism in our architecture is to extract long-range and exceptionally long-term stock price information. We experiment the proposed algorithm on two popular stocks both from the NYSE stock market namely "Johnson & Johnson" code-named, "JNJ" and the Bank of America (BAC). In terms of the rMSE, MAE and MAPE error metrics, our proposed scheme gives the lowest error value in all for all datasets. Also, five percentage training window sizes are experimented and EHTS outperforms all the baseline schemes for the different window sizes in all the two datasets with the 70% window size having the highest performance. In terms of number of epochs, EHTS uses the lowest number of epochs for training than the other schemes in all the datasets. Finally, we as well study our stock's information to point out short-range trading opportunities by performing simulations on our stock price data. The metrics considered in the simulation are as follows: Moving Average (MA), Moving Average Convergence Divergence (MACD) curve, MACD histogram, Signal line, Relative Strength Index (RSI), Returns (R), Annual Returns (AR), Sharpe Ratio (SR), Annual Volatility (V), Maximum DrawDown (MDD) and Daily WinningRate (DWR). For all the aforementioned metrics, EHTS performs better than the baselines. Experimental results revealed that our proposed scheme outperformed the stand-alone deep learning schemes, statistical algorithms, and machine learning models from the beginning to the end. (C) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页码:1 / 19
页数:19
相关论文
共 50 条
[21]   A hybrid model integrating deep learning with investor sentiment analysis for stock price prediction [J].
Jing, Nan ;
Wu, Zhao ;
Wang, Hefei .
EXPERT SYSTEMS WITH APPLICATIONS, 2021, 178
[22]   Vehicle detection and traffic density estimation using ensemble of deep learning models [J].
Mittal, Usha ;
Chawla, Priyanka .
MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (07) :10397-10419
[23]   Social Network Sentiment Analysis Using Hybrid Deep Learning Models [J].
Merayo, Noemi ;
Vegas, Jesus ;
Llamas, Cesar ;
Fernandez, Patricia .
APPLIED SCIENCES-BASEL, 2023, 13 (20)
[24]   Heart Sound Classification Using Wavelet Analysis Approaches and Ensemble of Deep Learning Models [J].
Lee, Jin-A ;
Kwak, Keun-Chang .
APPLIED SCIENCES-BASEL, 2023, 13 (21)
[25]   Forecasting Copper Prices Using Deep Learning: Implications for Energy Sector Economies [J].
Derakhshani, Reza ;
GhasemiNejad, Amin ;
Amani Zarin, Naeeme ;
Amani Zarin, Mohammad Mahdi ;
Jalaee, Mahdis sadat .
MATHEMATICS, 2024, 12 (15)
[26]   Machine Learning and Deep Learning Models Applied to Photovoltaic Production Forecasting [J].
Cordeiro-Costas, Moises ;
Villanueva, Daniel ;
Eguia-Oller, Pablo ;
Granada-Alvarez, Enrique .
APPLIED SCIENCES-BASEL, 2022, 12 (17)
[27]   TLACP: A Hybrid Deep Learning Model for Stock Market Prediction [J].
Li, Zechen .
PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, :469-479
[28]   Mid-term forecasting of crude oil prices using the hybrid CEEMDAN and CNN_LSTM deep learning model [J].
Gandhi, Herry Kartika .
POLITYKA ENERGETYCZNA-ENERGY POLICY JOURNAL, 2024, 27 (04) :19-38
[29]   Glomerulus Semantic Segmentation Using Ensemble of Deep Learning Models [J].
Gu, Ye ;
Ruan, Ruyun ;
Yan, Yan ;
Zhao, Jian ;
Sheng, Weihua ;
Liang, Lixin ;
Huang, Bingding .
ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2022, 47 (11) :14013-14024
[30]   Glomerulus Semantic Segmentation Using Ensemble of Deep Learning Models [J].
Ye Gu ;
Ruyun Ruan ;
Yan Yan ;
Jian Zhao ;
Weihua Sheng ;
Lixin Liang ;
Bingding Huang .
Arabian Journal for Science and Engineering, 2022, 47 :14013-14024