| Literature DB >> 35785077 |
Dushmanta Kumar Padhi1, Neelamadhab Padhy1, Akash Kumar Bhoi2,3,4, Jana Shafi5, Seid Hassen Yesuf6.
Abstract
Developing reliable equity market models allows investors to make more informed decisions. A trading model can reduce the risks associated with investment and allow traders to choose the best-paying stocks. However, stock market analysis is complicated with batch processing techniques since stock prices are highly correlated. In recent years, advances in machine learning have given us a lot of chances to use forecasting theory and risk optimization together. The study postulates a unique two-stage framework. First, the mean-variance approach is utilized to select probable stocks (portfolio construction), thereby minimizing investment risk. Second, we present an online machine learning technique, a combination of "perceptron" and "passive-aggressive algorithm," to predict future stock price movements for the upcoming period. We have calculated the classification reports, AUC score, accuracy, and Hamming loss for the proposed framework in the real-world datasets of 20 health sector indices for four different geographical reasons for the performance evaluation. Lastly, we conduct a numerical comparison of our method's outcomes to those generated via conventional solutions by previous studies. Our aftermath reveals that learning-based ensemble strategies with portfolio selection are effective in comparison.Entities:
Mesh:
Year: 2022 PMID: 35785077 PMCID: PMC9246624 DOI: 10.1155/2022/7588303
Source DB: PubMed Journal: Comput Intell Neurosci
Numerous research studies conducted based on batch learning techniques.
| SL. No. | Authors (year)/publisher | Dataset used | Target output | Period of forecasting | Preferred technique |
|---|---|---|---|---|---|
| 1 | Jiang et al. (2019) [ | Three major US stock indices (S&P 500, Dow 30, Nasdaq) | Market direction | Short | Tree-based ensemble method + deep learning |
| 2 | Ayala et al. (2021) [ | IBEX, DAX, and DJIA | Stock index prediction | Short span (for a particular window) | Linear regression and ANN regression model performed well among all ML models |
| 3 | Nabipour et al. (2020) [ | Tehran Stock Exchange | Price prediction | Short term | Technical indicators + LSTM |
| 4 | Shafiq et al. (2020) [ | Chinese stock market | Index trend | Short-time period | Feature engineering-based fusion model using PCA and LSTM |
| 5 | Jothimani and Yadav (2019) [ | Nifty Index | Asset price | Short span | CEEMDAN, ANN, SVR, EEMD, EMD |
| 6 | Zhong and Enke (2019) [ | US SPDR S&P 500 ETF (SPY) | Daily return direction | Short term | Fusion of deep neural network and principal component analysis. |
| 7 | Ampomah et al. (2020) [ | NYSE, Nasdaq, NSE | Daily return direction | Short term | A comparative study done using different tree-based ensemble models where extra tree performs better |
| 8 | Sun et al. (2020) [ | Chinese stock market | Return direction of asset | Short period | AdaBoost-SVM + SMOTE |
| 9 | Yang et al. (2020) [ | Shanghai and Shenzhen 300 Index | Market volatility forecast | Short term | SVM |
| 10 | Jiayu et al. (2020) [ | S&P 500, DJIA, HSI | Index price | Short term | Long short memory with attention mechanism |
| 11 | Boonpeng and Jeatrakul (2016) [ | Thailand Stock Exchange | Index price | Short term | OAA-neural network |
| 12 | Yang et al. (2019) [ | China Stock Exchange | Market volatility | Intra-day | SVM |
| 13 | Yun et al.(2021) [ | Apple and Yahoo | Index price | Short term | XGBoost |
| 14 | Ecer et al. (2020) [ | Borsa Istanbul | Return direction of asset | Short term | MLP–GA, MLP–PSO |
| 15 | Wang et al. (2012) [ | Shenzhen Integrated Index and DJIA | Index price | Weekly | BPNN, ARIMA, and ESM |
| 16 | Chenglin et al., (2020) [ | China Stock Exchange | Trend of stock market | Short term | ARI-MA-LS-SVM |
| 17 | Tiwari et al. (2010) [ | BSE, India | Index price | Short term | Markov model + decision tree |
| 18 | Paiva et al.(2018) [ | IBOVESPA | Portfolio selection and stock prediction | Dailly | SVM+ mean-variance |
| 19 | Wang et al. (2020) [ | US Stock Exchange 100 Index | Portfolio selection and stock prediction | Return per year | LSTM + mean-variance |
| 20 | Basak et al. (2018) [ | 10 Indian Stock Exchange Companies | Index price increase or decrease | Medium to long run | XGBoost + random forest |
Algorithm 1Algorithm 1 Perceptron.
List of stocks initially selected for an experiment with different geographic areas.
| USA | London | Germany | France |
|---|---|---|---|
| DHR | AZN | AFX | CGN |
| JNJ | DPHL | BAYN | CVS |
| MDT | GSK | BRM | EWL |
| NVO | HIKL | MRK | MTO |
| UNH | SNL | SRT | TN8 |
List of different geographic stocks finally selected for experiment.
| Name of the stocks | DHR | NVO | UNH | DPHL | AFX | MRK | CVS | EWL | MTO | TN8 |
|---|---|---|---|---|---|---|---|---|---|---|
| Range of the dataset | 5/11/1987 to 24/11/2021 | 04/01/1982 to 24/11/2021 | 26/03/1990 to 24/11/2021 | 21/09/2000 to 24/11/2021 | 22/03/2000 to 24/11/2021 | 26/06/1998 to 24/11/2021 | 03/01/2000 to 24/11/2021 | 08/03/2001 to 24/11/2021 | 11/09/2000 to 24/11/2021 | 11/09/2000 to 24/11/2021 |
DHR- Danaher Corporation; NVO- Novo Nordisk A/S; UNH- UnitedHealth Group Incorporated; DPHL- Dechra Pharmaceuticals PLC; AFX- Alpha FX Group plc; MRK -Merck & Co., Inc.; CVS - CVS Health Corporation; EWL - iShares; MSCI Switzerland ETF; MTO -Mitie Group plc; TN8 - Thermo Fisher Scientific Inc.
Figure 1Proposed framework.
List of American stocks with their weights.
| Name of the stocks | DHR | JNJ | MDT | NVO | UNH |
|---|---|---|---|---|---|
| Weights | 0.04507 |
|
| 0.69592 | 0.25901 |
DHR- Danaher Corporation; JNJ- Johnson & Johnson; MDT- Medtronic plc; NVO- Novo Nordisk A/S; UNH- UnitedHealth Group Incorporated.
List of United Kingdom stocks with their weights.
| Name of the stocks | AZN | DPHL | GSK | HIKL | SNL |
|---|---|---|---|---|---|
| Weights | 0.0 |
|
| 0.0 | 0.0 |
AZN- AstraZeneca PLC; DPHL- Dechra Pharmaceuticals PLC; GSK- GlaxoSmithKline plc; HIKL- Hikma Pharmaceuticals PLC; SNL - smith & nephew plc.
List of Germany stocks with their weights.
| Name of the stocks | AFX | BAYN | BRM | MRK | SRT |
|---|---|---|---|---|---|
| Weights | 0.31381 | 0.0 | 0.0 | 0.68619 | 0.0 |
Annual volatility: 20.7%; Sharpe ratio: 2.80.
List of France stocks with their weights.
| Name of the stocks | CGN | CVS | EWL | MTO | TN8 |
|---|---|---|---|---|---|
| Weights | 0.0 |
|
| 0.16845 | 0.22668 |
Annual volatility: 15.6%; Sharpe ratio: 2.37.
Forecast performances of the online learning ensemble model, American indices.
| Accuracy | AUC score | Hamming loss | Precision | Recall |
| |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Train | Test | 0 | 1 | 0 | 1 | 0 | 1 | |||
| UNH | 99.16 | 99.60 | 99.6041 | 0.00399 | 0.99 | 1.00 | 1.00 | 0.99 | 1.00 | 1.00 |
| NVO | 99.68 | 99.73 | 99.7322 | 0.00268 | 0.99 | 1.00 | 1.00 | 0.99 | 1.00 | 1.00 |
| DHR | 99.47 | 99.36 | 99.3724 | 0.00635 | 0.99 | 1.00 | 1.00 | 0.99 | 99.00 | 99.00 |
Confusion matrix of American indices.
| TP | FP | TN | FN | |
|---|---|---|---|---|
| UNH | 1013 | 2 | 984 | 6 |
| NVO | 1300 | 0 | 1302 | 7 |
| DHR | 1105 | 1 | 1083 | 13 |
Forecast performances of the online learning ensemble model, France indices.
| Accuracy | AUC score | Hamming loss | Precision | Recall |
| |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Train | Test | 0 | 1 | 0 | 1 | 0 | 1 | |||
| CVS.F | 99.72 | 99.49 | 99.50 | 0.00508 | 99.00 | 1.00 | 1.00 | 99.00 | 99.00 | 1.00 |
| EWL.F | 99.87 | 99.61 | 99.60 | 0.00386 | 99.00 | 1.00 | 1.00 | 99.00 | 1.00 | 1.00 |
| MTO.F | 99.94 | 99.91 | 99.91 | 0.00086 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| TN8.F | 99.81 | 99.84 | 99.84 | 0.00151 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
Confusion matrix of France indices.
| TP | FP | TN | FN | |
|---|---|---|---|---|
| CVS.F | 998 | 0 | 958 | 10 |
| EWL.F | 11013 | 1 | 1049 | 7 |
| MTO.F | 1162 | 0 | 1151 | 2 |
| TN8.F | 989 | 0 | 984 | 3 |
Forecast performances of the online learning ensemble model, German indices.
| Accuracy | AUC score | Hamming loss | Precision | Recall |
| |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Train | Test | 0 | 1 | 0 | 1 | 0 | 1 | |||
| AFX.DE | 99.1627 | 99.1631 | 99.15 | 0.00836 | 99.00 | 1.00 | 1.00 | 99.00 | 99.00 | 99.00 |
| MRK.DE | 99.4553 | 99.4771 | 99.47 | 0.00522 | 99.00 | 1.00 | 1.00 | 99.00 | 99.00 | 99.00 |
Confusion matrix of German indices.
| TP | FP | TN | FN | |
|---|---|---|---|---|
| AFX.DE | 702 | 2 | 720 | 10 |
| MRK.DE | 762 | 1 | 760 | 7 |
Forecast performances of the online learning ensemble model, London indices.
| Accuracy | AUC score | Hamming loss | Precision | Recall | f1 score | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Train | Test | 0 | 1 | 0 | 1 | 0 | 1 | |||
| DPH.L | 98.74 | 98.40 | 98.44 | 0.01591 | 97.00 | 1.00 | 1.00 | 97.00 | 98.00 | 98.00 |
Confusion matrix of London indices.
| TP | FP | TN | FN | |
|---|---|---|---|---|
| DPH.L | 748 | 0 | 736 | 24 |
Comparison of historical stock market forecasting methods to our suggested model's performance.
| Author | Output | Performance measurement (accuracy) (%) |
|---|---|---|
| Malagrino et al. (2018) [ | Daily asset flow | 71–78 |
| Zho et al. (2018) [ | Daily asset flow | 66.67 |
| Zheng et al. (2018) [ | Daily asset flow | 79.4 |
| Ren et al. (2018) [ | Daily asset flow | 89.0 |
| Hu et al. (2018) [ | Daily asset flow | 89.0 |
| Fischer and Krauss (2018) [ | Daily asset flow | 56 |
| Our proposed model | Daily asset flow |
|
Average accuracy of the proposed framework of different geographic indices.
| Country | America | German | France | London |
|---|---|---|---|---|
| Average accuracy | 99.56 | 99.32 | 99.71 | 98.40 |