The research paper begins with a paradox. In a 2022 paper, the authors report that a simple moving average crossover strategy yielded an ROI of approximately 849.8% on Ether , compared to 12.0% for a buy-and-hold strategy. This sounds like a compelling advantage. However, the same paper also reports different Sharpe ratios for the same strategy, and a second strategy—VWAP—shows negative returns over a short intraday timeframe. This raises a testable question: what exactly does such a backtest prove, and can it be integrated with an assessment of quantum risks for the cryptoeconomy?
The main thesis. This file 2206.14932v1.pdf is not a quantum work. Its value is methodological: it provides a reproducible “inputs → analysis → results dashboard” pipeline for algorithmic trading of stocks and cryptoassets. This pipeline can be used as a test bed for verifiable research into quantum technologies if it is supplemented with a module for assessing quantum threats, resource assessments, and post-quantum migration. We are not claiming that a quantum computer can hack cryptocurrencies today; we are formulating a program in which this can be verified and compared.
1. Problem Statement: Why Backtesting and Quantum Risk Must Meet
Modern quantum technologies are developing in three major areas: computing, communications, and sensors. For finance and cryptoeconomics, the most pressing issue is cryptographic security: future quantum algorithms are seen as a threat to schemes based on factorization and discrete logarithms. In 2024, NIST approved the first post-quantum standards, FIPS 203, 204, and 205, and practical migration is being discussed in NCCoE projects. These are historical reference points, but they do not mean that the required quantum computer already exists.
The paper by Zhang, Wu, Lahrichi, Salas-Flores, and Li (arXiv:2206.14932v1) takes a different approach: it proposes a data science pipeline for algorithmic trading of stocks and cryptoassets. The authors implement four classic algorithms—moving average crossover, VWAP, sentiment analysis, and statistical arbitrage—and demonstrate the first two in detail. This pipeline is particularly useful as a “testbed”: it already contains input data, trading conditions, index calculations, signals, and an ROI/Sharpe dashboard.
The problem is that the pipeline itself doesn’t answer the question: which results are robust, and which are an artifact of the selected window, metric, or data source? Without this, it’s impossible to fairly incorporate quantum risk: it’s too easy to confuse experimentation, future threat assessment, and marketing claims.
2. Deep analysis of file 2206.14932v1.pdf
2.1 What exactly do the authors propose?
The authors propose a general three-stage workflow: inputs (connection to the data source API, historical prices, trading conditions), analysis (index calculation and strategy execution), and an output panel (buy/sell signals, cash and position accounts, total assets, ROI). The algorithms are implemented in Python3 using object-oriented programming; the code and data are available in a GitHub repository.
| Component | What is described in the PDF | Significance for our research |
|---|---|---|
| Pipeline | Inputs → index calculation → signals → execution → cash/holdings/total monitoring → ROI and Sharpe ratio. | A ready-made structure into which a “quantum risk module” can be added without breaking the logic. |
| Algorithms | Moving average crossover, VWAP, sentiment analysis, statistical arbitrage; the first two are discussed in detail in the main section. | Provides two different checks: trend and intraday. This is useful for comparing stability. |
| Data | Alpha Vantage API; TSLA and AAPL stocks; BTC and ETH crypto assets. For MA, daily prices; for VWAP, 5-minute intervals. | A public API and open source code improve reproducibility, but impose limitations on the depth of history and the frequency of requests. |
| MA parameters | SWMA is typically 50 days, LWMA 200 days; buy when SWMA crosses above LWMA, sell when below. Initial capital: $10,000. | A classic, easily reproducible hypothesis. But the result depends heavily on the window and period. |
| VWAP parameters | 5-minute data; buy above VWAP, sell below; initial capital USD 100,000; gas fee 0.1%. | The intraday strategy is sensitive to signal frequency and commissions. |
| MA results | ROI 849.8% versus 12.0% for buy-and-hold; Sharpe ratios in the text and captions differ: 1.69, 0.98, 3.24, and 2.60 are mentioned. | A strong case for verification: high returns without an agreed-upon risk metric are not proof of sustainable advantage. |
| VWAP results | ROI -3.93% vs. -4.26% for buy-and-hold; Sharpe ratio -1.62 vs. -0.52. | The negative result is useful: it shows that VWAP is not a universal advantage over the short term. |
| Restrictions | Free Alpha Vantage API: only the last 15 days for some queries, limits of 5 queries per minute and 500 per day; VWAP for crypto is calculated manually. | Constraints must be explicitly included in the experimental design, otherwise the comparison will be unfair. |
2.2. Strengths of the work
- A repeatable framework is proposed , rather than a single “black box”.
- There are formulas: SMA and VWAP are set explicitly, which allows you to recalculate the results independently.
- Public data and open source code are used, which lowers the barrier to verification.
- Not only positive but also negative results are shown: the VWAP strategy is unprofitable on the selected interval.
- The authors honestly discuss API limitations and the differences between stocks and crypto assets.
2.3. Weaknesses and contradictions that become research questions
Important: We are not blaming the authors for the error. We are documenting what is clear in the text: different Sharpe ratio values and different commission guidelines create uncertainty. For a scientific article, this isn’t a “minor typo” but a reason to formulate a reproducibility criterion.
- Inconsistent Sharpe ratio. The text near Figure 7 mentions 1.69 and 3.24, while the caption mentions 0.98 and 2.60. Without a consistent formula and calculation period, the conclusion about risk-adjusted return is ambiguous.
- Fees. The MA section states that fees are ignored for simplicity, but then it mentions 0.1% per transaction. This changes the results, especially with frequent transactions.
- One asset and one period. ETH over the chosen interval is an interesting case, but not proof of a general pattern.
- The VWAP interval is very short. A few days of intraday data do not allow us to draw conclusions about the long-term usefulness of the strategy.
- There’s no full out-of-sample test. The PDF doesn’t show whether the advantage holds for other assets, periods, or fees.
- There is no quantum component. This is not a flaw in the original paper, but a limitation we explicitly state: quantum risk is an extension, not a result, of the PDF.
3. Selecting a scientific topic
Topic: “A reproducible pipeline of algorithmic trading of cryptoassets as a tool for verifiable assessment of quantum risks and post-quantum sustainability of the cryptoeconomy.”
This isn’t an article about “a quantum computer is already breaking Bitcoin.” It’s an article about how to build a fair research program: first, test the robustness of a classical trading result, then add a threat model, resource assessments, and migration scenarios. This approach combines financial engineering, cryptoeconomics, and quantum cryptography, without replacing experiment with prediction.
4. Test questions selected from the constructor
The file quantum_research_questions_ru.html contains questions that directly link the PDF methodology to the quantum agenda. We are not answering all 75 questions: 18 general and 8 specific questions are sufficient for a focused article.
| No. | Question | Role in the article | Verification criterion |
|---|---|---|---|
| 1 | What specific problem does the chosen technology solve and for whom is it important? | Research framework | The problem is formulated for a trader, an exchange, and a researcher of cryptoeconomics. |
| 4 | How to formulate a testable hypothesis and what observation could disprove it? | Hypotheses H1–H4 | For each hypothesis, a test and a possible refutation are indicated. |
| 6 | What outcome would change the experts’ views? | Motivation | Consistent out-of-sample result and reproducible resource assessment of quantum risk. |
| 8 | What role do superposition, interference, entanglement or measurement play? | Quantum explanation | It is shown that what is important for cryptanalysis is the algorithm, not the “magic” of the terms. |
| 10 | Is it possible to explain the mechanism using a minimal example? | Shor/PQC Explanation | Minimal scheme: task → algorithm → resources → threat. |
| 11 | What assumptions does the model use and when do they fail? | Restrictions | Logical/physical qubits, errors, time, threat model are indicated. |
| 25 | How is the problem translated into a quantum circuit, Hamiltonian, or other formal object? | Resource assessment | For cryptography, it’s Shor’s algorithm; for trading, it’s the classical model. |
| 26 | What are the input data and the cost of their preparation? | Data and API | Alpha Vantage limits and historical data downloads apply. |
| 29 | What are the diagram depth, number of operations, and connectivity requirements? | Quantum Resource Metrics | Estimates of logical qubits, depth and correction overhead are required. |
| 31 | What error model is used and how well does it match the measurements? | Reliability | Without an error model, resource assessment is incomplete. |
| 34 | How does the error probability change as the size and duration of the calculation increases? | Scaling | It is checked whether the advantage is maintained as the system grows. |
| 37 | What is the best classical method that the quantum approach compares to? | Fair comparison | For trading, buy-and-hold and classic backtests; for crypto, current schemes. |
| 40 | Are data preparation, compilation, queuing, retries and processing taken into account? | Full price | The comparison should not ignore overhead costs. |
| 41 | Does the advantage persist on the useful task, not just on the special test? | Practical usefulness | A test on a real portfolio and realistic fees is needed. |
| 43 | What is the basis for the conclusion: evidence, simulation, experiment, or prediction? | Type of evidence | Empirical backtest, resource assessment and forecast are separated. |
| 46 | Can the key finding be reproduced independently? | Reproducibility | Code, data, versions and parameters must be available. |
| 49 | What specific cryptographic problem is being considered? | Quantum cryptanalysis | Factorization/discrete logarithm and signatures, not “hacking everything”. |
| 51 | What are the estimates of logical and physical resources, time and acceptable error? | Resource model | Assessments must be explicit and reproducible. |
| 53 | What source data is available to the attacker? | Threat Model | Public key, address, transaction, disclosure moment. |
| 55 | What is the difference between QKD and post-quantum cryptography? | Protection | QKD — key distribution; PQC — quantum-resistant algorithms. |
| 56 | For Bitcoin: Which mechanism is being explored—signatures, hashing, or protocol? | Cryptoeconomics | Specifies when the public key is available to the attacker. |
| 63 | Who needs results and what benefit can be measured? | Practical value | For a trader – risk metrics; for the exchange – migration; for a researcher – reproducibility. |
| 64 | What is the minimum demonstration that will convince the user? | Minimal experiment | Backtest replay with fees and independent Sharpe calculation. |
| 66 | Which market claims are supported by data and which are hype? | Critical thinking | ROI without a risk metric is not considered proof. |
| 69 | What issues remain open? | Future | There is no single standard for quantum resource valuation for cryptoeconomics. |
| 70 | Which of the following experiments would best distinguish between the explanations? | Plan | Out-of-sample, different fees, different assets, error model. |
| 75 | What other article can this result be compared with? | Connection of works | Comparison with Fang et al. on MA and with works on VWAP/DeFi. |
5. Hypotheses and refutation criteria
| Hypothesis | Formulation | What will refute |
|---|---|---|
| H1 | The PDF pipeline is reproducible: with the same data, windows, and fees, you can independently obtain the same signals and comparable ROI/Sharpe. | Signal discrepancies with identical parameters; missing code/data; ambiguous Sharpe formula. |
| H2 | The claimed 849.8% ROI for MA does not prove sustainable advantage until Sharpe, fees and out-of-sample period are agreed upon. | Repeat on multiple assets and periods with a fixed commission, where the advantage is maintained and Sharpe is agreed upon. |
| H3 | The negative VWAP result over a short period is useful as a limitation: VWAP is not a universal advantage. | A long series of independent intraday tests where VWAP systematically outperforms baseline at the same costs. |
| H4 | Quantum risk for the cryptoeconomy today is more correctly formulated as a resource assessment and migration program, and not as a proven current attack. | A reproducible demonstration of a real-world key-discovery attack and a public experiment. |
6. Evidence: What really follows from PDF and what is an extension
6.1 Proof 1: The pipeline exists and is structured
The PDF clearly describes the entry, analysis, and exit stages, and also provides the SMA and VWAP formulas. This is sufficient to consider the work a methodological foundation. However, “having a structure” does not equate to “a consistent result.”
6.2. Proof 2: MA result requires metrics audit
An ROI of 849.8% versus 12.0% is a strong figure. But if the Sharpe ratio is 1.69 in one place, 0.98 in another, and 3.24 and 2.60 in the caption, then the risk-adjusted interpretation becomes ambiguous. For a scientific paper, this isn’t a reason to discard the result, but a reason to demand a unified calculation protocol : frequency, risk-free rate, period, fees, and annulment method.
6.3. Proof 3: VWAP gives a negative result
An ROI of -3.93% and a Sharpe of -1.62 over the short term isn’t a “failure of the article,” but a valuable negative result. It demonstrates that an intraday strategy based on the price-VWAP intersection doesn’t necessarily outperform a buy-and-hold strategy. This is important for the quantum agenda: before assessing a “quantum advantage,” one must be able to honestly assess the classical one.
6.4 Proof 4: Data limitations are built into the design
Alpha Vantage’s free mode limits the history depth and query frequency. This means that some inferences are sensitive to the data source. Quantum research faces a similar problem: resource estimates are sensitive to the error model and architecture. In both cases, an explicit “assumption log” is required.
6.5. Relationship to works on which the PDF is based
- Granville is the classic idea of moving averages; PDF translates it into an algorithm.
- Fang et al. – testing of MA on 11 cryptocurrencies; the PDF uses this context but does not replace it with a full comparison.
- Cesari et al. and Menkhoff – VWAP as an institutional benchmark; PDF shows that over the short term it does not guarantee profit.
- Ampleforth/Chainlink is an example of a DeFi protocol that uses VWAP in oracles; this bridges the gap to data integrity and post-quantum security for oracles.
7. Proposed extension: “quantum risk module” in the pipeline
To avoid mixing trading backtesting and quantum threats, we’ll add a separate module to the pipeline. It doesn’t change the trading logic, but rather captures assumptions and estimates.
| Pipeline stage | Classic Layer from PDF | Quantum risk layer |
|---|---|---|
| Entrances | Historical prices, volumes, API, trading conditions. | Asset, signature scheme, public key disclosure moment, threat model, evaluation horizon. |
| Analysis | SMA, VWAP, signals, execution. | Classic baseline; resource assessment of a quantum algorithm; error model; migration scenarios. |
| Exits | ROI, Sharpe, cash/holdings, signals. | Table “logical/physical qubits – depth – error – time – cost”; uncertainty scale. |
| Reproducibility | Code, data, versions, GitHub. | Standard versions, model parameters, initial assumptions, assessment date. |
A minimal testable experiment. Take one asset (e.g., ETH), one period, and one moving average strategy. Set the commission at 0.1%, the same Sharpe calculation method, and three windows: 20/100, 50/200, and 100/400. Then repeat the experiment on BTC and on one asset from the PDF. If the advantage disappears when changing the window, we’re dealing with sensitivity, not a universal law.
8. Quantum part: what can be stated and what cannot
For cryptography, the key question isn’t “will a quantum computer break everything” but “what problem, with what threat model, and with what resources?” Shor’s algorithm relates to factorization and discrete logarithm; for elliptic curve signatures, the scheme and timing of public key disclosure are important. For symmetric cryptography, other estimates are relevant, including Grover’s algorithm, but even there, precise parameters are needed, not slogans.
Post-quantum cryptography (PQC) and quantum key distribution (QKD) address different problems. PQC refers to algorithms that must remain secure in the presence of a quantum adversary; QKD refers to physical key distribution with eavesdropping detection. Both approaches are important for trading infrastructure and oracles, but they should not be confused in the same statement.
“Quantum risk” in this article is not a date prediction. It’s a set of testable parameters: what data is available to the attacker, what scheme is used, what resources are required for the attack, what migration standards are applicable, and what is the cost of migration.
9. Discussion: What will change the reader’s perceptions?
The first change is the culture of metrics . If a strategy shows an 849% ROI, but its Sharpe ratio can’t be definitively deduced from the text, this isn’t “proof of superiority” but an invitation to replicate. Similar arguments apply to quantum research: a resource assessment without an error model and architecture isn’t proof.
The second change is the value of negative results . The VWAP case in the PDF shows a loss. This is useful: it limits the hypothesis space and forces comparisons of strategies with the same fees and timeframes.
The third change is a bridge between disciplines . A trader needs risk metrics; a cryptographer needs a threat model; a quantum technology researcher needs a reproducible setup. A PDF pipeline can become such a setup if you add an assumption log and a quantum risk module.
10. Limitations of the study
- PDF is the only main work; we have not conducted our own full backtest of all four algorithms.
- The quantum part is formulated as a research program and resource assessment, not as an experimental demonstration of the attack.
- The PDF contains internal inconsistencies regarding the Sharpe ratio and fees; we note these as limitations rather than as a final conclusion.
- The Alpha Vantage API has limits that affect the depth and reproducibility of historical data.
- We do not claim that any specific cryptocurrency is already vulnerable to current quantum devices.
11. Conclusion and next experiment
The work by Zhang et al. provides a useful data science pipeline for algorithmic trading of stocks and cryptoassets. Its main lesson for the quantum agenda is the discipline of reproducibility: first, unified metrics, fees, and out-of-sample data, then resource assessments and migration scenarios. Only in this way can financial engineering and quantum cryptography be combined without replacing proof with prediction.
The next step to be verified is to implement an open-source audit module that, for one asset and one strategy, produces a table of “parameter – ROI – Sharpe – commission – period – data source.” Then, add to it a table of “signature scheme – threat model – resource assessment – migration standard.” If both tables are independently reproducible, we have not just advertising copy, but a research tool.
Appendix A. Pre-Publication Checklist
- PDF observations, our hypotheses and predictions about quantum technologies are separated.
- For each material statement, the source is indicated or the assessment is clearly indicated.
- Physical qubits and logical qubits do not mix.
- Simulation, backtest and quantum experiment do not mix.
- The fees, period, data frequency and Sharpe calculation method are indicated.
- Negative VWAP results are clearly presented.
- Quantum risk is formulated as a threat model and resource assessment, not as a promise of a hack date.
- The reader understands what new information the article provides and how to verify it.
Sources
- Zhang L., Wu T., Lahrichi S., Salas-Flores C.-G., Li J. A Data Science Pipeline for Algorithmic Trading: A Comparative Study of Applications for Finance and Cryptoeconomics. arXiv:2206.14932v1. URL: https://arxiv.org/abs/2206.14932
- GitHub repository of the PDF authors: https://github.com/SciEcon/SRS2021
- National Quantum Initiative: Quantum Science Directions. URL: https://www.quantum.gov/national-quantum-initiative/
- NIST: FIPS 203, 204, 205 Approval, August 13, 2024. URL: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- NIST NCCoE: Migration to Post-Quantum Cryptography. URL: https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
- Granville, J.E., New Key to Stock Market Profits. Prentice-Hall, 1963. (Cited in PDF.)
- Fang et al. — a study of moving average strategies on cryptocurrencies; the context is provided in the PDF.
- Cesari et al.; Menkhoff – the context of VWAP strategies; available in PDF.
- Ampleforth/Chainlink – example of using VWAP in DeFi oracles; context provided in the PDF.
This document is the author’s own research work. It does not constitute an official standard, financial advice, or a claim about a quantum attack on a specific cryptocurrency.
