Reinforcement learning-based optimized trade strategy for the stock markets
Rekha Gupta, Neetu Chhillar, Swaranjeet Arora, Moni Mishra
Key points
From the paper's conclusion- Out-of-sample, buy-and-hold generated the highest raw return on both stocks (21.9% and 21.0%); Q-learning had a competitive-to-superior Sharpe ratio at the base-case transaction cost, favoring HDFC Bank, but it did not outperform this passive benchmark on return.
Abstract
Classical trading tactics such as momentum and mean reversion, which remain static, are generally ineffective in volatile financial markets. This study analyzes reinforcement learning (RL) as a more adaptive alternative, focusing on tabular Q-learning for stock trading in the Indian banking sector, an emerging-market scenario that has been understudied. In order to determine whether Q-learning can provide a better risk-adjusted trade-off than conventional heuristics and a passive buy-and-hold benchmark while remaining interpretable and repeatable, an out-of-sample analysis is conducted. Using daily closing price data for two major Indian banks, State Bank of India and HDFC Bank, momentum, mean reversion, buy-and-hold, and Q-learning strategies were benchmarked on a held-out test period following training and hyperparameter selection on a separate training period between March 2020 and July 2023. The hyperparameter sensitivity research of learning rate, exploration rate, and discount factor was conducted using only training data. Out-of-sample, buy-and-hold generated the highest raw return on both stocks (21.9% and 21.0%); Q-learning had a competitive-to-superior Sharpe ratio at the base-case transaction cost, favoring HDFC Bank, but it did not outperform this passive benchmark on return. Interpretable tabular Q-learning can reduce downside risk, which single-path, in-sample evaluation would conceal, but it does not assure return superiority over a passive baseline in this emerging-market banking context. The study offers a passive baseline in Indian banking stocks as well as a clear, out-of-sample Q-learning benchmark against traditional heuristics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Reinforcement Learning in Quantitative Trading: A Review of Current Approaches and BreakthroughsAI · 2026
- Evolution and Challenges of Reinforcement Learning in Intraday Algorithmic Trading: A Systematic Literature ReviewApplied Sciences · 2026
- Financial Context-Rich Strategy for Actor-Critic based Agents: A Deep Reinforcement Learning Approach for Stock TradingarXiv · 2026
- Deep Reinforcement Learning for Equity Trading: Benchmarking Actor-Critic Methods with Forward RetrainingarXiv · 2026
- Reinforcement Learning-Based Stock Selection and Trading Using KOSPI 200 ConstituentsApplied Sciences · 2026
- Optimal Threshold Learning Model for High-Frequency Paired Trading Based on Reinforcement Learning and Statistical ControlSHS Web of Conferences · 2026