StockBot 2.0: Vanilla LSTMs Outperform Transformer-based Forecasting for Stock Prices

Shaswat Mohanty
1/1/2026
cs.CEcs.CLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Accurate forecasting of financial markets remains a long-standing challenge due to complex temporal and often latent dependencies, non-linear dynamics, and high volatility. Building on our earlier recurrent neural network framework, we present an enhanced StockBot architecture that systematically evaluates modern attention-based, convolutional, and recurrent time-series forecasting models within a unified experimental setting. While attention-based and transformer-inspired models offer increased modeling flexibility, extensive empirical evaluation reveals that a carefully constructed vanilla LSTM consistently achieves superior predictive accuracy and more stable buy/sell decision-making when trained under a common set of default hyperparameters. These results highlight the robustness and data efficiency of recurrent sequence models for financial time-series forecasting, particularly in the absence of extensive hyperparameter tuning or the availability of sufficient data when discretized to single-day intervals. Additionally, these results underscore the importance of architectural inductive bias in data-limited market prediction tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mohanty2026stockbot,
  title  = {StockBot 2.0: Vanilla LSTMs Outperform Transformer-based Forecasting for Stock Prices},
  author = {Shaswat Mohanty},
  year   = {2026},
  eprint = {2601.00197},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.00197v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.00197.svg)](https://codeofpaper.com/paper/2601.00197)

Discussion