EconPapers    
Economics at your fingertips  
 

Can Artificial Intelligence Trade the Stock Market?

Jędrzej Maskiewicz () and Paweł Sakowski
Additional contact information
Jędrzej Maskiewicz: Quantitative Finance Research Group, Department of Quantitative Finance, Faculty of Economic Sciences, University of Warsaw
Paweł Sakowski: Quantitative Finance Research Group, Department of Quantitative Finance, Faculty of Economic Sciences, University of Warsaw

No 2025-14, Working Papers from Faculty of Economic Sciences, University of Warsaw

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. 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.

Keywords: Reinforcement Learning; Deep Learning; stock market; algorithmic trading; Double Deep Q-Network; Proximal Policy Optimization (search for similar items in EconPapers)
JEL-codes: C14 C4 C45 C53 C58 G13 (search for similar items in EconPapers)
Pages: 63 pages
Date: 2025
New Economics Papers: this item is included in nep-fmk and nep-mst
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.wne.uw.edu.pl/download_file/5608/0 First version, 2025 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:war:wpaper:2025-14

Access Statistics for this paper

More papers in Working Papers from Faculty of Economic Sciences, University of Warsaw Contact information at EDIRC.
Bibliographic data for series maintained by Marcin Bąba ().

 
Page updated 2025-06-16
Handle: RePEc:war:wpaper:2025-14