Investigating Algorithmic Stock Market Trading using Ensemble Machine Learning Methods

Ramzi Saifan, Khaled Sharif, Mohammad Abu-Ghazaleh, Mohammad Abdel-Majeed

Abstract


Recent advances in the machine learning field have given rise to efficient ensemble methods that accurately forecast time-series. In this paper, we use the Quantopian algorithmic stock market trading simulator to assess ensemble methods performance in daily prediction and trading. The ensemble methods used are Extremely Randomized Trees, Random Forest, and Gradient Boosting. All methods are trained using multiple technical indicators and automatic stock selection is used. Simulation results show significant returns relative to the benchmark and large values of alpha are produced from all methods. These results strengthen the role of ensemble method based machine learning in automated stock market trading.


Full Text:

PDF

References


Mladjenovic, Paul. Stock investing for dummies. John Wiley & Sons (2005).

Levišauskait, Kristina. "Investment Analysis and Portfolio Management."Leonardo da Vinci programme project (2010).

Bauman, Mark P. "A review of fundamental analysis research in accounting."Journal of Accounting Literature 15 (1996): 1.

Edwards, Robert D., John Magee, and WH Charles Bassetti. Technical analysis of stock trends. CRC Press (2007).

Nuti, Giuseppe, et al. "Algorithmic trading." Computer 44.11 (2011): 61-69.

Glantz, Morton, and Robert Kissell. Multi-Asset Risk Modeling: Techniques for a Global Economy in an Electronic and Algorithmic Trading Era. Academic Press (2013).

https://doi.org/10.1016/b978-0-12-401690-3.00008-1

Hendershott, Terrence, Charles M. Jones, and Albert J. Menkveld. "Does algorithmic trading improve liquidity?" The Journal of Finance 66.1 (2011): 1-33. https://doi.org/10.1111/j.1540-6261.2010.01624.x

Chaboud, Alain P., et al. "Rise of the machines: Algorithmic trading in the foreign exchange market." The Journal of Finance 69.5 (2014): 2045-2084. https://doi.org/10.1111/jofi.12186

Tudball, Dan. "Quant Insights." Wilmott 2016.82 (2016): 27-30. https://doi.org/10.1002/wilm.10484

Brock, William, Josef Lakonishok, and Blake LeBaron. "Simple technical trading rules and the stochastic properties of stock returns." The Journal of finance 47.5 (1992): 1731-1764.

https://doi.org/10.1111/j.1540-6261.1992.tb04681.x

Atsalakis, George S., and Kimon P. Valavanis. "Surveying stock market forecasting techniques–Part II: Soft computing methods." Expert Systems with Applications 36.3 (2009): 5932-5941.

https://doi.org/10.1016/j.eswa.2008.07.006

Fama, Eugene F. "Random walks in stock market prices." Financial analysts journal 51.1 (1995): 75-80.

https://doi.org/10.2469/faj.v51.n1.1861

Shah, Vatsal H. "Machine learning techniques for stock prediction." Foundations of Machine Learning| Spring (2007).

Friedman, Jerome H. "Greedy function approximation: a gradient boosting machine." Annals of statistics (2001): 1189-1232.

Breiman, Leo. "Random forests." Machine learning 45.1 (2001): 5-32.

Geurts, Pierre, Damien Ernst, and Louis Wehenkel. "Extremely randomized trees." Machine learning 63.1 (2006): 3-42.

https://doi.org/10.1007/s10994-006-6226-1

Friedman, Jerome H. "Greedy function approximation: a gradient boosting machine." Annals of statistics (2001): 1189-1232.2.Tin Kam (1995); Random Decision Forest.

Li, Ping, Qiang Wu, and Christopher J. Burges. "Mcrank: Learning to rank using multiple classification and gradient boosting." Advances in neural information processing systems. (2007).

Geurts, Pierre, Damien Ernst, and Louis Wehenkel. "Extremely randomized trees." Machine learning 63.1 (2006): 3-42.

https://doi.org/10.1007/s10994-006-6226-1

Hendershott, Terrence, Charles M. Jones, and Albert J. Menkveld. "Does algorithmic trading improve liquidity?" The Journal of Finance 66.1 (2011): 1-33.

https://doi.org/10.1111/j.1540-6261.2010.01624.x

Boehmer, Ekkehart, Kingsley YL Fong, and Juan Julie Wu. "International evidence on algorithmic trading." AFA 2013 San Diego Meetings Paper. (2014).

Kimoto, Tatsuya, et al. "Stock market prediction system with modular neural networks." Neural Networks, 1990., 1990 IJCNN International Joint Conference on. IEEE (1990).

https://doi.org/10.1109/ijcnn.1990.137535

Elman, Jeffrey L. "Distributed representations, simple recurrent networks, and grammatical structure." Machine learning 7.2-3 (1991): 195-225.

https://doi.org/10.1007/bf00114844

Naeini, Mahdi Pakdaman, Hamidreza Taremian, and Homa Baradaran Hashemi. "Stock market value prediction using neural networks." Computer Information Systems and Industrial Management Applications (CISIM), 2010 International Conference on. IEEE (2010).

https://doi.org/10.1109/cisim.2010.5643675

Li, Y., Zheng, W. and Zheng, Z., 2019. Deep robust reinforcement learning for practical algorithmic trading. IEEE Access, 7, pp.108014-108022.

https://doi.org/10.1109/access.2019.2932789

Wang, W. and Yu, N., 2019, August. A machine learning framework for algorithmic trading with virtual bids in electricity markets. In 2019 IEEE Power & Energy Society General Meeting (PESGM) (pp. 1-5). IEEE.

https://doi.org/10.1109/pesgm40551.2019.8973750

Huang, Wei, Yoshiteru Nakamori, and Shou-Yang Wang. "Forecasting stock market movement direction with support vector machine." Computers & Operations Research 32.10 (2005): 2513-2522.

https://doi.org/10.1016/j.cor.2004.03.016

Shah, Vatsal H. "Machine learning techniques for stock prediction." Foundations of Machine Learning, Spring (2007).

Andersen, André Christoffer. A Novel Algorithmic Trading Framework Applying Evolution and Machine Learning for Portfolio Optimization. Diss. Master’s Thesis, Faculty of Social Science and Technology Management, Department of Industrial Economics and Technology Management (2012).

Shen, Shunrong, Haomiao Jiang, and Tongda Zhang. "Stock market forecasting using 65machine learning algorithms." (2012).

Lin, Yuling, Haixiang Guo, and Jinglu Hu. "An SVM-based approach for stock market trend prediction." IJCNN, The 2013 International Joint Conference, IEEE, (2013).

https://doi.org/10.1109/ijcnn.2013.6706743

Gupta, Abhishek, and Samidha D. Sharma. "Clustering-Classification Based Prediction of Stock Market Future Prediction." IJCSIT) International Journal of Computer Science and Information Technologies 5.3 (2014): 2806-2809.

Mark Dunne. “Stock Market Prediction”. University College Cork (2015).

Scikit-learn: Machine Learning in Python, Pedregosa et al., JMLR 12, pp. 2825-2830 (2011).

Jia, Hengjian. "Investigation Into The Effectiveness Of Long Short Term Memory Networks For Stock Price Prediction." arXiv preprint arXiv:1603.07893 (2016).




DOI: https://doi.org/10.31449/inf.v44i3.2904

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.