A Statistical-Finance Benchmark for Same-Day Directional Stock Prediction: Walk-Forward Evidence from SPY
Abstract
We study statistical predictability in daily U.S. equity prices using only information available at the market open. Using SPY from February 1, 1993 through March 15, 2024, we benchmark XGBoost against Random Forest, LightGBM, Logistic Regression, and naive baselines under expanding-window walk-forward validation. After observing the current day's opening price and two lagged target-specific prices, the task is to predict whether the same day's close will be above or below the previous day's close. On the last 800 trading days, Logistic Regression attains the highest close-direction accuracy (71.09%), Random Forest reaches 61.20%, and XGBoost reaches 58.45% with a 95% bootstrap confidence interval of [54.94%, 62.08]. For XGBoost, close-direction accuracy rises to 72.7% when the predicted move exceeds 1%, but the usable sample falls to 154 observations. We also report Diebold-Mariano and McNemar tests, regime-specific results, SHAP feature importance, and an auxiliary 541-equity screen. The evidence supports a narrow statistical-finance conclusion: simple daily equity features contain detectable same-day directional information, but the result should be interpreted with careful sample-size accounting and limited economic claims.
Create a lesson
Metadata
- Comments
- 7 figures, 7 tables, includes appendices
Related papers
When Price Charts Rhyme: Historical Visual Retrieval for Stock Return Prediction
Shared title terminologyq-fin.STHui Chen, Haoyu Liu, Ke Wu et al.
Dependence-Informed Sparse Neural Architecture for Stock Return Prediction
Shared title terminologyq-fin.STHongyu Lin, Yulin Chen, Yuanrong Wang et al.
When Directional Accuracy Lies: A Base-Rate-Honest Benchmark for LoRA-Adapted TimesFM on Equity Forecasting
Shared title terminologyq-fin.STTaizhen Cheung
Option-Implied Signals and Crash Risk: Predictability and Machine-Learning Evidence from U.S. Equity Options
Shared title terminologyq-fin.STBaichuan Li, Mengxiao Wang
From Index to Equity: Pre-Training Transformers for Stock Return Prediction
Shared title terminologyq-fin.STMarie Soehl Coolsaet, Roberto Gallardo, Zhen Gao
Do Prediction Markets Forecast Cryptocurrency Volatility? Evidence from Kalshi Macro Contracts
Shared title terminologyq-fin.STHardhik Mohanty, Bhaskar Krishnamachari