Improved Stock Price Prediction by Integrating Data Mining Algorithms and Technical Indicators: A Case Study on Dhaka Stock Exchange

  • Syeda Shabnam Hasan
  • Rashida Rahman
  • Noel Mannan
  • Haymontee Khan
  • Jebun Nahar Moni
  • Rashedur M. RahmanEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10448)


This paper employs a number of machine learning algorithms to predict the future stock price of Dhaka Stock Exchange. The outcomes of the different machine learning algorithms are combined to form an ensemble to improve the prediction accuracy. In addition, two popular and widely used technical indicators are combined with the machine learning algorithms to further improve the prediction performance. To evaluate the proposed techniques, historical price and volume data over the past 15 months of three prominent stocks enlisted in Dhaka Stock Exchange are collected, which are used as training and test data for the algorithms to predict the 1-day, 1-week and 1-month-ahead prices of these stocks. The predictions are made both on training and test data sets and results are compared with other existing machine learning algorithms. The results indicate that the proposed ensemble approach as well as the combination of technical indicators with the machine learning algorithms can often provide better results, with reduced overall prediction error compared to many other existing prediction algorithms.


Stock prediction Machine learning Regression algorithms Time series forecast Technical indicators 


  1. 1.
    Kim, K.: Financial time series forecasting using support vector machines. Neurocomputing 55, 307–319 (2003)CrossRefGoogle Scholar
  2. 2.
    Lu, C., Chang, C., Chen, C., Chiu, C., Lee, T.: Stock index prediction: a comparison of MARS, BPN and SVR in an emerging market. In: Proceedings of the IEEE IEEM, pp. 2343–2347 (2009)Google Scholar
  3. 3.
    Lucas, K., Lai, C., James, N., Liu, K.: Stock forecasting using support vector machine. In: Proceedings of the Ninth International Conference on Machine Learning and Cybernetics, pp. 1607–1614 (2010)Google Scholar
  4. 4.
    Ince, H., Trafalis, T.B.: Kernel principal component analysis and support vector machines for stock price prediction, pp. 2053–2058 (2004)Google Scholar
  5. 5.
    Kannan, K.S., Sekar, P.S., Sathik, M.M., Arumugam, P.: Financial stock market forecast using data mining techniques. In: Proceedings of the International Multiconference of Engineers and Computer Scientists, pp. 555–559 (2010)Google Scholar
  6. 6.
    Hu, Y., Pang, J.: Financial crisis early warning based on support vector machine. In: International Joint Conference on Neural Networks, pp. 2435–2440 (2008)Google Scholar
  7. 7.
    Chen, K.-Y., Ho, C.-H.: An improved support vector regression modeling for Taiwan Stock Exchange market weighted index forecasting. In: The IEEE International Conference on Neural Networks and Brain, pp. 1633–1638 (2005)Google Scholar
  8. 8.
    Xue-shen, S., Zhong-ying, Q., Da-ren, Y., Qing-hua, H., Hui, Z.: A novel feature selection approach using classification complexity for SVM of stock market trend prediction. In: 14th International Conference on Management Science & Engineering, pp. 1654–1659 (2007)Google Scholar
  9. 9.
    Debasish, B., Srimanta, P., Dipak, C.P.: Support vector regression. Neural Inf. Process. Lett. Rev. 11(10), 203–224 (2007)Google Scholar
  10. 10.
    Hsu, C.-W., Chang, C.-C., Lin, C.-J.: A practical guide to support vector classification. Initial version: 2003, last updated version: 2010Google Scholar
  11. 11.
    Kazema, A., Sharifia, E., Hussainb, F.K., Saberic, M., Hussaind, O.K.: Support vector regression with chaos-based firefly algorithm for stock market price forecasting. Appl. Soft Comput. 13, 947–958 (2013)CrossRefGoogle Scholar
  12. 12.
    Ballings, M., Van den Poel, D., Hespeels, N., Gryp, R.: Evaluating multiple classifiers for stock price direction prediction. Expert Syst. Appl. Int. J. 42(20), 7046–7056 (2015)CrossRefGoogle Scholar
  13. 13.
    Billah, M., Waheed, S., Hanifa, A.: Predicting closing stock price using artificial neural network and adaptive neuro-fuzzy inference system (ANFIS): the case of the Dhaka Stock Exchange. Int. J. Comput. Appl. (0975-8887) 129(11), 1–5 (2015)Google Scholar
  14. 14.
    Shadman, A.I., Towqir, S.S., Akif, M.A., Imtiaz, M., Rahman, R.M.: Cluster analysis, classification and forecasting tool on DS30 for better investment decision. In: Akagi, M., Nguyen, T.-T., Vu, D.-T., Phung, T.-N., Huynh, V.-N. (eds.) ICTA 2016. AISC, vol. 538, pp. 197–206. Springer, Cham (2017). doi: 10.1007/978-3-319-49073-1_22CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Syeda Shabnam Hasan
    • 1
  • Rashida Rahman
    • 1
  • Noel Mannan
    • 1
  • Haymontee Khan
    • 1
  • Jebun Nahar Moni
    • 1
  • Rashedur M. Rahman
    • 1
    Email author
  1. 1.North South UniversityDhakaBangladesh

Personalised recommendations