*This project was developed solely as a curious exploration; the model's performance is negligible in application (Efficient Market Hypothesis).*
Raw financial time series are contaminated with high-frequency noise that obscures the underlying price signal. This project implements a complete quantitative trading pipeline using causal Daubechies-8 wavelet denoising (db8, level-4, soft thresholding with a 256-day sliding window) to suppress noise without lookahead bias.
The extended LSTM (xLSTM) architecture combines mLSTM blocks with matrix-valued memory for exponential memory capacity and sLSTM blocks with exponential gating for sharp state transitions, using causal convolution, group normalization, and gated MLP residuals. The model processes 50+ strictly stationary features spanning returns, trend, momentum, volatility, volume, macroeconomic indicators (with publication lag adjustments), NYT headline sentiment, and VIX signals, ensuring the model learns market dynamics rather than memorizing price regimes.
"This project demonstrates how modern deep learning architectures, specifically xLSTM with matrix-valued memory and exponential gating, can be combined with rigorous signal processing and walk-forward validation to produce a robust, lookahead-free directional trading system."