tbukuai/patchtst-wavelet-sp500-research
158
PatchTST + Wavelet S&P 500 Research
Final Conclusion (v1-v6): S&P 500 daily direction cannot be predicted from price/technical data.
Results Summary
v6 Features Tested
OHLCV + MA5 + MA23 + MA53 + RSI + MACD + VIX + MAVOL = 12 channels
Multi-scale moving averages, RSI, MACD, VIX, and volume smoothing — none break 50% DA.
What Actually Works
Cross-sectional ranking (not direction prediction):
- LightGBM on S&P 500: IC=0.02, Sharpe 0.47-1.07
- Signal is in slow factors (60-day volatility, momentum), not daily direction
Key Findings
- DA(diff) ≈ 70% is fake — always use DA(ctx)
- Global wavelet = look-ahead bias — v3's 53.3% was 100% from leakage
- More features = overfitting — v4 (25ch) < v5 (8ch) < v6 (12ch) ≈ random
- Custom technical indicators don't help — v6 = 49.6% WF = random
- Simple > complex — LightGBM (2 sec) > PatchTST (hours) > Kronos (102M params)
Repo Contents
notebooks/— v3-v6 Colab training notebooksresults/— v3-v6 results JSON filesPROJECT_CONCLUSION.md— Full findings + future workCLAUDE.md— Agent reference (lessons, pitfalls, code)train_v6.py— Standalone training script
