Machine Learning Algorithms for Predicting ETF Directional Movements Using Technical Indicators and VIX

Authors

  • Xin Liu

DOI:

https://doi.org/10.61173/a8bb7m34

Keywords:

Exchange-Traded Funds (ETFs), Machine Learning, Directional Prediction, Technical Indicators, Volatility Index (VIX)

Abstract

Predicting exchange-traded funds (ETFs) is challenging due to their diversified portfolios, exposure to market volatility, and short-term noise. This study compares eight machine learning models—Logistic Regression (LR), Linear Discriminant Analysis (LDA), Support Vector Machine (SVM), Random Forest (RF), Gradient Boosting Decision Tree (GBDT), Extreme Gradient Boosting (XGBoost), Long Short-Term Memory (LSTM), and Naïve Bayes (NB)—for forecasting the direction of daily ETF returns. Two horizons, next-day (T+1) and five-day (T+5), are examined. The analysis also tests the incremental value of incorporating the CBOE Volatility Index (VIX). Results show that performance varies across ETFs and horizons: linear models and LSTM perform best on large-cap indices (SPY, DIA), while RF leads for the small-cap index (IWM). At T+1, top models reach 56–58% accuracy; at T+5, LSTM improves markedly to 64.5% on SPY and remains strongest on QQQ and DIA, while most other models decline. Overall, horizon effects are model-specific rather than uniformly positive, and adding VIX provides only marginal, statistically insignificant gains (<2%). The findings suggest that model selection should depend on ETF and horizon, while broad volatility indicators such as VIX offer limited value for short-term forecasts.

References

[1] Ayyildiz N, Iskenderoglu O. How effective is machine learning in stock market predictions. Heliyon, 2024, 10(2): e24123.

[2] Strader T J, Rozycki J J, Root T H, Huang Y H J. Machine learning stock market prediction studies: review and research directions. Journal of International Technology and Information Management, 2020, 28(4): 1–20.

[3] Nabipour M, Nayyeri P, Jabani H, Mosavi A, Salwana E, S S. Deep learning for stock market prediction. Entropy, 2020, 22(8): 840.

[4] Ali M, Khan D M, Aamir M, Ali A, Ahmad Z. Predicting the direction movement of financial time series using artificial neural network and support vector machine. Complexity, 2021, 2021: 2906463. Dean&Francis ISSN 2959-6130

[5] Pahwa N, Khalfay N, Soni V, Vora D. Stock prediction using machine learning: a review paper. International Journal of Computer Applications, 2017, 163(5): 36–43.

[6] Soni P, Tewari Y, Krishnan D. Machine learning approaches in stock price prediction: a systematic review. Journal of Physics: Conference Series, 2022, 2161(1): 012065.

[7] Sun Y, Mutalib S, Omar N, Tian L. A novel integrated approach for stock prediction based on modal decomposition technology and machine learning. IEEE Access, 2024, 12: 95209–95222.

[8] Guo Y, Li Y, Xu Y. Study on the application of LSTM- LightGBM model in stock rise and fall prediction. MATEC Web of Conferences, 2021, 336: 05011.

[9] Piovezan R P B, de Andrade Junior P P, Ávila S L. Machine learning method for return direction forecast of exchange traded funds (ETFs) using classification and regression models. Computational Economics, 2024, 63(5): 1827–1852.

[10] Shih K H, Wang Y H, Kao I C, Lai F M. Forecasting ETF performance: a comparative study of deep learning models and the Fama-French three-factor model. Mathematics, 2024, 12(19): 3158.

[11] Chang C L, Hsieh T L, McAleer M. Connecting VIX and stock index ETF. Facultad de Ciencias Económicas y Empresariales. Instituto Complutense de Análisis Económico (ICAE), 2017.

[12] Yahoo Finance. Historical data for SPY, QQQ, DIA, IWM, and VIX. Yahoo Finance, 2015–2024. Accessed Sept. 1, 2025. Available: https://finance.yahoo.com.

[13] Acito F. Logistic regression. In: Predictive Analytics with KNIME: Analytics for Citizen Data Scientists. Cham: Springer Nature Switzerland, 2023: 125–167.

[14] Hosmer D W, Lemeshow S, Sturdivant R X. Applied Logistic Regression (3rd ed.). Hoboken, NJ: Wiley, 2013: 35–47.

[15] James G, Witten D, Hastie T, Tibshirani R, Taylor J. An Introduction to Statistical Learning: With Applications in Python. Springer, 2023.

[16] Géron A. Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems (2nd ed.). O’Reilly Media, 2019.

[17] Scikit-learn Developers. Supervised learning — scikit-learn 1.5.2 documentation. Scikit-learn, 2024. Available: https://scikitlearn.org/stable/supervised_learning.html.

[18] Chen T, Guestrin C. XGBoost: a scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016: 785–794.

[19] NVIDIA Corporation. What is XGBoost? NVIDIA Glossary, 2024. Available: https://www.nvidia.com/en-au/ glossary/xgboost/.

[20] Hochreiter S, Schmidhuber J. LSTM can solve hard long time lag problems. Proceedings of the 9th International Conference on Neural Information Processing Systems (NIPS’96), 1996: 473–479. Cambridge, MA: MIT Press.

[21] Gers F A, Schmidhuber J, Cummins F. Learning to forget: continual prediction with LSTM. Neural Computation, 2000, 12(10): 2451–2471.

Downloads

Published

2025-12-19