Automated Stock Trading Using Deep Reinforcement Learning and Fused xLSTM Networks

Authors:

Abstract
Automated stock trading presents unique challenges due to the non-stationarity, high volatility, and complex external influences inherent in financial markets, which traditional linear models struggle to capture. Deep learning methods-particularly recurrent neural networks such as Long Short-Term Memory (LSTM)-have improved forecasting by modeling nonlinear temporal dependencies, but they still face limitations in retaining information over long horizons. Extended LSTM (xLSTM) addresses this by introducing enhanced gating mechanisms and memory structures that more effectively capture both short-term fluctuations and long-term trends. Meanwhile, Deep Reinforcement Learning (DRL) algorithms like Proximal Policy Optimization (PPO) have shown strong performance in formulating adaptive trading strategies through stable policy optimization. In this paper, we propose a Fused xLSTM architecture (F-xLSTM) and synergistically integrate the enhanced temporal feature extraction capabilities of it with the robust decision-making strengths of PPO. Our method feeds F-xLSTM-generated forecasts directly into a PPO agent, enabling the model to learn trading policies that adapt dynamically to evolving market conditions. The framework is rigorously evaluated on the Dow Jones Industrial index (DJI) in the US, the Financial Times Stock Exchange 100 (FTSE 100) in the UK, and S&P BSE Sensex Index (SENSEX) in India, benchmarking against both traditional and state-of-the-art baselines. Numerical results demonstrate that our hybrid approach achieves substantially higher cumulative returns, maximum earning rate, and average profitability per trade. On the DJI, our framework attains a cumulative return of 89.43% and a Sharpe ratio of 1.395, surpassing the strongest DRL baseline by 7.56 and 0.246 points, respectively, while simultaneously reducing the maximum pullback from 29.24% to 15.42%. Consistent improvements are observed on the FTSE 100 and SENSEX, confirming the framework's superior performance and trading efficacy across diverse financial environments.