Q-Learning and SARSA: a comparison between two intelligent stochastic control approaches for financial trading
Marco Corazza () and
Andrea Sangalli ()
Additional contact information
Andrea Sangalli: �
No 2015:15, Working Papers from Department of Economics, University of Venice "Ca' Foscari"
Abstract:
The purpose of this paper is to solve a stochastic control problem consisting of optimizing the management of a trading system. Two model free machine learning algorithms based on Reinforcement Learning method are compared: the Q-Learning and the SARSA ones. Both these models optimize their behaviours in real time on the basis of the reactions they get from the environment in which operate. This idea is based on a new emerging theory about the market efficiency, the Adaptive Market Hypothesis. We apply the algorithms on single stock price time series using simple state variables. These algorithms operate selecting an action among three possible ones: buy, sell and stay out from the market. We perform several applications based on different parameter settings that are tested on an artificial daily stock prices time series and on different real ones from Italian stock market. Furthermore, performances are both gross and net of transaction costs.
Keywords: Financial trading system; Adaptive Market Hypothesis; model free machine learning; Reinforcement Learning; Q-Learning; SARSA; Italian stock market. (search for similar items in EconPapers)
JEL-codes: C61 C63 G11 (search for similar items in EconPapers)
Pages: 25
Date: 2015, Revised 2015
New Economics Papers: this item is included in nep-cmp and nep-ore
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (4)
Downloads: (external link)
https://www.unive.it/web/fileadmin/user_upload/dip ... a_sangalli_15_15.pdf First version, 2015 (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:ven:wpaper:2015:15
Access Statistics for this paper
More papers in Working Papers from Department of Economics, University of Venice "Ca' Foscari" Contact information at EDIRC.
Bibliographic data for series maintained by Sassano Sonia ().