Predicting S&P 500 Index ETF (SPY) During COVID-19 via K-Nearest Neighbors (KNN) Algorithm

Authors

  • Wenguang Lin Western Connecticut State University
  • Shengxiong Wu Texas Wesleyan University

DOI:

https://doi.org/10.33423/jaf.v23i2.6149

Keywords:

accounting, finance, K-Nearest Neighbors (KNN), nonparametric method, S&P 500 index ETF, forecasting, High-Low price

Abstract

In this paper, the daily adjusted closing price of SPY (SPDR S&P 500 ETF Trust) is predicted by using the High-Low prices of SPY, DIA (SPDR Dow Jones Industrial Average ETF Trust), and QQQ (Invesco NASDAQ-100 ETF Trust) via the KNN method during the COVID-19 pandemic period. Results show that applying the KNN method, a simple, intuitive, and explainable machine learning method, is feasible and effective in SPY price prediction and corresponding trade decisions during the COVID-19 pandemic. Experiments also indicate that adding information on High-Low prices from DIA (a value tilt ETF) and QQQ (a growth tilt ETF) cannot improve the accuracy of both SPY price prediction and trading decisions. Results are consistent with previous findings based on the portfolio approach that value spread does not help predict stock market returns.

Downloads

Published

2023-06-27

How to Cite

Lin, W., & Wu, S. (2023). Predicting S&P 500 Index ETF (SPY) During COVID-19 via K-Nearest Neighbors (KNN) Algorithm. Journal of Accounting and Finance, 23(2). https://doi.org/10.33423/jaf.v23i2.6149

Issue

Section

Articles