Research Article

Optimizing Short and Long Term Investment Returns Using Multi-Armed Slot Machine Algorithms

Qiaojia Liu*
Northeastern University, 360 Huntington Avenue,200 Kerr Hall, Boston, MA 02125, USA

* Corresponding author: [email protected]

Abstract

This study focuses on comparing the effectiveness of UCB, Thompson sampling and Epsilon-Greedy algorithms in multi-armed slot machine algorithms for short-term and long-term investment return optimization in financial markets. This analysis examines stock performance data from Tesla, General Motors, and Ford over specific periods: five years of weekly data (2019-2024) and six months of daily data (February to August 2024). From the results, it is shown that for long-term investments, Over the five-year period, Thompson Sampling outperformed UCB and Epsilon-Greedy algorithms in terms of stability and overall return, demonstrating a consistent upward trend with fewer fluctuations. For short-term investments, although the UCB algorithm performs similarly to the Thompson sampling algorithm, the returns in the UCB algorithm grow progressively slower as the timeline is lengthened. In the six-month daily data analysis, the Epsilon-Greedy algorithm excelled in capturing short-term gains due to its aggressive exploration mechanism, though it also showed higher volatility in response to market fluctuations, and the algorithm should be chosen to be able to keep up with the fluctuations in the stock market in real time, and the investor should take into account the cost of time as well as changes in the market in order to formulate an optimal investment strategy.The findings of this study will provide a practical type of approach to investors when developing investment strategies. Future research will explore other classes of new algorithms and consider more market factors so that they can be better adapted to the complex investment environment in the future.

Keywords: Multi-Armed Bandit Algorithms; Algorithm Performance Comparison; Statistical Analysis and Results; Investment Strategy Optimization
Published: October 31, 2024
DOI: 10.54254/2755-2721/83/2024GLG0068
Volume: ACE Vol.83
pp. 110-119
Download PDF

References

  1. Chan H P 2020 THE MULTI-ARMED BANDIT PROBLEM. The Annals of Statistics. 48(1), 346-373.
  2. Slivkins A 2019 Introduction to multi-armed bandits. Foundations and Trends® in Machine Learning. 12(1-2), 1-286.
  3. Fouché E, Komiyama J, and Böhm K 2019 Scaling multi-armed bandit algorithms. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. p1449-1459
  4. Marti G, Nielsen F, Bińkowski M, and Donnat P 2021 A review of two decades of correlations, hierarchies, networks and clustering in financial markets. Progress in information geometry: Theory and applications. p245-274.
  5. Rebentrost P, and Lloyd S 2024 Quantum computational finance: quantum algorithm for portfolio optimization. KI-Künstliche Intelligenz. p1-12.
  6. Bouneffouf D, and Rish I 2019 A survey on practical applications of multi-armed and contextual bandits. arXiv - CS - Machine Learning.1904.10040
  7. Kar D, Lyu Z, Ororbia A G, Desell T, and Krutz D 2024 Enabling An Informed Contextual Multi-Armed Bandit Framework For Stock Trading With Neuroevolution. In Proceedings of the Genetic and Evolutionary Computation Conference Companion. p1924-1933
  8. Kuang N L, and Leung C H 2019. Performance effectiveness of multimedia Information search using the epsilon-greedy algorithm. In 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA). p929-936
  9. Gimelfarb M, Sanner S, and Lee C G 2020 {\epsilon}-bmc: A bayesian ensembleapproach to epsilon-greedy exploration in model-free reinforcement learning. arXiv preprint arXiv. 2007.00869.
  10. Khurshid S, Abdulla M S, and Ghatak G. 2024 Optimizing Sharpe Ratio: RiskAdjusted Decision-Making in Multi-Armed Bandits. arXiv preprint arXiv.2406.06552.
  11. Kalvit A, and Zeevi A 2021 A closer look at the worst-case behavior of multi-armed bandit algorithms. Advances in Neural Information Processing Systems. 34, 8807-8
  12. Zhang Z, Zohren S, and Roberts S 2020 Deep learning for portfolio optimization. arXiv preprint arXiv. 2005.13665.