Econometric and Python-Based Forecasting Tools for Global Market Price Prediction in the Context of Economic Security
Abstract
1. Introduction
2. Research Background
3. Materials and Methods
3.1. Stage 1. Data Preprocessing: Acquisition and Diagnostics
3.2. Stage 2. ARIMA-Based Forecasting and ML Residual Correction
3.3. Stage 3. Pure ML-Based Forecasting (Direct vs. Recursive)
3.4. Stage 4. Evaluation and Comparison
4. Results
4.1. Data Collection and Descriptive Statistics
4.2. ARIMA-Based Model Results
4.3. ML Technology in Prediction Tasks
4.4. Evaluation and Comparison
5. Discussion
6. Limitations and Future Research
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A
| Symbol of the Series | N | Median | CV | Skew | Kurtosis | ADF-d | ADF-p | STL-s |
|---|---|---|---|---|---|---|---|---|
| TSLA | 182 | 19.16 | 1.28 | 1.06 | −0.36 | 1 | 0.00 | 0.00 |
| MSTR | 240 | 13.34 | 2.02 | 4.03 | 16.35 | 3 | 0.51 | 0.00 |
| MARA | 159 | 20.12 | 1.03 | 1.37 | 1.02 | 0 | 0.04 | 0.00 |
| LUMN | 240 | 11.92 | 0.37 | −0.61 | 0.10 | 1 | 0.00 | 0.12 |
| MSFT | 240 | 39.41 | 1.16 | 1.34 | 0.54 | 1 | 0.00 | 0.00 |
| TSM | 240 | 16.87 | 1.22 | 1.73 | 2.41 | 3 | 0.45 | 0.00 |
| V | 209 | 77.01 | 0.82 | 0.67 | −0.67 | 1 | 0.00 | 0.10 |
| NVDA | 240 | 0.66 | 2.29 | 3.04 | 8.58 | 3 | 1.00 | 0.00 |
| AVGO | 192 | 18.66 | 1.47 | 2.43 | 5.86 | 3 | 1.00 | 0.24 |
| CELH | 223 | 1.29 | 1.71 | 2.10 | 4.26 | 1 | 0.00 | 0.00 |
| WMT | 240 | 20.16 | 0.71 | 1.70 | 2.89 | 3 | 0.82 | 0.00 |
| MO | 240 | 25.49 | 0.61 | 0.23 | −1.01 | 1 | 0.01 | 0.00 |
| SCHW | 240 | 25.03 | 0.68 | 0.87 | −0.46 | 1 | 0.00 | 0.00 |
| UMC | 240 | 1.59 | 0.86 | 1.34 | 0.10 | 1 | 0.00 | 0.00 |
| KO | 247 | 29.56 | 0.50 | 0.56 | −0.70 | 1 | 0.00 | 0.00 |
| STLA | 182 | 6.13 | 0.65 | 0.76 | −0.03 | 1 | 0.00 | 0.01 |
| BTC | 131 | 9630.72 | 1.18 | 1.42 | 1.29 | 3 | 0.09 | 0.00 |
| ETH | 93 | 1621.30 | 0.78 | 0.38 | −1.07 | 1 | 0.00 | 0.00 |
| XRP | 93 | 0.49 | 0.88 | 2.19 | 4.21 | 1 | 0.00 | 0.12 |
| USDT | 93 | 1.00 | 0.00 | 1.31 | 10.01 | 1 | 0.00 | 0.26 |
| EUR | 247 | 1.20 | 0.11 | 0.47 | −0.62 | 1 | 0.00 | 0.00 |
| JPY | 247 | 109.83 | 0.17 | 0.47 | 0.09 | 1 | 0.00 | 0.05 |
| KZT | 247 | 182.82 | 0.45 | 0.38 | −1.49 | 1 | 0.00 | 0.04 |
| FCL | 247 | 70.76 | 0.29 | 0.27 | −0.30 | 0 | 0.01 | 0.03 |
| FBZ | 217 | 75.63 | 0.30 | 0.16 | −0.84 | 0 | 0.03 | 0.00 |
| FNG | 247 | 3.58 | 0.53 | 1.62 | 2.76 | 0 | 0.01 | 0.00 |
| FGC | 247 | 1298.53 | 0.40 | 0.79 | 1.43 | 1 | 0.00 | 0.13 |
| FSI | 247 | 17.89 | 0.37 | 0.62 | −0.06 | 1 | 0.00 | 0.00 |
| FPL | 237 | 1034.45 | 0.26 | 0.93 | −0.08 | 1 | 0.00 | 0.00 |
| FHG | 247 | 3.19 | 0.25 | −0.08 | −0.38 | 1 | 0.00 | 0.03 |
| FZC | 247 | 398.23 | 0.32 | 0.58 | −0.49 | 1 | 0.00 | 0.00 |
| FZS | 247 | 1029.51 | 0.26 | 0.08 | −0.72 | 1 | 0.00 | 0.08 |
| FZW | 247 | 543.74 | 0.27 | 0.83 | 0.91 | 0 | 0.01 | 0.00 |
| FKC | 247 | 134.61 | 0.37 | 1.71 | 3.34 | 1 | 0.00 | 0.00 |
| FCC | 247 | 2552.38 | 0.60 | 2.99 | 8.68 | 1 | 0.00 | 0.00 |
| FSB | 247 | 16.32 | 0.30 | 0.64 | −0.06 | 0 | 0.05 | 0.05 |
| FCT | 247 | 71.20 | 0.32 | 2.18 | 7.03 | 0 | 0.00 | 0.03 |
| WTI | 247 | 70.84 | 0.29 | 0.27 | −0.31 | 0 | 0.01 | 0.03 |
| NGUS | 247 | 3.54 | 0.54 | 1.60 | 2.77 | 0 | 0.00 | 0.00 |
| NGEU | 247 | 8.79 | 0.79 | 3.74 | 17.88 | 0 | 0.00 | 0.02 |
| COA | 247 | 2.48 | 0.54 | 2.98 | 9.24 | 1 | 0.04 | 0.00 |
| CFAR | 247 | 3.47 | 0.34 | 1.42 | 2.11 | 1 | 0.00 | 0.00 |
| PALM | 247 | 826.02 | 0.30 | 0.78 | 0.92 | 0 | 0.01 | 0.03 |
| SOY | 247 | 430.11 | 0.25 | 0.27 | −0.62 | 1 | 0.00 | 0.00 |
| SBOIL | 247 | 911.90 | 0.29 | 0.81 | 0.52 | 1 | 0.00 | 0.00 |
| MAIZ | 247 | 177.43 | 0.31 | 0.59 | −0.54 | 1 | 0.00 | 0.01 |
| WHRW | 247 | 246.25 | 0.30 | 0.73 | 0.21 | 0 | 0.02 | 0.00 |
| SUGW | 247 | 0.37 | 0.28 | 0.47 | −0.38 | 0 | 0.05 | 0.04 |
| KCL | 247 | 301.50 | 0.52 | 2.00 | 5.08 | 1 | 0.00 | 0.00 |
| ALUM | 247 | 2069.24 | 0.19 | 0.47 | −0.22 | 0 | 0.03 | 0.00 |
| IORE | 247 | 100.10 | 0.37 | 0.62 | −0.42 | 0 | 0.02 | 0.00 |
| CU | 247 | 7061.02 | 0.24 | −0.25 | −0.54 | 0 | 0.04 | 0.00 |
| ZN | 247 | 2366.68 | 0.27 | 0.40 | 0.07 | 0 | 0.04 | 0.00 |
| GOLD | 247 | 1299.58 | 0.40 | 0.80 | 1.45 | 1 | 0.00 | 0.14 |
| TCI | 247 | 94.40 | 0.26 | 0.36 | −0.64 | 0 | 0.04 | 0.00 |
| ENER | 247 | 94.71 | 0.31 | 0.39 | −0.43 | 0 | 0.03 | 0.00 |
| AGRI | 247 | 93.72 | 0.18 | −0.17 | −0.77 | 1 | 0.00 | 0.00 |
| MMIN | 247 | 90.28 | 0.22 | −0.02 | −0.75 | 0 | 0.03 | 0.03 |
| BMEX | 247 | 94.23 | 0.21 | −0.01 | −0.62 | 0 | 0.04 | 0.00 |
| PMET | 247 | 102.30 | 0.38 | 0.65 | 1.02 | 1 | 0.00 | 0.11 |
| DJI | 247 | 17,302.14 | 0.49 | 0.71 | −0.72 | 1 | 0.00 | 0.00 |
| SPX | 247 | 2028.18 | 0.57 | 0.99 | −0.06 | 1 | 0.00 | 0.00 |
| Domain/Symbol of the Series | Model/Metric | |||||
|---|---|---|---|---|---|---|
| ARIMA | ARIMA + Fourier | ARIMA + Fourier + ML | ||||
| Average of Test MAPE | Min of Test MAPE | Average of Test MAPE | Min of Test MAPE | Average of Test MAPE | Min of Test MAPE | |
| Financial assets | 23.75 | 0.11 | 24.21 | 0.12 | 24.71 | 0.08 |
| AVGO | 17.37 | 10.82 | 16.80 | 9.31 | 16.53 | 9.43 |
| BTC | 29.61 | 26.00 | 31.23 | 25.79 | 30.20 | 24.98 |
| CELH | 49.89 | 20.50 | 51.38 | 39.42 | 53.36 | 41.22 |
| ETH | 23.14 | 18.38 | 24.66 | 17.35 | 24.54 | 14.96 |
| EUR | 2.21 | 1.16 | 2.21 | 1.56 | 2.16 | 1.43 |
| JPY | 6.13 | 5.40 | 6.40 | 6.30 | 6.40 | 6.03 |
| KO | 7.00 | 5.81 | 6.72 | 4.93 | 6.68 | 5.21 |
| KZT | 3.63 | 3.20 | 4.03 | 3.16 | 4.35 | 3.62 |
| LUMN | 89.78 | 39.40 | 93.92 | 43.31 | 93.78 | 43.43 |
| MARA | 30.58 | 21.52 | 32.62 | 14.88 | 36.11 | 17.86 |
| MO | 11.04 | 4.80 | 10.82 | 2.90 | 11.08 | 3.18 |
| MSFT | 17.00 | 4.37 | 13.61 | 4.10 | 13.75 | 4.01 |
| MSTR | 49.92 | 45.00 | 48.85 | 45.59 | 48.54 | 45.35 |
| NVDA | 41.27 | 33.91 | 40.83 | 28.40 | 40.97 | 28.83 |
| SCHW | 19.55 | 7.50 | 19.71 | 8.76 | 19.78 | 10.61 |
| STLA | 33.84 | 19.26 | 38.78 | 25.14 | 39.56 | 26.87 |
| TSLA | 25.28 | 17.49 | 26.33 | 20.18 | 28.99 | 21.48 |
| TSM | 19.41 | 8.53 | 21.53 | 14.76 | 21.85 | 15.45 |
| UMC | 11.11 | 7.91 | 10.32 | 5.78 | 10.89 | 6.74 |
| USDT | 0.12 | 0.11 | 0.13 | 0.12 | 0.09 | 0.08 |
| V | 10.08 | 5.48 | 9.73 | 5.56 | 9.43 | 5.01 |
| WMT | 16.38 | 5.18 | 16.24 | 5.17 | 15.20 | 4.71 |
| XRP | 32.04 | 11.43 | 29.89 | 17.24 | 33.98 | 22.56 |
| Futures | 14.21 | 3.21 | 13.80 | 3.03 | 14.40 | 3.09 |
| FBZ | 11.19 | 7.26 | 9.33 | 4.33 | 10.51 | 5.22 |
| FCC | 24.99 | 10.19 | 25.36 | 9.75 | 25.44 | 10.49 |
| FCL | 9.57 | 8.06 | 8.21 | 4.20 | 8.90 | 4.76 |
| FCT | 7.31 | 5.18 | 7.76 | 4.84 | 8.63 | 5.97 |
| FGC | 10.47 | 4.77 | 10.04 | 4.12 | 9.97 | 3.91 |
| FHG | 10.88 | 4.64 | 10.10 | 3.03 | 9.35 | 3.09 |
| FKC | 18.74 | 8.26 | 19.07 | 10.62 | 18.26 | 11.49 |
| FNG | 48.64 | 12.41 | 46.99 | 13.15 | 48.51 | 19.01 |
| FPL | 5.50 | 3.28 | 5.73 | 3.43 | 6.30 | 5.09 |
| FSB | 10.13 | 6.64 | 9.65 | 6.50 | 10.83 | 7.89 |
| FSI | 8.19 | 3.92 | 9.18 | 3.94 | 10.13 | 6.28 |
| FZC | 14.69 | 11.27 | 14.87 | 11.91 | 14.86 | 11.29 |
| FZS | 12.58 | 8.40 | 10.69 | 4.36 | 11.08 | 4.96 |
| FZW | 6.15 | 3.21 | 6.19 | 3.63 | 8.82 | 5.66 |
| Commodities | 19.83 | 2.40 | 18.51 | 3.12 | 19.30 | 3.76 |
| ALUM | 8.98 | 2.40 | 8.79 | 3.12 | 8.55 | 3.76 |
| CFAR | 14.18 | 8.24 | 14.03 | 6.37 | 13.91 | 6.74 |
| COA | 24.14 | 12.86 | 24.77 | 14.20 | 24.93 | 15.90 |
| CU | 6.19 | 5.13 | 6.09 | 3.78 | 5.52 | 4.19 |
| GOLD | 10.51 | 4.82 | 10.12 | 4.33 | 9.91 | 3.80 |
| IORE | 10.22 | 6.55 | 10.81 | 7.44 | 10.54 | 6.53 |
| KCL | 14.56 | 3.93 | 14.75 | 3.23 | 14.20 | 5.36 |
| MAIZ | 15.01 | 9.90 | 14.99 | 8.02 | 15.99 | 9.73 |
| NGEU | 97.08 | 19.25 | 79.17 | 10.45 | 86.15 | 21.49 |
| NGUS | 55.37 | 21.85 | 56.75 | 21.91 | 62.07 | 28.76 |
| PALM | 12.57 | 9.41 | 12.08 | 6.90 | 11.96 | 8.20 |
| SBOIL | 10.70 | 5.41 | 9.02 | 5.58 | 8.80 | 6.04 |
| SOY | 15.31 | 11.62 | 12.75 | 9.39 | 13.36 | 9.93 |
| SUGW | 10.11 | 5.36 | 9.47 | 4.90 | 9.99 | 6.02 |
| WHRW | 10.57 | 6.00 | 9.66 | 5.14 | 9.78 | 5.43 |
| WTI | 10.31 | 9.15 | 8.28 | 4.62 | 9.33 | 4.78 |
| ZN | 11.28 | 6.48 | 13.14 | 5.71 | 13.10 | 5.97 |
| Market indices | 8.23 | 1.93 | 7.94 | 1.31 | 8.11 | 1.63 |
| AGRI | 3.36 | 2.06 | 3.32 | 1.31 | 3.30 | 1.63 |
| BMEX | 8.94 | 7.18 | 8.40 | 7.52 | 8.04 | 7.08 |
| DJI | 4.34 | 1.93 | 4.31 | 1.71 | 4.68 | 2.40 |
| ENER | 13.85 | 6.12 | 14.37 | 5.95 | 15.23 | 6.90 |
| MMIN | 6.83 | 3.22 | 6.67 | 4.43 | 6.47 | 4.34 |
| PMET | 9.19 | 2.89 | 9.31 | 2.95 | 9.14 | 2.94 |
| SPX | 7.78 | 3.38 | 7.73 | 4.33 | 7.94 | 3.76 |
| TCI | 11.53 | 4.33 | 9.43 | 4.61 | 10.04 | 4.80 |
| Total | 18.52 | 0.11 | 18.20 | 0.12 | 18.75 | 0.08 |
| Domain/Symbol of the Series | Direct 12-Month Forecast | Recursive One-Step Forecast | ||||||
|---|---|---|---|---|---|---|---|---|
| Level | Log | Level | Log | |||||
| Test MAPE | PR * | Test MAPE | PR * | Test MAPE | PR * | Test MAPE | PR * | |
| Financial assets | 43.89 | 0.52 | 43.97 | 0.46 | 32.71 | 0.44 | 35.93 | 0.39 |
| AVGO | 51.14 | 0.05 | 58.76 | 0.05 | 41.63 | 0.05 | 42.72 | 0.06 |
| BTC | 48.56 | 0.32 | 47.79 | 0.40 | 39.86 | 0.22 | 32.72 | 0.44 |
| CELH | 49.62 | 0.17 | 53.17 | 0.30 | 54.77 | 0.10 | 52.48 | 0.12 |
| ETH | n.a. ** | n.a. ** | n.a. ** | n.a. ** | 21.36 | 0.58 | 20.91 | 0.38 |
| EUR | 5.77 | 0.95 | 5.69 | 1.02 | 2.30 | 0.92 | 2.31 | 0.92 |
| JPY | 16.14 | 0.28 | 16.89 | 0.27 | 6.53 | 0.27 | 6.67 | 0.27 |
| KO | 11.56 | 0.26 | 11.83 | 0.26 | 8.84 | 0.28 | 8.86 | 0.29 |
| KZT | 5.37 | 0.62 | 5.50 | 0.59 | 4.83 | 0.56 | 4.84 | 0.59 |
| LUMN | 315.37 | 0.27 | 282.29 | 0.53 | 168.96 | 0.22 | 210.98 | 0.20 |
| MARA | 51.51 | 4.09 | 56.58 | 2.29 | 25.47 | 2.37 | 41.31 | 1.21 |
| MO | 20.34 | 0.27 | 21.01 | 0.25 | 15.87 | 0.23 | 27.44 | 0.08 |
| MSFT | 27.76 | 0.09 | 27.66 | 0.09 | 21.83 | 0.10 | 22.02 | 0.11 |
| MSTR | 60.57 | 0.19 | 63.46 | 0.20 | 54.86 | 0.11 | 61.49 | 0.11 |
| NVDA | 65.61 | 0.06 | 69.16 | 0.06 | 57.45 | 0.05 | 57.10 | 0.06 |
| SCHW | 12.28 | 0.53 | 14.96 | 0.43 | 13.46 | 0.28 | 14.20 | 0.35 |
| STLA | 25.11 | 0.45 | 29.42 | 0.44 | 31.78 | 0.16 | 30.85 | 0.16 |
| TSLA | 17.90 | 0.53 | 21.42 | 0.48 | 29.58 | 0.24 | 30.98 | 0.25 |
| TSM | 32.59 | 0.25 | 33.31 | 0.23 | 28.00 | 0.27 | 26.70 | 0.31 |
| UMC | 9.55 | 0.86 | 9.18 | 0.99 | 14.19 | 0.27 | 12.76 | 0.34 |
| USDT | n.a. ** | n.a. ** | n.a. ** | n.a. ** | 0.04 | 6.07 | 0.04 | 5.95 |
| V | 22.08 | 0.13 | 22.05 | 0.13 | 17.34 | 0.12 | 17.58 | 0.12 |
| WMT | 28.92 | 0.14 | 29.37 | 0.14 | 24.92 | 0.10 | 25.29 | 0.10 |
| XRP | n.a. ** | n.a. ** | n.a. ** | n.a. ** | 51.98 | 0.13 | 54.75 | 0.07 |
| Futures | 22.08 | 1.22 | 20.82 | 1.30 | 20.01 | 0.63 | 19.01 | 0.57 |
| FBZ | 13.50 | 1.62 | 11.66 | 1.67 | 13.97 | 0.63 | 14.15 | 0.62 |
| FCC | 51.91 | 0.19 | 52.01 | 0.15 | 39.18 | 0.11 | 41.89 | 0.10 |
| FCL | 21.23 | 0.91 | 20.95 | 0.98 | 6.86 | 0.99 | 20.66 | 0.44 |
| FCT | 9.68 | 2.45 | 8.15 | 2.67 | 11.35 | 1.03 | 8.06 | 0.52 |
| FGC | 24.15 | 0.20 | 24.80 | 0.18 | 18.44 | 0.13 | 18.55 | 0.13 |
| FHG | 12.85 | 0.79 | 15.33 | 0.68 | 6.24 | 0.63 | 6.28 | 0.64 |
| FKC | 30.93 | 0.41 | 29.50 | 0.44 | 19.11 | 0.25 | 19.08 | 0.35 |
| FNG | 67.34 | 0.97 | 57.33 | 1.30 | 83.45 | 0.68 | 67.82 | 0.71 |
| FPL | 5.88 | 2.82 | 6.11 | 2.75 | 3.98 | 1.54 | 4.34 | 1.52 |
| FSB | 14.66 | 1.41 | 13.79 | 1.60 | 18.37 | 0.36 | 15.53 | 0.55 |
| FSI | 23.42 | 0.73 | 19.87 | 0.74 | 20.54 | 0.45 | 12.24 | 0.52 |
| FZC | 7.67 | 2.02 | 7.24 | 2.15 | 11.46 | 0.68 | 11.94 | 0.58 |
| FZS | 13.70 | 1.14 | 13.71 | 1.13 | 11.05 | 0.61 | 9.86 | 0.55 |
| FZW | 12.24 | 1.43 | 11.01 | 1.75 | 16.13 | 0.67 | 15.79 | 0.71 |
| Commodities | 22.30 | 1.08 | 20.91 | 1.20 | 23.52 | 0.53 | 22.18 | 0.57 |
| ALUM | 10.00 | 1.18 | 12.28 | 0.80 | 8.44 | 0.58 | 8.51 | 0.63 |
| CFAR | 27.33 | 0.35 | 27.38 | 0.30 | 17.52 | 0.15 | 25.97 | 0.12 |
| COA | 47.86 | 0.16 | 47.84 | 0.16 | 39.91 | 0.09 | 44.92 | 0.09 |
| CU | 11.47 | 0.93 | 14.62 | 0.71 | 7.43 | 0.67 | 7.56 | 0.66 |
| GOLD | 23.99 | 0.18 | 23.39 | 0.19 | 18.77 | 0.12 | 25.68 | 0.07 |
| IORE | 13.72 | 1.49 | 11.45 | 2.17 | 16.01 | 0.57 | 22.47 | 0.64 |
| KCL | 16.00 | 2.29 | 11.91 | 3.05 | 15.00 | 0.93 | 13.35 | 1.14 |
| MAIZ | 9.93 | 1.54 | 10.77 | 1.44 | 11.61 | 0.55 | 15.42 | 0.34 |
| NGEU | 35.30 | 1.40 | 21.69 | 1.53 | 69.93 | 0.98 | 62.56 | 1.17 |
| NGUS | 82.19 | 1.00 | 79.11 | 0.88 | 92.29 | 0.51 | 51.46 | 0.89 |
| PALM | 11.36 | 1.42 | 11.79 | 1.31 | 11.07 | 0.54 | 11.51 | 0.57 |
| SBOIL | 11.73 | 1.21 | 8.73 | 1.48 | 20.94 | 0.54 | 19.43 | 0.74 |
| SOY | 17.93 | 0.79 | 16.72 | 0.75 | 17.56 | 0.28 | 14.35 | 0.37 |
| SUGW | 16.49 | 0.97 | 14.30 | 1.50 | 14.30 | 0.60 | 12.89 | 0.60 |
| WHRW | 11.65 | 1.43 | 11.14 | 1.86 | 15.53 | 0.49 | 13.54 | 0.57 |
| WTI | 20.78 | 0.88 | 21.34 | 0.87 | 7.26 | 0.91 | 12.83 | 0.58 |
| ZN | 11.36 | 1.10 | 11.00 | 1.39 | 16.22 | 0.53 | 14.61 | 0.55 |
| Market indices | 14.26 | 0.85 | 13.62 | 1.08 | 10.22 | 0.56 | 10.13 | 0.57 |
| AGRI | 4.27 | 1.46 | 4.50 | 1.60 | 2.33 | 0.91 | 2.33 | 0.91 |
| BMEX | 14.14 | 0.76 | 15.40 | 0.67 | 6.60 | 0.75 | 5.48 | 0.87 |
| DJI | 14.78 | 0.32 | 14.31 | 0.34 | 12.41 | 0.28 | 12.66 | 0.27 |
| ENER | 15.08 | 1.38 | 11.55 | 2.70 | 14.41 | 0.47 | 14.88 | 0.42 |
| MMIN | 11.94 | 0.99 | 12.21 | 0.91 | 3.63 | 1.07 | 4.40 | 0.91 |
| PMET | 24.25 | 0.21 | 24.48 | 0.20 | 17.33 | 0.21 | 17.68 | 0.20 |
| SPX | 19.26 | 0.25 | 19.38 | 0.25 | 16.76 | 0.18 | 16.72 | 0.21 |
| TCI | 10.33 | 1.47 | 7.12 | 1.99 | 8.27 | 0.64 | 6.88 | 0.77 |
| Total | 28.47 | 0.89 | 27.72 | 0.96 | 24.14 | 0.53 | 24.65 | 0.51 |
References
- Baranovskyi, O., Kuzheliev, M., Zherlitsyn, D., Serdyukov, K., & Sokyrko, O. (2021). Cryptocurrency market trends and fundamental economic indicators: Correlation and regression analysis. Financial and Credit Activity: Problems of Theory and Practice, 3(38), 249–261. [Google Scholar] [CrossRef]
- Bitto, A. K., Mahmud, I., Bijoy, M. H. I., Jannat, F. T., Arman, M. S., Shohug, M. M. H., & Jahan, H. (2022). CryptoAR: Scrutinizing the trend and market of cryptocurrency using machine learning approach on time series data. Indonesian Journal of Electrical Engineering and Computer Science, 28(3), 1684–1696. [Google Scholar] [CrossRef]
- Carta, S., Consoli, S., Podda, A. S., Recupero, D. R., & Stanciu, M. M. (2022). An explainable artificial intelligence tool for statistical arbitrage. Software Impacts, 14, 100354. [Google Scholar] [CrossRef]
- Demirel, U., Cam, H., & Unlu, R. (2021). Predicting stock prices using machine learning methods and deep learning algorithms: An empirical comparison of different algorithms. Gazi University Journal of Science, 34(1), 63–79. [Google Scholar] [CrossRef]
- Ding, Y., Sun, N., Xu, J., Li, P., Wu, J., & Tang, S. (2022). Research on Shanghai stock exchange 50 index forecast based on deep learning. Mathematical Problems in Engineering, 2022, 1367920. [Google Scholar] [CrossRef]
- Durairaj, M., & Mohan, B. H. K. (2021). Statistical evaluation and prediction of financial time series using hybrid regression prediction models. International Journal of Intelligent Systems and Applications in Engineering, 9(4), 245–254. Available online: https://ijisae.org/index.php/IJISAE/article/view/1515 (accessed on 24 August 2025). [CrossRef]
- Horn, F., Pack, R., & Rieger, M. (2019). The autofeat Python library for automated feature engineering and selection. In Machine learning and knowledge discovery in databases. ECML PKDD 2019. Lecture notes in computer science (vol. 11907, pp. 111–120). Springer. [Google Scholar] [CrossRef]
- Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: Principles and practice (2nd ed.). OTexts. Available online: https://otexts.com/fpp2/ (accessed on 24 August 2025).
- Ianioglo, A., & Polajeva, T. (2016). Origin and definition of the category of economic security of enterprise. In Business and management 2016. Vilnius Gediminas Technical University. [Google Scholar] [CrossRef]
- ISO 31000. (2018). Risk management—Guidelines (ISO 31000:2018). ISO (International Organization for Standardization). Available online: https://www.iso.org/standard/65694.html (accessed on 24 August 2025).
- Karamolegkos, S., & Koulouriotis, D. E. (2025). Advancing short-term load forecasting with decomposed Fourier ARIMA: A case study on the Greek energy market. Energy, 325, 135854. [Google Scholar] [CrossRef]
- Kuzheliev, M., Zherlitsyn, D., Rekunenko, I., Nechyporenko, A., & Nemsadze, G. (2020). The impact of inflation targeting on macroeconomic indicators in Ukraine. Banks and Bank Systems, 15(2), 94–104. [Google Scholar] [CrossRef]
- Lago, J., Marcjasz, G., De Schutter, B., & Weron, R. (2021). Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices, and an open-access benchmark. Applied Energy, 293, 116983. [Google Scholar] [CrossRef]
- Lin, Q. (2023). Price prediction of bitcoin using LSTM neural network. BCP Business & Management, 38, 2738–2744. [Google Scholar] [CrossRef]
- Mák, F. (2023). Szezonális előrejelzési bizonytalanság a villamosenergia-piacon. Statisztikai Szemle, 101(5), 403–439. [Google Scholar] [CrossRef]
- Min, L. Z., Sufahani, S. F., Abu, N., & Howe, L. K. (2025). Forecasting of rice production in Malaysia using naïve, holt’s linear trend, ARIMA, and feedforward backpropagation neural network. Multidisciplinary Science Journal, 8(2), 2026038. [Google Scholar] [CrossRef]
- Passos, D., & Mishra, P. (2022). A tutorial on automatic hyperparameter tuning of deep spectral modelling for regression and classification tasks. Chemometrics and Intelligent Laboratory Systems, 223, 104520. [Google Scholar] [CrossRef]
- Pavlatos, C., Makris, E., Fotis, G., Vita, V., & Mladenov, V. (2023). Utilization of artificial neural networks for precise electrical load prediction. Technologies, 11(3), 70. [Google Scholar] [CrossRef]
- Reis, F. P., Ferreira, H. V., & Rocha, A. P. (2022). Framework to predict energy prices and trades in the wholesale market of PowerTAC. In Proceedings of the international conference on agents and artificial intelligence (ICAART) (pp. 684–690). SciTePress. [Google Scholar] [CrossRef]
- Rubio-León, J., Rubio-Cienfuegos, J., Vidal-Silva, C., Cárdenas-Cobo, J., & Duarte, V. (2023). Applying fuzzy time series for developing forecasting electricity demand models. Mathematics, 11(17), 3667. [Google Scholar] [CrossRef]
- Schratz, P., Muenchow, J., Iturritxa, E., Richter, J., & Brenning, A. (2019). Hyperparameter tuning and performance assessment of statistical and machine-learning algorithms using spatial data. Ecological Modelling, 406, 109–120. [Google Scholar] [CrossRef]
- Sen, J., & Mehtab, S. (2021, August 27–29). Volatility modeling of stocks from selected sectors of the Indian economy using GARCH. 2021 Asian Conference on Innovation in Technology (ASIANCON) (pp. 1–6), Pune, India. [Google Scholar] [CrossRef]
- Sherly, A., Christo, M. S., & Elizabeth, J. V. (2025). A hybrid approach to time series forecasting: Integrating ARIMA and prophet for improved accuracy. Results in Engineering, 27, 105703. [Google Scholar] [CrossRef]
- Shih, K.-H., Wang, Y.-H., Kao, I.-C., & Lai, F.-M. (2024). Forecasting ETF performance: A comparative study of deep learning models and the Fama-French three-factor model. Mathematics, 12(19), 3158. [Google Scholar] [CrossRef]
- Smith, T. G. (2025). API references: Pmdarima.arima: ARIMA estimator & differencing tests. pmdarima: ARIMA estimators for Python. Available online: https://alkaline-ml.com/pmdarima/modules/classes.html (accessed on 24 August 2025).
- Sokolovska, Z., Ivchenko, I., & Ivchenko, O. (2024). Design of an intelligent data analysis platform for pharmaceutical forecasts. Eastern-European Journal of Enterprise Technologies, 5(9), 14–27. [Google Scholar] [CrossRef]
- Stier, Q., Gehlert, T., & Thrun, M. C. (2021). Multiresolution forecasting for industrial applications. Processes, 9(10), 1697. [Google Scholar] [CrossRef]
- Timbers, T., Campbell, T., Lee, M., Ostblom, J., & Heagy, L. (2024). Data science: A first introduction with Python (1st ed.). Chapman and Hall/CRC. [Google Scholar] [CrossRef]
- van Jaarsveldt, C., Peters, G. W., Ames, M., & Chantler, M. (2024). Package CovRegpy: Regularized covariance regression and forecasting in Python. Annals of Actuarial Science, 18(2), 474–508. [Google Scholar] [CrossRef]
- Wang, Y., Guo, Z., Zhang, Y., Hu, X., & Xiao, J. (2023). Iron ore price prediction based on multiple linear regression model. Sustainability, 15, 15864. [Google Scholar] [CrossRef]
- World Bank. (n.d.). Commodity price data. Available online: https://www.worldbank.org/en/research/commodity-markets (accessed on 24 August 2025).
- Yahoo Finance. (n.d.). Financial market data. Available online: https://finance.yahoo.com (accessed on 24 August 2025).
- Yahoo Finance Python API. (2025). Python interface for accessing Yahoo finance market data. Available online: https://pypi.org/project/yfinance/ (accessed on 24 August 2025).
- Yalcin, S., Yildirim, M., & Alatas, B. (2024). Advanced convolutional neural network modeling for fuel cell system optimization and efficiency in methane, methanol, and diesel reforming. PeerJ Computer Science, 10, e2113. [Google Scholar] [CrossRef]
- Yang, J., Xiao, X., Zhang, X., Wen, B., Zhang, Y., Guan, J., & Li, L. (2020). Optimization analysis of online marketing strategy based on the regression prediction model. IOP Conference Series: Earth and Environmental Science, 526(1), 012187. [Google Scholar] [CrossRef]
- Yüksel, O., & Köseoğlu, B. (2022). Regression modelling estimation of marine diesel generator fuel consumption and emissions. Transactions on Maritime Science, 11(1), 79–94. [Google Scholar] [CrossRef]
- Zakrzewski, G., Skonieczka, K., Małkiński, M., & Mańdziuk, J. (2024). ReModels: Quantile regression averaging models. SoftwareX, 28, 101905. [Google Scholar] [CrossRef]
- Zherlitsyn, D. (2024). Financial data analysis using Python. Mercury Learning and Information. [Google Scholar] [CrossRef]




| Subdomain | Number of Assets | CV | Skew | Kurtosis | STLs | Share of the Differencing Order, % | |
|---|---|---|---|---|---|---|---|
| d = 0 | d = 1 | ||||||
| Equity | 16 | 0.94 | 1.34 | 0.32 | 0.00 | 6.25 | 62.50 |
| Crypto | 4 | 0.83 | 1.36 | 2.75 | 0.06 | 0.00 | 75.00 |
| FX spot | 3 | 0.17 | 0.47 | −0.62 | 0.04 | 0.00 | 100.00 |
| Energy futures | 3 | 0.30 | 0.27 | −0.30 | 0.00 | 100.00 | 0.00 |
| Metal futures | 4 | 0.32 | 0.71 | −0.07 | 0.01 | 0.00 | 100.00 |
| Agricultural futures | 7 | 0.32 | 0.83 | 0.91 | 0.00 | 42.86 | 57.14 |
| Energy spot | 3 | 0.54 | 1.60 | 2.77 | 0.02 | 100.00 | 0.00 |
| Agricultural spot | 9 | 0.30 | 0.78 | 0.52 | 0.00 | 33.33 | 66.67 |
| Metal spot | 5 | 0.27 | 0.47 | −0.22 | 0.00 | 80.00 | 20.00 |
| Commodity index | 6 | 0.24 | 0.17 | −0.63 | 0.00 | 66.67 | 33.33 |
| Equity index | 2 | 0.53 | 0.85 | −0.39 | 0.00 | 0.00 | 100.00 |
| Model | Metric | Subdomain | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FS | FC | FX | FE | FM | FA | CE | CA | CM | IC | IF | ||
| ARIMA | Median test MAPE (%) | 20.11 | 20.21 | 3.53 | 12.09 | 6.60 | 10.19 | 19.79 | 11.96 | 7.36 | 7.79 | 5.55 |
| Minimum test MAPE (%) | 4.37 | 0.11 | 1.16 | 7.26 | 3.28 | 3.21 | 9.15 | 3.93 | 2.40 | 2.06 | 1.93 | |
| Median adjusted total computation time (sec.) | 0.40 | 1.02 | 0.41 | 0.45 | 0.50 | 0.54 | 0.45 | 0.51 | 0.55 | 0.48 | 0.45 | |
| ARIMA + Fourier | Median test MAPE (%) | 19.91 | 20.31 | 3.47 | 12.83 | 7.62 | 9.75 | 19.45 | 13.16 | 7.75 | 7.35 | 5.62 |
| Minimum test MAPE (%) | 2.90 | 0.12 | 1.56 | 4.20 | 3.03 | 3.63 | 4.62 | 3.23 | 3.12 | 1.31 | 1.71 | |
| Median adjusted total computation time (sec.) | 1.96 | 6.28 | 1.13 | 3.88 | 1.08 | 2.59 | 3.19 | 1.52 | 3.47 | 1.23 | 0.58 | |
| ARIMA + Fourier + ML | Median test MAPE (%) | 22.35 | 25.16 | 3.87 | 15.14 | 8.00 | 11.01 | 28.76 | 13.62 | 7.35 | 7.25 | 5.83 |
| Minimum test MAPE (%) | 3.18 | 0.08 | 1.43 | 4.76 | 3.09 | 4.96 | 4.78 | 5.36 | 3.76 | 1.63 | 2.40 | |
| Median adjusted search and fitting time (sec.) * | 2.45 | 7.96 | 1.57 | 4.32 | 1.55 | 3.08 | 3.61 | 1.99 | 3.92 | 1.77 | 1.06 | |
| Median adjusted total computation time (sec.) | 99.9 | 132.3 | 57.7 | 156.4 | 64.5 | 96.6 | 162.5 | 78.0 | 133.4 | 59.3 | 41.2 | |
| Train Scale and Forecast Type | Metric | Subdomain | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FS | FC | FX | FE | FM | FA | CE | CA | CM | IC | IF | ||
| Level data and direct forecast type | Median test MAPE (%) | 31.17 | 44.70 | 6.37 | 19.37 | 17.63 | 15.14 | 29.85 | 13.28 | 12.63 | 11.48 | 19.56 |
| Minimum test MAPE (%) | 6.82 | 43.81 | 3.60 | 7.22 | 3.04 | 4.24 | 15.83 | 3.90 | 5.15 | 1.69 | 5.17 | |
| Median adjusted time (sec) | 1.81 | 2.38 | 1.83 | 1.90 | 1.77 | 1.83 | 1.68 | 1.67 | 1.62 | 1.71 | 1.73 | |
| Median performance ratio | 0.24 | 0.20 | 0.65 | 1.01 | 0.66 | 1.29 | 1.09 | 1.02 | 0.95 | 0.91 | 0.16 | |
| Level data and recursive forecast type | Median test MAPE (%) | 25.89 | 36.34 | 3.04 | 17.05 | 8.95 | 17.24 | 18.73 | 16.45 | 10.90 | 6.63 | 17.05 |
| Minimum test MAPE (%) | 3.41 | 0.04 | 1.69 | 4.87 | 3.63 | 4.90 | 5.22 | 4.16 | 3.26 | 1.52 | 3.12 | |
| Median adjusted time (sec) | 9.18 | 10.80 | 9.19 | 9.03 | 9.01 | 8.95 | 8.43 | 8.56 | 8.62 | 8.64 | 9.00 | |
| Median performance ratio | 0.13 | 0.27 | 0.43 | 0.80 | 0.50 | 0.43 | 0.75 | 0.37 | 0.38 | 0.59 | 0.12 | |
| Log-transformed data and direct forecast type | Median test MAPE (%) | 32.20 | 47.39 | 6.63 | 16.08 | 17.76 | 13.01 | 22.01 | 11.83 | 13.54 | 10.73 | 19.22 |
| Minimum test MAPE (%) | 5.91 | 33.85 | 3.87 | 8.59 | 3.14 | 4.47 | 14.59 | 4.02 | 4.64 | 1.48 | 4.49 | |
| Median adjusted time (sec) | 1.61 | 2.36 | 1.76 | 1.69 | 1.61 | 1.64 | 1.55 | 1.57 | 1.60 | 1.60 | 1.58 | |
| Median performance ratio | 0.22 | 0.21 | 0.63 | 1.38 | 0.58 | 1.54 | 1.12 | 1.13 | 0.83 | 0.85 | 0.17 | |
| Log-transformed data and recursive forecast type | Median test MAPE (%) | 31.50 | 29.10 | 3.06 | 19.62 | 8.76 | 17.71 | 21.10 | 14.19 | 12.02 | 4.96 | 17.33 |
| Minimum test MAPE (%) | 2.97 | 0.04 | 1.64 | 5.53 | 3.70 | 4.01 | 6.30 | 3.86 | 3.27 | 1.46 | 3.33 | |
| Median adjusted time (sec) | 9.45 | 10.99 | 9.25 | 9.54 | 8.99 | 8.92 | 8.47 | 8.57 | 8.52 | 8.62 | 8.91 | |
| Median performance ratio | 0.14 | 0.26 | 0.43 | 0.63 | 0.54 | 0.36 | 0.78 | 0.41 | 0.40 | 0.58 | 0.12 | |
| Model | Type | Average MAPE (%) | Min MAPE (%) | Q1 MAPE (%) | Median MAPE (%) | Q3 MAPE (%) | Outlier Rate (%) | Median Time (sec) |
|---|---|---|---|---|---|---|---|---|
| ARIMA | ARIMA-based | 18.52 | 0.11 | 6.59 | 11.64 | 20.48 | 4.84 | 0.48 |
| ARIMA + Fourier | ARIMA-based | 18.20 | 0.12 | 6.30 | 11.89 | 20.04 | 3.76 | 1.91 |
| ARIMA + Fourier + ML | ARIMA-based | 18.75 | 0.08 | 6.44 | 11.54 | 21.68 | 4.30 | 2.41 * |
| Level direct | Pure ML | 28.47 | 1.69 | 9.50 | 16.90 | 30.60 | 7.91 | 1.75 |
| Level recursive | Pure ML | 24.14 | 0.04 | 7.55 | 16.34 | 25.21 | 6.11 | 8.89 |
| Log direct | Pure ML | 27.72 | 1.48 | 9.23 | 16.77 | 30.41 | 6.78 | 1.60 |
| Log recursive | Pure ML | 24.65 | 0.04 | 6.88 | 17.01 | 26.32 | 6.11 | 8.78 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zherlitsyn, D.; Kravchenko, V.; Mints, O.; Kolodiziev, O.; Khadzhynova, O.; Shchepka, O. Econometric and Python-Based Forecasting Tools for Global Market Price Prediction in the Context of Economic Security. Econometrics 2025, 13, 52. https://doi.org/10.3390/econometrics13040052
Zherlitsyn D, Kravchenko V, Mints O, Kolodiziev O, Khadzhynova O, Shchepka O. Econometric and Python-Based Forecasting Tools for Global Market Price Prediction in the Context of Economic Security. Econometrics. 2025; 13(4):52. https://doi.org/10.3390/econometrics13040052
Chicago/Turabian StyleZherlitsyn, Dmytro, Volodymyr Kravchenko, Oleksiy Mints, Oleh Kolodiziev, Olena Khadzhynova, and Oleksandr Shchepka. 2025. "Econometric and Python-Based Forecasting Tools for Global Market Price Prediction in the Context of Economic Security" Econometrics 13, no. 4: 52. https://doi.org/10.3390/econometrics13040052
APA StyleZherlitsyn, D., Kravchenko, V., Mints, O., Kolodiziev, O., Khadzhynova, O., & Shchepka, O. (2025). Econometric and Python-Based Forecasting Tools for Global Market Price Prediction in the Context of Economic Security. Econometrics, 13(4), 52. https://doi.org/10.3390/econometrics13040052

