Article Main Content

Models of stock price prediction have customarily utilized technical indicators alone to produce trading signals. In this paper, we construct trading techniques by applying machine-learning methods to technical analysis indicators and stock market returns data. The resulting prediction models can be utilized as an artificial trader used to trade on any given stock trade. Here the issue of stock trading decision prediction is enunciated as a classification problem with two class values representing the buy and sell signals. The stacking technique utilized in this paper is to assist trader with applying the proposed algorithms in their trading using random forest which was staked with different algorithms which incorporates Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM) and Neural Network (NN). The experimental results indicated that Top Layer of Random Forest (TRF) produced the best performance among all the algorithms compared. This is an indication that it is a promising strategy for forecasting Nigerian stock returns.

References

  1. Amin Hedayati Moghaddama, Moein Hedayati Moghaddamb and Morteza Esfandyari, ?Stock market index prediction using artificial neural network?, Journal of Economics, Finance and Administrative Science, vol. 21, pp. 89 ? 93, 2016
     Google Scholar
  2. Appel, Gerald, ?Technical Analysis Power Tools for Active Investors?. Financial Times, Prentice Hall. pp. 166, 1999.
     Google Scholar
  3. J. Berkson, ?Application of the logistic function to bio-assay?. Journal of the American Statistical Association, vol. 39, issue 227, 357-365, 1944.
     Google Scholar
  4. Bruno Miranda Henrique, Vinicius Amorim Sobreiro and Herbert Kimura, ?Stock price prediction using support vector regression on daily and up to the minute prices?, The Journal of finance and data science, vol. 4, pp. pp. 183-201, 2018.
     Google Scholar
  5. D.E. Goldberg, Genetic algorithms in search, optimization and machine learning, Addison-Wesley, New York, 1989
     Google Scholar
  6. J.H. Holland, Adaptation in Natural and Artificial Systems, University of Michigan Press, Ann Arbor, MI,1975
     Google Scholar
  7. Johnson, N.F., P. Jefferies and P.M. Hui, Financial Market Complexity, Oxford U. Press, N.Y., 2003
     Google Scholar
  8. Joseph E. Granville, Granville's New Strategy of Daily Stock Market Timing for Maximum Profit, Prentice-Hall, Inc., 1976.
     Google Scholar
  9. Labs, F. (2016). FM Labs Indicator Reference. Retrieved from http://www.fmlabs.com/reference/
     Google Scholar
  10. Luckyson Khaidem Snehanshu Saha and Sudeepa Roy Dey, ?Predicting the direction of stock market prices using random forest?, Applied Mathematics Finance, pp. 1-20, 2016.
     Google Scholar
  11. Martin J. Pring. Technical Analysis Explained, (3rd ed.). McGrawHill, 1991
     Google Scholar
  12. Menon V. K., Vasireddy N. C., Jami S. A., Pedamallu V. T. N., Sureshkumar V., and Soman K. P. ?Bulk Price Forecasting Using Spark over NSE Data Set.? In International Conference on Data Mining and Big Data, pp. 137-146, 2016.
     Google Scholar
  13. Moghaddam A. H., Moghaddam M. H., and Esfandyari M. ?Stock market index prediction using artificial neural network.? Journal of Economics, Finance and Administrative Science, vol. 21, issue 41, pp. 89 ? 93, 2016.
     Google Scholar
  14. Murphy, John J. (1999). John Murphy's Ten Laws of Technical Trading (http://stockcharts. com/ school/ doku. php?id= chart_school: trading_strategies: john_murphy_s_ten_laws.
     Google Scholar
  15. Osman Hegazy, Omar S. Soliman and Mustafa Abdul Salam, ?A Machine Learning Model for Stock Market Prediction?, International Journal of Computer Science and Telecommunications, vol. 4, pp. 17 ? 23, 2013.
     Google Scholar
  16. Pablo D. Robles-Granda and Ivan V. Belik (2010), ?A Comparison of Machine Learning Classifiers Applied to Financial Datasets?, Proceedings of the World Congress on Engineering and Computer Science 2010, Vol I, pp. 1-6, 2010.
     Google Scholar
  17. Ripley, B. D., (1996). Pattern Recognition and Neural Networks. Cambridge University Press.
     Google Scholar
  18. S.B. Achelis, Technical Analysis from A to Z, Probus Publishing, Chicago, 1995.
     Google Scholar
  19. Shipra Banik, A. F. M. Khodadad Khan, and Mohammad Anwer, ?Hybrid Machine Learning Technique for Forecasting Dhaka Stock Market Timing Decisions?, Hindawi Publishing Corporation Computational Intelligence and Neuroscience, vol. 2014, pp. 1 ? 7, 2014.
     Google Scholar
  20. H. Wang and A. S. Weigend (2004), ?Data mining for financial decision making?, Journal Decision Support Systems, vol. 37, issue 4 , 457-460, 2004.
     Google Scholar
  21. V. Vapnik, Statistical learning theory, New York: Wiley, pp. 736, 1998.
     Google Scholar