Can Artificial Intelligence Trade the Stock Market?

Jędrzej Maskiewicz, Paweł Sakowski
6/5/2025
q-fin.TRcs.LGq-fin.CP
rl

No confident code implementation found for this paper.

Abstract

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 500 index and Bitcoin, on the daily data in the period of 2019-2023.

Show full abstract

The results demonstrate DRL's effectiveness in trading and its ability to manage risk by strategically avoiding trades in unfavorable conditions, providing a substantial edge over classical approaches, based on supervised learning in terms of risk-adjusted returns.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{maskiewicz2025artificial,
  title  = {Can Artificial Intelligence Trade the Stock Market?},
  author = {Jędrzej Maskiewicz and Paweł Sakowski},
  year   = {2025},
  eprint = {2506.04658},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.04658v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.04658.svg)](https://codeofpaper.com/paper/2506.04658)

Discussion