[Paper Review] Application of deep reinforcement learning for Indian stock trading automation
This paper applies deep reinforcement learning (DRL) to automate stock trading in Indian markets using three DRL models—Deep Q-Network (DQN), Double DQN (DDQN), and Dueling Double DQN—on ten Indian stock datasets. The Dueling Double DQN model outperformed the others in profit generation and stability, demonstrating superior performance in maximizing long-term returns through adaptive trading decisions.
In stock trading, feature extraction and trading strategy design are the two important tasks to achieve long-term benefits using machine learning techniques. Several methods have been proposed to design trading strategy by acquiring trading signals to maximize the rewards. In the present paper the theory of deep reinforcement learning is applied for stock trading strategy and investment decisions to Indian markets. The experiments are performed systematically with three classical Deep Reinforcement Learning models Deep Q-Network, Double Deep Q-Network and Dueling Double Deep Q-Network on ten Indian stock datasets. The performance of the models are evaluated and comparison is made.
Motivation & Objective
- To automate stock trading decisions in the Indian stock market using deep reinforcement learning.
- To evaluate and compare the performance of three DRL models—DQN, Double DQN, and Dueling Double DQN—on real-world Indian stock data.
- To maximize long-term profit through adaptive trading strategies derived from historical price and technical indicator data.
- To validate model generalization by testing on unseen data from later time periods.
- To assess the robustness and stability of DRL models in highly volatile, stochastic financial markets.
Proposed method
- The DRL agents use a Deep Q-Network (DQN) architecture with experience replay and a target network to stabilize training and reduce overestimation of Q-values.
- Double DQN improves stability by decoupling action selection (from the online network) from value estimation (from the target network), reducing overestimation bias.
- Dueling Double DQN further enhances performance by separating the value and advantage functions, allowing better state evaluation and action selection.
- The models are trained on 90-day windows of historical stock data, with hyperparameters including a batch size of 64, learning rate of 0.00025, and epsilon decay of 0.995.
- The environment is defined by state features including technical indicators and price movements, with actions categorized as 'buy', 'sell', or 'hold'.
- The agent's performance is evaluated using total profit and cumulative rewards on both training and unseen test data.
Experimental results
Research questions
- RQ1How do DQN, Double DQN, and Dueling Double DQN perform in generating profit for Indian stock trading automation?
- RQ2Which DRL model architecture yields the highest stability and generalization on unseen test data in volatile Indian equity markets?
- RQ3To what extent can deep reinforcement learning outperform traditional technical analysis and machine learning methods in long-term stock trading decisions?
- RQ4How does the use of experience replay and target networks affect convergence and performance in high-frequency, non-stationary financial data?
- RQ5Can Dueling Double DQN’s value-advantage decomposition lead to better action selection and higher cumulative returns than standard DQN and Double DQN?
Key findings
- The Dueling Double DQN model achieved the highest average test profit across all ten Indian stocks, with a test profit of 101,731 for NESTLEIND and 57,626 for ULTRACEMCO.
- Double DQN outperformed standard DQN in both training and test phases, with a test profit of 38,095 for TCS and 57,626 for ULTRACEMCO, compared to DQN’s 4,770 and 25,188 respectively.
- On average, Dueling Double DQN generated significantly higher test rewards (114 for TCS, 79 for NESTLEIND) than DQN (22 for TCS, -180 for NESTLEIND), indicating better policy learning.
- The Dueling Double DQN model showed the most stable training loss and consistent reward progression, especially on the ULTRACEMCO dataset, as shown in Figure 5.
- Despite strong performance on training data, DQN showed high variance and negative test profits on several stocks (e.g., TECHM: -678), indicating overfitting and instability.
- The models demonstrated strong adaptability to market volatility, with Dueling Double DQN consistently outperforming others in both profit and reward metrics across diverse stocks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.