Learning to trade autonomously in stocks and shares: integrating uncertainty into trading strategies
Yuyang Li , Minghui Liwang , Li Li
Learning to trade autonomously in stocks and shares: integrating uncertainty into trading strategies
Machine learning, a revolutionary and advanced technology, has been widely applied in the field of stock trading. However, training an autonomous trading strategy which can effectively balance risk and Return On Investment without human supervision in the stock market with high uncertainty is still a bottleneck. This paper constructs a Bayesian-inferenced Gated Recurrent Unit architecture to support long-term stock price prediction based on characteristics of the stock information learned from historical data, augmented with memory of recent up- and-down fluctuations occur in the data of short-term stock movement. The Gated Recurrent Unit architecture incorporates uncertainty estimation into the prediction process, which take care of decision-making in an ever-changing dynamic environment. Three trading strategies were implemented in this model; namely, a Price Model Strategy, a Probabilistic Model Strategy, and a Bayesian Gated Recurrent Unit Strategy, each leveraging the respective model’s outputs to optimize trading decisions. The experimental results show that, compared with the standard Gated Recurrent Unit models, the modified model exhibits a huge tremendous/dramatic advantage in managing volatility and improving return on investment Return On Investment. The results and findings underscore the significant potential of combining Bayesian inference with machine learning to operate effectively in chaotic decision-making environments.
Autonomous trading / Gated recurrent unit / Bayesian inference
| [1] |
Wikipedia contributors: Stock Valuation. https://en.wikipedia.org/wiki/Stock_valuation. Accessed: June 2024. (2024) |
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
S. Zargar, Introduction to sequence learning models: rnn, lstm, gru. Department of Mechanical and Aerospace Engineering, North Carolina State University (2021) |
| [6] |
F.M. Shiri, T. Perumal, N. Mustapha, R. Mohamed, A comprehensive overview and comparative analysis on deep learning models: cnn, rnn, lstm, gru. (2023). arXiv:2305.17473 |
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
J.J. Murphy, Technical Analysis of the Financial Markets: a Comprehensive Guide to Trading Methods and Applications. New York Institute of Finance, New York (1999) |
| [21] |
|
The Author(s)
/
| 〈 |
|
〉 |