K1
Published on Oct 15, 2025
In Part 1 we dug into why PatchTST looks so promising for volatile, long-horizon crypto data like BTCUSDT. Now we’re rolling up our sleeves and running a head-to-head benchmark against our production LSTM.
This follow-up is all about results. We trained both models on the same market data and compared how quickly they learn and how well they predict the next price move. Spoiler: PatchTST is punching above its weight.
labeled.csvCloseWe implemented a lean PatchTST in PyTorch that:
d_model[CLS] token plus learnable position encodings[CLS] head to emit the next-step forecastTraining used Huber loss with early stopping, and we saved predictions for downstream evaluation.
| Model | Scaled MAE | MAE (USD) |
|---|---|---|
| LSTM | 0.072 | $192 |
| PatchTST | 0.058 | $151 |
Early signs: PatchTST learns faster, stays stable in noisy regimes, and edges out LSTM on predictive accuracy—especially around volatility spikes.
patchtst_preds.npz: raw NumPy predictionspatchtst_preds.csv: Date, True Close, Forecasted CloseThese files make it easy to plot price curves, measure drawdowns, and run signal-based backtests.
PatchTST is shaping up as a production-ready contender for crypto forecasting—not just a research curiosity. Next up we’ll compare signal-triggered returns, explore multi-step/multi-output setups, and test generalization to assets like ETH and other altcoins.
Stay tuned — things are just getting started. 🧠