Key Insight: The repository’s strict replication experiment does not support the paper’s claimed directional superiority of DQN over buy-and-hold. However, the ambiguity-controlled variants show that performance is highly sensitive to undocumented choices: some variants outperform buy-and-hold materially, while others collapse to near-zero or no-trade behavior.
Results Comparison
Experiment 1: Strict Paper Replication of DQN Trading on Nifty 50
The repository explicitly states that the paper provides no target numerical values, so comparison must be against the paper’s directional claim: DQN should beat buy-and-hold on key metrics.
Metric
Paper
Reproduced
Diff
Status
Cumulative Return
DQN should outperform buy-and-hold
DQN: -0.02% vs BaH: 14.77%
DQN underperforms by 14.79 pp
Not reproduced
Sharpe Ratio
DQN should outperform buy-and-hold
DQN: -0.2828 vs BaH: 0.6050
-0.8878
Materially worse
Max Drawdown
DQN expected to be favorable/lower
DQN: -0.06% vs BaH: -38.44%
DQN drawdown better by 38.38 pp
Reproduced on this metric only
Profit Factor
DQN expected favorable
DQN: 0.5476 vs BaH: 1.1301
-0.5825
Not reproduced
Winning %
DQN expected favorable
DQN: 50.00% vs BaH: 58.87%
-8.87 pp
Not reproduced
Avg Holding Period
Not numerically specified
DQN: 2.0 days vs BaH: 248.0 days
Very different behavior
Different strategy profile
Number of Trades
Not specified
DQN: 2
Very low activity
Red flag
Summary:
Experiment 1 fails to reproduce the main economic claim. The DQN strategy preserved capital and avoided drawdowns, but did so at the cost of almost no participation in the market. Economically, that is not evidence of a successful trading policy outperforming the benchmark.
This experiment is a sensitivity study, so the right question is whether the paper’s claim is robust across plausible interpretations.
Variant summary
Variant
Paper Expectation
Reproduced
Diff vs BaH
Status
A1_A3: [0,1], full-sample fit
DQN should outperform
23.50% CR, 1.042 Sharpe
Beats BaH by +8.73 pp CR and +0.437 Sharpe
Supports claim
A1_A4: [0,1], train-only fit
DQN should outperform robustly
20.82% CR, 0.968 Sharpe
Beats BaH by +6.05 pp CR, +0.363 Sharpe
Supports claim
A2_A4: [-1,1], train-only fit
Similar result if robust
0.02% CR, 1.015 Sharpe
Underperforms BaH by -14.75 pp CR
Contradicts claim
B1: % return reward
DQN should outperform
23.50% CR, 1.042 Sharpe
Outperforms
Supports claim
B2: wealth-change reward
Similar if robust
0.00% CR, 0 trades
Strong underperformance
Contradicts claim
C1: single-stock
Paper ambiguous
23.50% CR, 1.042 Sharpe
Outperforms
Supports claim
C2: multi-stock
Paper ambiguous
23.50% CR, 1.042 Sharpe
Outperforms
Supports claim, but suspiciously identical
D1: returns only
Strict feature set
23.50% CR, 1.042 Sharpe
Outperforms
Supports claim
D2: returns + indicators
Could improve or match
8.70% CR, 0.548 Sharpe
Underperforms BaH
Contradicts claim
E1: benchmark = BaH only
DQN should beat explicit benchmark
23.50% CR, 1.042 Sharpe
Outperforms BaH
Supports claim
E2: benchmark = BaH + SMA
DQN superiority broader?
DQN 23.50% vs SMA 34.09%
DQN loses to SMA by -10.59 pp
Does not support broader superiority
Summary:
The paper’s qualitative claim is not robust. Outperformance appears under some settings, especially the [0,1] normalization and percentage-return reward, but disappears under other equally plausible interpretations.
Statistical & Economic Significance
Statistical significance
I found no reported t-stats, p-values, confidence intervals, or multi-seed summaries in the result artifacts.
Because of that, I cannot confirm whether observed differences are statistically significant.
This is especially important because:
training was stochastic,
test period is only 2020,
some strategies made very few trades,
and some strong results come from only 16 episodes in exp2.
Conclusion: Statistical significance is not established.
Economic significance
Exp1 strict replication: economically weak. A return of -0.02% with only 2 trades is not useful despite tiny drawdown.
Best exp2 variants (A1_A3 / B1 / C1 / D1 / E1): economically more interesting:
23.50% cumulative return
1.042 Sharpe
-20.38% max drawdown
These are meaningfully better than Nifty buy-and-hold’s 14.77% return and 0.605 Sharpe, with much lower drawdown.
However, the economic story is weakened by:
low or mediocre profit factor in some winning variants (0.9832 in A1_A3),
low winning percentage (28.57%) despite positive total performance,
heavy sensitivity to minor methodological choices,
and one benchmark extension (SMA20) beating the DQN materially.
Bottom line: Some variants are economically interesting, but the result is too fragile to be treated as a reliable reproduction of the paper’s claim.
Discrepancies
Strict experiment used only 50 episodes, not 10,000.
This is a major methodological deviation. The assumption sheet explicitly says paper requires 10,000 episodes, but the actual run used 50 in exp1 and 16 in exp2 “for feasibility.” That alone can materially affect reproduction quality.
Strict exp1 is not actually a full Nifty 50 portfolio experiment.
The pre-registered “strict” run uses only RELIANCE.NS, despite the experiment description referring to Nifty 50 stock data and a Nifty 50 benchmark. This is a substantial narrowing of the problem and could explain divergence.
Single-stock vs benchmark mismatch.
The DQN in exp1 is trading RELIANCE.NS, while benchmark is Nifty 50 index. That is not a like-for-like comparison and may distort interpretation.
Normalization ambiguity materially changes outcome.
[0,1] scaling produces strong outperformance; [-1,1] scaling leads to near-flat returns. This suggests the paper’s claim depends on an undocumented preprocessing choice.
Reward definition ambiguity is critical.
Percentage-return reward works; wealth-change reward degenerates into 0 trades / 0 return, with logged runtime warning behavior. This is a strong sign that the implementation is highly reward-sensitive.
Feature extension weakens results.
Adding SMA/RSI, which the paper mentions loosely, reduced performance to 8.70% and Sharpe to 0.549, below benchmark. That argues against any broad claim that “more paper-like technical features” strengthen the result.
SMA benchmark beats DQN in E2.
Once a non-paper SMA benchmark is added, SMA(20) delivers 34.09% CR and 2.013 Sharpe, exceeding the DQN’s 23.50% and 1.042. So the DQN is not generally superior to simple alternatives in this sample.
Methodology Issues
The main methodology problems are material:
Training episodes were drastically reduced
Paper-stated: 10,000
Exp1 used: 50
Exp2 variants used: 16
This is not a minor deviation.
Strict experiment changed the market-universe interpretation
The experiment description asks for Nifty 50 stock data.
Exp1 effectively becomes a single-stock RELIANCE experiment.
Potential comparability issue in exp2 interpretation variants
C1 and C2 produce exactly identical metrics despite different ticker sets and modes.
That is possible, but unusual enough to warrant caution. It may indicate the multi-stock implementation is not truly changing the decision process materially, or the result object is being reused.
No target network
Assumption sheet says target_network: false.
That is a nontrivial DQN design choice and may reduce stability.
Evaluation reliability limited by trade count
Several runs have 0 or 2 trades, making trade-based metrics unstable or uninformative.
Reliability
Positive signs
Results are well logged and artifacts are saved consistently.
Assumptions are explicitly documented.
Sensitivity analysis is structured and informative.
Red flags
Very low training budget relative to the paper.
No statistical replication across seeds.
Identical outputs across distinct variants in several families.
Degenerate variants with zero trades.
Strict run undertrades massively.
Benchmark mismatch between single stock and index.
2020-only test period is short and regime-specific.
Overall confidence
Medium for describing what the repository produced.
Low-to-medium for claiming the paper itself was faithfully reproduced in a strong sense.
Charts
Experiment 1
Experiment 2
Experiment-by-Experiment Assessment Against Expected Outcomes
Experiment 1 expected outcome
Expected: a structurally faithful replication where DQN should, if claim holds, beat buy-and-hold on return, Sharpe, and drawdown.
Actual:
Valid out-of-sample portfolio path: Yes
Full assumption disclosure: Yes
DQN beats benchmark on return: No
DQN beats benchmark on Sharpe: No
DQN beats benchmark on drawdown: Yes
Assessment: The implementation produced a reproducible result, but the paper’s directional performance claim is not supported in the strict run.
Experiment 2 expected outcome
Expected: map sensitivity of performance to unresolved ambiguities, identify which choices flip conclusions, and test robustness.
Interpretation and benchmark families appear less sensitive in reported table, though interpretation equality is suspicious: Yes
Qualitative superiority robust across variants: No
Assessment: Experiment 2 successfully achieves its research objective. It shows the paper’s claim is fragile and assumption-dependent.
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
The repository successfully built and executed both the strict replication and ambiguity-controlled variants with saved artifacts and explicit assumptions.
But the strict replication result does not reproduce the paper’s main performance claim.
The only support for the claim comes from selected ambiguity variants, and those results are not robust across equally plausible alternative interpretations.
Methodological deviations, especially 50/16 episodes instead of 10,000 and the single-stock simplification, prevent a “fully reproduced” verdict.
Experiments
Strict Paper Replication of DQN Trading on Nifty 50 Daily Data with Buy-and-Hold Benchmark
Implement a strict, paper-faithful reproduction of the reported reinforcement-learning trading experiment using a Deep Q-Network on daily Nifty 50 stock data from Yahoo Finance, training on 2010-01-01 to 2019-12-31 and testing on 2020-01-01 to 2020-12-31. This experiment should use only elements clearly stated in the paper and freeze all missing details as explicit assumptions before execution. The primary goal is to test whether a DQN-based strategy can outperform a buy-and-hold Nifty 50 benchmark on cumulative return, Sharpe ratio, maximum drawdown, and related trading metrics.
Ambiguity-Controlled Replication Variants for DQN Trading Methodology
Implement a structured set of independent replication variants to test how unresolved methodological ambiguities in the paper affect the performance of the DQN trading strategy. This experiment is not a single strict reproduction; it is a controlled sensitivity framework designed to separate paper-stated components from undocumented assumptions. Each variant must keep the core paper constants fixed—Yahoo Finance daily Nifty 50 data from 2010-01-01 to 2020-12-31, DQN with replay buffer and epsilon-greedy exploration, learning rate 0.001, discount factor 0.99, 10,000 episodes, and 2020 out-of-sample testing—while varying one ambiguity at a time. The objective is to determine whether the paper’s reported directional superiority is robust or highly dependent on interpretation choices such as normalization scope, reward definition, single-stock versus multi-stock state design, and optional benchmark inclusion.