{"paper_id":"2506.04658","title":"Can Artificial Intelligence Trade the Stock Market?","authors":["Jędrzej Maskiewicz","Paweł Sakowski"],"paper_date":"2025-06-05","paper_type":"empirical","paper_url":"https://arxiv.org/pdf/2506.04658v1","page_url":"https://thequant.space/flowcharts/can-artificial-intelligence-trade-the-stock-market/","scores":{"empirical_rigor":7,"math_complexity":8,"quadrant":"Holy Grail"},"proposes":{"status":"available","statement":"The paper proposes using Deep Reinforcement Learning, specifically DDQN and PPO algorithms, for stock market trading and compares them to a buy‑and‑hold benchmark.","quote":"The paper explores the use of Deep Reinforcement Learning (DRL) in stock market trading, focusing on two algorithms: Double Deep Q-Network (DDQN) and Proximal Policy Optimization (PPO) and compares them with Buy and Hold benchmark.","summary":"The paper explores the use of Deep Reinforcement Learning (DRL) in stock market trading, focusing on two algorithms: Double Deep Q-Network (DDQN) and Proximal Policy Optimization (PPO) and compares them with Buy and Hold benchmark. It evaluates these algorithms across three currency pairs, the S&P…","strategy":"PPO with Transformer Network"},"assumptions":{"status":"available","items":[{"assumption":"The RL model assumes that the agent's decision changes the future state of the market.","type":"model","stated":"implied","quote":"the RL model assumes that its decision changes the future state 𝑠!\"# that he would end up after the action a, which is inherently not true in our case."},{"assumption":"TD learning does not introduce a look‑ahead bias.","type":"model","stated":"explicit","quote":"TD learning does not introduce a look-ahead bias, as might be suggested by the leading subscripts of formula [1]."},{"assumption":"Reinforcement learning is applied only to the training dataset, with no information from validation or test samples used.","type":"data","stated":"explicit","quote":"reinforcement learning is applied exclusively to the training dataset, ensuring that no information from validation or test samples is used."}]},"datasets":{"status":"available","items":[{"name":"EUR/USD, EUR/JPY, USD/JPY currency pairs","provider":null,"kind":"market-prices","access":"unknown","period":"2019-2023","universe":"three currency pairs","quote":"... evaluates these algorithms across three currency pairs, the S&P 500 index and Bitcoin, on the daily data in the period of 2019-2023."},{"name":"S&P 500 index","provider":null,"kind":"market-prices","access":"unknown","period":"2019-2023","universe":null,"quote":"... evaluates these algorithms across three currency pairs, the S&P 500 index and Bitcoin, on the daily data in the period of 2019-2023."},{"name":"Bitcoin","provider":null,"kind":"crypto-onchain","access":"unknown","period":"2019-2023","universe":null,"quote":"... evaluates these algorithms across three currency pairs, the S&P 500 index and Bitcoin, on the daily data in the period of 2019-2023."}],"known":[],"sample":{"start":"2019","end":"2023","market":"USD/JPY","asset_class":"fx","frequency":"daily"},"data_resolution":"daily"},"transaction_costs":{"status":"available","modeled":"partial","headline_net_of_costs":null,"detail":null,"quote":"Starting with an initial capital of $10,000, it is crucial to decide whether our strategy can achieve a net positive return, taking into account factors such as commissions, bid-ask spread and provisions.","source":"evidence_card","rule":"R2","candidates":{"front_matter":"unclear","evidence_card":"partial","evidence_card_quoted":true},"card_detail":null,"card_quote":"Starting with an initial capital of $10,000, it is crucial to decide whether our strategy can achieve a net positive return, taking into account factors such as commissions, bid-ask spread and provisions.","meaning":"costs appear only as a robustness check, a flat fee without spread or impact, or outside the headline numbers"},"results":{"status":"available","evaluation_type":"trading-pnl","findings":[{"finding":"The PPO_T strategy achieved a final balance of 18,120.64, an annualised return of 12.62% and a Sharpe ratio of 1.752, outperforming the perfect annual strategy and buy‑and‑hold benchmarks.","kind":"performance","quote":"The PPO_T strategy stands out as the top performer, achieving a final balance of 18,120.64 and an impressive annualised return of 12.62%. It has a Sharpe ratio of 1.752, indicating excellent risk-adjusted returns"},{"finding":"The DDQN_T strategy posted a final balance of $16,105.72, an annualised return of 10%, a Sharpe ratio of 1.252 and a maximum drawdown of -8.37%, with 257 trades and an average position duration of 5.45 days.","kind":"performance","quote":"The DDQN_T strategy also demonstrated strong performance with a final balance of $16,105.72 and an annualised return of 10%. It achieved a Sharpe ratio of 1.252 and experienced a maximum drawdown of -8.37%."},{"finding":"The PPO_NN strategy achieved a final balance of $13,980.63, an annualised return of 6.93% and a Sharpe ratio of 1.122, with 273 trades and an average position duration of 3.08 days.","kind":"performance","quote":"The PPO_NN strategy achieved a final balance of $13,980.63 with an annualised return of 6.93% and a Sharpe ratio of 1.122, suggesting good risk-adjusted returns."},{"finding":"The DDQN_NN strategy yielded a final balance of 11,960.99, an annualised return of 3.64% and a Sharpe ratio of 0.554, indicating moderate performance.","kind":"performance","quote":"The DDQN_NN strategy exhibited moderate performance with a final balance of 11,960.99 and an annualised return of 3.64% with Sharpe ratio of 0.554."}],"reported_performance":{"strategy":"PPO with Transformer Network","sharpe":2.179,"sharpe_benchmark":null,"annual_return_pct":17.3,"total_return_pct":122.1,"max_drawdown_pct":5.28},"out_of_sample":{"method":"walk-forward","headline_out_of_sample":true}},"independent_evidence":{"status":"none_found","supports":[],"contradicts":[],"qualifies":[],"compared_with":20,"citations":{"cited_by_in_corpus":0,"by_independent_authors":0,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":0,"unclassified":0},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":false,"code_url":null,"note":"No repository presented by the authors as their own was found in the paper. Absence here is not proof that no code exists."},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":1,"extracted_at":"2026-11-14T16:37:28Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}