From DRL Trading to Quantum Risk: How to Test the Resilience of Bitcoin and XRP Strategies Without Conflating Profitability with Crypto Resilience

07.11.2026

A critical analysis of a comparative study of DQN, Double DQN, Dueling DQN, and A2C for Bitcoin and Ripple trading, and the construction of a verifiable research program at the intersection of machine learning, cryptanalysis, and post-quantum migration.

The main thesis.  Paper [P] shows that DRL agents trade BTC and XRP differently, but it  doesn’t measure the quantum threat . This isn’t a flaw in the paper itself—it’s the limitation of its subject matter. The scientific intrigue arises not from mixing yield charts with quantum cryptanalysis, but from an honest question: which claims about cryptoassets are truly verified, and which remain mere risk assessments?

Content

⚙️ Detailed research option

  1. Abstract and statement of the problem
  2. Why is this interesting to the reader?
  3. In-depth analysis of the original work [P]
  4. What exactly has been proven and what has not been proven
  5. Selected questions from the [Q] constructor
  6. Testable hypotheses
  7. Evidence table
  8. Linking multiple works into a coherent study
  9. Experimental design and metrics
  10. The Quantum Layer: What Can and Cannot Be Said
  11. Limitations, alternative explanations, risks
  12. Conclusion and next question to be tested
  13. Checklist and sources

1. Abstract and statement of the problem

⚙️ Detailed research option

A comparative study [P] trains four deep reinforcement learning algorithms—Deep Q-Network, Double Deep Q-Network, Dueling Deep Q-Network, and Advantage Actor-Critic—to trade Bitcoin (BTC) and Ripple (XRP) on daily Yahoo Finance data from August 30, 2015, to August 30, 2023. The authors use an initial capital of approximately $100,000, a state of 60 past observations, sell/stay/buy actions, and a reward dependent on future returns and transaction costs. Based on portfolio plots, the authors conclude that Dueling DQN and Double DQN perform better on XRP, while Double DQN is preferable for BTC.

However, the research question is broader:  how can we connect the empirical evidence of DRL trading with the quantum stability of cryptoassets without introducing substitution?  The [Q] constructor requires separating the physical effect, algorithm, protocol, proof, simulation, and prediction. Therefore, the central question of the article is formulated as follows:

The central question being tested is:  If a DRL agent shows portfolio growth on XRP and less stable results on BTC, what conclusions follow for assessing the quantum risk of these assets—and what conclusions follow  only  for the quality of the trading strategy?

Short answer: [P] draws conclusions about the behavior of specific DRL agents over a specific historical period. [P]  does not draw  conclusions about the strength of Bitcoin signatures, hashing, the XRP protocol, or the capabilities of quantum cryptanalysis. Quantum risk requires a separate threat model, separate metrics, and separate evidence.

2. Why is this interesting to the reader?

⚙️ Detailed research option

There’s a tempting but dangerous narrative: “AI has learned to trade cryptocurrencies, which means it can help assess quantum threats.” It sounds impressive, but it’s scientifically incorrect. A DRL agent optimizes trading rewards; quantum cryptanalysis evaluates the computational complexity of an attack on a cryptographic protocol. These are different objects, different metrics, and different levels of proof.

The intrigue of the article is built on three conflicts:

  • Conflicting metrics.  Portfolio growth is not a measure of cryptographic strength. Portfolio decline is not proof of quantum vulnerability.
  • Conflict of evidence.  [P] contains graphs and conclusions, but does not provide a table of final wealth, confidence intervals, number of independent runs, or full cost sensitivity.
  • Conflict of scale.  A single test segment and a single run do not allow us to distinguish a sustainable algorithmic advantage from a successful trajectory based on historical data.

This is why the article offers not a sensation, but  a testable program : first reproduce trading results, then separate statistical stability from market randomness, then build an independent model of quantum risk, and only then synthesize the conclusions.

3. Deep analysis of the original work [P]

⚙️ Detailed research option

3.1. Setting and data

⚙️ Detailed research option

In [P], the trading problem is formalized as a Markov decision process: an agent observes state  S_t, chooses action  A_t, receives reward  R_{t+1} , and moves to  S_{t+1}. The goal is to maximize the discounted sum of rewards. Data: Yahoo Finance daily time series, 1257 rows, 7 columns (Date, Open, High, Low, Close, Adj Close, Volume), period 2015–2023. Split: 90% train, 10% test.

3.2. State, action, reward

⚙️ Detailed research option

The condition includes 60 past observations by the following parameters: normalized closing price; monthly, two- and three-month returns, and a year normalized for volatility; MACD; RSI with a 30-day window. Actions:  -1 sell,  0 do nothing,  1 buy. Reward:

R(t) = r(t)·A(t) − |A(t) − A(t−1)|·C,

where  r(t) is the future return,  C and are transaction costs of approximately 1–5 basis points. Terminal rewards depend on the preservation of capital and the final return.

3.3 Algorithms

⚙️ Detailed research option

DQN, DDQN, Dueling DQN, and A2C are considered. DQN approximates the Q-function; DDQN separates action selection and evaluation; Dueling DQN decomposes Q into the value of a state and the advantage of an action; A2C updates the policy and critic in real time. The methodology also uses the term “Deterministic Deep Q Networks,” but the experiments use A2C—this is a terminological inconsistency that should be explicitly noted.

3.4 Results as presented

⚙️ Detailed research option

  • DQN:  XRP generates more profit than BTC; BTC shows fluctuations around the initial capital and a significant drop in 2023
  • DDQN:  On XRP, the portfolio grows by approximately 25% of the initial capital; on BTC, the result is positive. The authors conclude that for BTC, DDQN is better to train than DQN.
  • Dueling DQN:  XRP shows impressive growth, despite initial losses; on BTC, the agent initially makes a profit, but by May 2023, capital declines. The authors cautiously suggest that for BTC, data up to 2023 is better used.
  • A2C:  On XRP, the agent sells more than it buys; in July 2023, the rise is followed by a sharp decline. On BTC, the agent is initially inactive, capital declines in March 2023, then rises, and then declines again. The conclusion in the text is contradictory: first it says that A2C is “not a good fit” for XRP, then that the model is “better suited for XRP than for Bitcoin.”

4. What exactly has been proven and what has not been proven

⚙️ Detailed research option

StatementStatus in [P]What is needed for a scientific conclusion?
DDQN and Dueling DQN show portfolio growth on XRPClaimed based on charts; no table of final valuesReruns, confidence intervals, final wealth, drawdown, Sharpe ratio
For BTC, DDQN is better than DQNComparison by visual graphsSingle metric, statistical test, cost and slippage control
Dueling DQN on BTC Loses Capital by May 2023Observation on one test pathTesting on multiple windows, different seeds, and alternative periods
Is A2C better/worse for XRP?Internally contradictory descriptionExplicit hypothesis, metric and consistent interpretation
DRL agents help assess the quantum risk of BTC/XRPNot being researchedA separate threat model, cryptographic protocol, and resource estimates for a quantum algorithm

Critically important.  [P] contains no quantum experiments, evaluations of logical/physical qubits, or analysis of Bitcoin public keys or the XRP protocol. Therefore, any claims like “DRL demonstrated a quantum vulnerability” would be a misrepresentation. The correct formula is: [P] provides an empirical basis for  the trading  part and no evidence for  the cryptographic  part.

5. Selected questions from the [Q] constructor

⚙️ Detailed research option

From [Q], questions were selected that directly link the formulation, proofs, cryptographic profile, and synthesis. Questions that are not applicable to [P] are marked as “not relevant to the original work, relevant to the next step.”

5.1. Setting and boundaries

⚙️ Detailed research option

  1. Q1.  What specific problem does the chosen technology solve and for whom is it important? → For [P]: comparison of DRL agents on BTC/XRP; for the quantum layer: risk assessment, not trading.
  2. Q4.  How should the hypothesis being tested be formulated, and what observation could disprove it?
  3. Q5.  Where is the research boundary drawn: what tasks, scales, and conditions are not considered?
  4. Q6.  What result would change the views of experts, and not just attract public attention?

5.2 Mechanism and model

⚙️ Detailed research option

  1. Q7–Q8.  What is the underlying mechanism? What role do superposition, interference, entanglement, or measurement play? → For [P], quantum effects are not used; for the quantum layer, this is a separate subject.
  2. Q10–Q12.  Can the mechanism be explained using a minimal example? What are the model’s assumptions? What is measured in the experiment?

5.3 Algorithms and proofs

⚙️ Detailed research option

  1. Q25–Q26.  How is a problem translated into a formal object; what is the cost of data preparation?
  2. Q29–Q30.  What is the circuit depth/number of operations/runs; how is the answer extracted, and are measurement costs taken into account?
  3. Q43–Q48.  What is the basis for the conclusion: proof, simulation, experiment, or prediction? What control experiments were conducted? How many independent runs were conducted? Are data and code available? What was obtained on a real device versus a simulator? Is the key conclusion reproducible?

5.4 Cryptographic profile

⚙️ Detailed research option

  1. Q49–Q50.  What specific cryptographic problem is being considered and which quantum algorithm is applicable?
  2. Q52–Q53.  What data is available to an attacker; how do quantum key distribution and post-quantum cryptography differ?
  3. Q54–Q56.  For Bitcoin: what mechanism is being investigated—signatures, hashing, or protocol—and when is the public key accessible to an attacker; what migration measures are being evaluated; which claims are supported by experimentation today, and which are estimates of future risk.

5.5 Synthesis and the Future

⚙️ Detailed research option

  1. Q69–Q70.  What problems remain open; what next experiments will distinguish between competing explanations?
  2. Q73–Q75.  How do the conclusions change under optimistic and conservative assumptions; what work should the result be compared with; where are the results compatible, complementary, or contradictory; what new test question arises?

6. Testable hypotheses

⚙️ Detailed research option

HypothesisExaminationRefutation criterion
H1.  In [P], DDQN and Dueling DQN do outperform DQN and A2C on XRP in terms of portfolio returns.Repeat experiments with 10–30 seeds, fixed costs, walk-forward test.The difference disappears or changes sign for confidence intervals and alternative windows.
H2.  For BTC, DDQN is more stable than DQN, Dueling DQN and A2C.Comparison of final wealth, maximum drawdown, Sharpe ratio and number of transactions.The DDQN advantage is not reproducible or can be explained by one lucky period.
H3:  The reported benefits are partly explained by the absence of statistical uncertainty and cost sensitivity.Cost grid 1–20 bps, slippage, bootstrap intervals.At reasonable costs and intervals, the conclusions remain unchanged.
H4.  [P] does not contain evidence of quantum vulnerability of BTC or XRP.Check text for threat models, cryptographic metrics, qubit scores, and algorithms.The work found an explicit quantum experiment or resource assessment of the attack.
H5.  Correct assessment of quantum risk requires a separate threat model and protocol metrics.Comparison of trading metrics with cryptanalysis and migration metrics.Trading profitability has been shown to be a strong predictor of cryptographic strength.

7. Evidence table for [P]

⚙️ Detailed research option

CodeProof from [P]StrengthLimitation
E1Abstract: Dueling and Double DQN perform better on XRP as portfolio wealth increases.Authors’ statementThere is no number table and intervals.
E2DQN: XRP Profits More Than BTC; BTC to Swing and Fall in 2023Visual observationOne test path, no statistics.
E3DDQN: XRP +25% to initial capital; BTC positive result.Observation according to scheduleSeed, costs, and number of transactions are not specified.
E4Dueling DQN: XRP Strong Growth; BTC First Gains, Then Capital Falls by May 2023Observation according to schedulePossible dependence on the period 2023
E5A2C: XRP – More selling; July 2023 – Rise and sharp drop; BTC – Inactivity at the beginning, drop in March 2023Observation according to scheduleContradictory conclusion in the text.
E6Methodology: 60-observation state, MACD, RSI, returns; actions -1/0/1; reward with cost.Description of the methodThere is no complete code and configuration in the text.
E7The literature review mentions time-series momentum [23] as a benchmark, but the benchmark is not shown in the experiments.StatementThere is no direct comparison with the classical strategy.

8. Linking multiple works into a coherent study

⚙️ Detailed research option

Within [P] are actually four algorithmic “jobs”: DQN, DDQN, Dueling DQN, and A2C. They can be linked not as a simple gluing, but as a sequence of checks.

StageWhat do we take from [P]?What are we adding?New conclusion
A. DQNBasic critic-only agent; XRP is better than BTC.A unified metric for final wealth and drawdown.Is there a sustainable advantage for XRP or is it an artifact of one path?
B. DDQNSeparation of choice and action evaluation; positive BTC result.Comparison with DQN with the same seed and costs.Does DDQN reduce Q-value overvaluation specifically on BTC?
C. Dueling DQNValue and Advantage Decomposition; Strong XRP Growth.Testing on multiple periods and alternative assets.Is the architectural advantage sustainable or dependent on 2023?
D. A2CActor-critic and advantage-function.Consistent metric and explicit hypothesis.Is A2C suitable for discrete -1/0/1 actions or are its outputs unstable?
E. Quantum layerOnly BTC/XRP as objects.Threat model, protocol, resource assessments, post-quantum migration.Which cryptographic claims are proven and which remain speculative?

Linking paragraph.  Paper A shows that DQN generates more profit on XRP than on BTC in a single test run. Paper B reports a positive result for DQN on BTC. Paper C demonstrates strong growth of Dueling DQN on XRP but a decline on BTC by 2023. Paper D provides mixed evidence for the applicability of A2C. A direct comparison is limited by the lack of a metrics table and statistical intervals. After accounting for seed, costs, and alternative windows, only limited conclusions can be drawn about trading behavior. An independent Phase E is required to test quantum risk.

9. Experimental plan and metrics

⚙️ Detailed research option

9.1. Reproduction of the trading section

⚙️ Detailed research option

  • Commit the code, library versions, seed, and configuration; publish the data and scripts.
  • Repeat DQN, DDQN, Dueling DQN and A2C on BTC/XRP with 10-30 independent runs.
  • Use walk-forward partitioning rather than a single test segment.
  • Add classic baselines: buy-and-hold, time-series momentum [23], simple MA strategy.
  • Enter the cost grid: 1, 5, 10, 20 bps; take into account slippage.
  • Calculate: final wealth, profitability, maximum drawdown, Sharpe ratio, Sortino ratio, number of trades, turnover, share of winning trades.
  • Assessing uncertainty: bootstrap intervals, confidence intervals, statistical tests.

9.2 Quantum Layer

⚙️ Detailed research option

  • Explicitly define the threat model: what public data is available, when the public key is published, what exactly is being attacked.
  • Bitcoin signatures, hashing, the XRP protocol, and consensus mechanisms should be considered separately.
  • For each cryptographic problem, indicate the applicable quantum algorithm and assumptions.
  • Evaluate logical and physical qubits, circuit depth, number of runs, permissible error, and time.
  • Compare quantum key distribution and post-quantum cryptography as different classes of solutions.
  • Do not transfer trading metrics to cryptographic strength.

10. Quantum layer: what can and cannot be asserted

⚙️ Detailed research option

Constructor [Q] reminds us that in August 2024, NIST approved FIPS 203, 204, and 205 for establishing keys and digital signatures designed to resist future quantum attacks; practical migration is being considered in the NCCoE project [Q2–Q3]. These are historical reference points, not proof that BTC or XRP are already vulnerable.

For Bitcoin, the correct question is:  what specific mechanism is being investigated—ECDSA signatures, hashing, a transfer protocol, or something else—and at what point is the public key available to an attacker?  For XRP, the specific protocol mechanism must also be specified. Without this, claims about a “quantum threat to cryptocurrency” remain too general.

Substitution Prohibition.  It is prohibited to write: “The DRL agent showed a decline in BTC, which means BTC is quantum vulnerable.” The correct way is: “The DRL agent showed a decline over a historical period; this observation relates to a trading strategy and is not a resource assessment of a quantum attack.”

11. Limitations, alternative explanations, risks

⚙️ Detailed research option

  • One test path.  Results [P] may be sensitive to the selected 2022–2023 period.
  • There is no statistical uncertainty.  Without seeds and intervals, it is impossible to distinguish a consistent advantage from chance.
  • The costs are specified as a range.  Sensitivity to 1–5 bps and slippage is not shown.
  • There is no table of final metrics.  Graphs do not replace numerical comparison.
  • Terminological inconsistency:  “Deterministic Deep Q Networks” in the methodology and A2C in the experiments.
  • A2C’s contradictory conclusions:  first, “not a good fit for XRP,” then, “better fit for XRP than Bitcoin.”
  • The momentum time-series benchmark is missing , although it is mentioned in the literature review.
  • The quantum layer is missing.  This is not a bug [P], but a limit to the applicability of the conclusions.

12. Conclusion and next question to be tested

⚙️ Detailed research option

The original paper [P] provides a useful empirical demonstration: DRL agents behave differently on BTC and XRP, and DQN, DDQN, Dueling DQN, and A2C architectures can yield qualitatively different portfolio trajectories. The most cautious conclusion is that,  in the presented test case,  DDQN and Dueling DQN appear stronger on XRP, while for BTC, DDQN’s advantage is plausible but requires statistical verification.

The quantum conclusion is different: [P] does not measure quantum risk and cannot serve as proof of cryptographic vulnerability. The next question to test is:

New question:  Is it possible to construct a risk-based matrix for cryptoassets in which the DRL strategy trading metric and the quantum risk protocol metric remain separate but comparable in terms of conditions, sources, and uncertainty?

This question maintains intrigue, but doesn’t promise a sensation. It links several [P] papers into a sequence: DQN → DDQN → Dueling DQN → A2C → independent quantum layer → synthesis. It is this sequence, rather than a mixture of yield graphs and quantum terms, that can provide the reader with useful and verifiable knowledge.

13. Checklist and sources

⚙️ Detailed research option

Checklist before publication

⚙️ Detailed research option

  • Observations, evidence, estimates and forecasts are separated.
  • Every significant statement has a source or is clearly marked as a hypothesis.
  • Physical qubits are not replaced by logical ones; a simulation is not called an experiment.
  • Trading profitability is no substitute for cryptographic strength.
  • Negative results and limitations [P] are presented explicitly.
  • The reader understands what new information the article provides and what experiment can be used to test it.

Sources

⚙️ Detailed research option

  1. [P]  Fangnon D.-D., Kouyim Meli A.S., Mbingui V.R., Negho P.D., Dijaha R.K.M., Seknewa L.L. A comparative study of Bitcoin and Ripple cryptocurrencies trading using Deep Reinforcement Learning algorithms. arXiv:2505.07660v2. References: abstract, sections 1–4, figures 1–8, conclusion.
  2. [Q]  “Quantum Technologies: 75 Questions for a Research Article.” Author’s editorial and research constructor, Russian language, October 30, 2026. Questions Q1–Q75, article combination matrix, and checklist were used.
  3. [Q2]  NIST: FIPS 203, 204, 205 Approval, August 13, 2024. Post-quantum standards context specified in [Q].
  4. [Q3]  NIST NCCoE: Migration to Post-Quantum Cryptography. Practical migration context specified in [Q].