Performance of Simple Deterministic Stock Trading Strategies Using an Agent-Based Modelling Approach
- 1 Section for Systems Analysis and Sustainability, Department of Agroecology, Aarhus University, Tjele, Denmark
- 2 Norwegian Center for Organic Agriculture, Tingvoll, Norway
Abstract
This paper evaluates four different deterministic trading strategies using an Agent-Based Modelling approach. The evaluated strategies were buy-and-hold, Moving Average, Momentum, and Mean Reversion. Data from eight stocks at the Oslo Stock Exchange were deployed for all strategies. The study analyses the performance of each strategy from 2018 to 2023 to make a profit in the stock market. In addition, a sensitivity analysis was conducted to determine the effect on returns based on changing trading costs and the agents’ access to historical data. The findings indicate considerable variability in each strategy’s returns. The sensitivity analysis shows that each trading strategy is sensitive to higher trading costs. The effect of access to historical data did not improve the Sharpe Ratio across the different strategies.
- Chakraborti, A., Toke, I. M., Patriarca, M., & Abergel, F. (2011). Econophysics Review: II. Agent-Based Models. Quantitative Finance, 11, 1013-1041. https://doi.org/10.1080/14697688.2010.539249
- Cliff, D., & Rollins, M. (2020). Methods Matter: A Trading Agent with No Intelligence Routinely Outperforms AI-Based Traders. In 2020 IEEE Symposium Series on Computational Intelligence (pp. 392-399). IEEE. https://doi.org/10.1109/ssci47803.2020.9308172
- Finansdepartementet (2022). Grunnrenteskatt på havbruk . https://www.regjeringen.no/no/aktuelt/grunnrenteskatt-pa-havbruk/id2929113/
- Huang, Y., Capretz, L. F., & Ho, D. (2021). Machine Learning for Stock Prediction Based on Fundamental Analysis. In 2021 IEEE Symposium Series on Computational Intelligence (pp. 1-10). IEEE. https://doi.org/10.1109/ssci50451.2021.9660134
- Nti, I. K., Adekoya, A. F., & Weyori, B. A. (2020). A Systematic Review of Fundamental and Technical Analysis of Stock Market Predictions. Artificial Intelligence Review, 53, 3007-3057. https://doi.org/10.1007/s10462-019-09754-z
- Park, C., & Irwin, S. H. (2007). What Do We Know about the Profitability of Technical Analysis? Journal of Economic Surveys, 21, 786-826. https://doi.org/10.1111/j.1467-6419.2007.00519.x
- R Core Team (2021). R: A Language and Environment for Statistical Computing . https://cran.r-project.org/doc/manuals/r-release/fullrefman.pdf
- RStudio Team (2020). RStudio Team: Integrated Development for R. RStudio. https://www.r-project.org/conferences/useR-2011/abstracts/180111-allairejj.pdf
- Ryan, J. A., Ulrich, J. M., Smith, E. B. et al. (2024). Package “Quantmod” . https://cran.r-project.org/web/packages/quantmod/quantmod.pdf
- Sorensen, E., Ozzello, R., Rogan, R., Baker, E., Parks, N., & Hu, W. (2020). Meta-Learning of Evolutionary Strategy for Stock Trading. Journal of Data Analysis and Information Processing, 8, 86-98. https://doi.org/10.4236/jdaip.2020.82005
- Taiyun Wei, M., Taiyun Wei Cre, A., Simko Aut, V. et al. (2022). Package “Corrplot” . https://cran.r-project.org/web/packages/corrplot/corrplot.pdf
- Zeileis, A., Grothendieck, G., Ryan, J. A., Ulrich, J. M. and Andrews, F. (2023). S3 Infrastructure for Regular and Irregular Time Series (Z’s Ordered Observations) . https://zoo.R-Forge.R-project.org/