How Is a Machine Learning Algorithm Now-Casting Stock Returns? A Test for ASELSAN

  • Engin SorhunEmail author
Part of the Contributions to Economics book series (CE)


This paper focus on measuring the performance of algortimic trading in now-casting of stock returns using machine learning technics. For this task, (1) nine commonly used trend indicators to capture the behavior of the stock and a binary variable to signal positive/negative returs are used as predictors and target variable, respectively; (2) the standart machine learning process (splitting data, choosing the best performing algorithm among the alternatives, and testing this algorithm for new data) is applied to ASELSAN (a Turkish defense industry company) stock traded in BIST-100. The main findings are: (1) the decission tree algoritm performs better than K-nearest Neighbours, Logistic Regression, Bernoili Naïve Bayes alternatives; (2) the now-casting model allowed to realize an 18% of yield over the test period; (3) the model’s performance metrics (accuracy, precision, recall, f1 scores and the ROC-AUC curve) that are commonly used for classification models in machine learning takes values just in the acceptance boundary.


  1. Achelis, S. B. (2001). Technical analysis from A to Z. New York: McGraw Hill.Google Scholar
  2. Álvaro, C., Sebastian, J., & Damir, K. (2016). Algorithmic trading with learning. International Journal of Theoretical and Applied Finance, 19(4), 1650028.CrossRefGoogle Scholar
  3. Berutich, J. M., López, F., Luna, F., & Quintana, D. (2016). Robust technical trading strategies using GP for algorithmic portfolio selection. Expert Systems with Applications, 46, 307–315.CrossRefGoogle Scholar
  4. Boming, H., Yuxiang, H., Li, D. H., Lirong, Z., & Zhuo, Z. (2019). Automated trading systems statistical and machine learning methods and hardware implementation: A survey. Enterprise Information Systems, 13(1), 132–144.CrossRefGoogle Scholar
  5. Bragoli, D. (2017). Now-casting the Japanese economy. International Journal of Forecasting, 33(2), 390–402.CrossRefGoogle Scholar
  6. Brian, M. W. (2018). Does algorithmic trading reduce information acquisition? The Review of Financial Studies, 31(6), 2184–2226.CrossRefGoogle Scholar
  7. Brogaard, J., Hendershott, T., & Riordan, R. (2014). High-frequency trading and price discovery. Review of Financial Studies, 27(8), 2267–2306.CrossRefGoogle Scholar
  8. Carrion, A. (2013). Very fast money: High-frequency trading on the NASDAQ. Journal of Financial Markets, 16, 680–711.CrossRefGoogle Scholar
  9. Caruso, A. (2018). Nowcasting with the help of foreign indicators: The case of Mexico. Economic Modelling, 69, 160–168.CrossRefGoogle Scholar
  10. D’Agostino, A., Giannone, D., Lenza, M., & Modugno, M. (2016). Nowcasting business cycles: A Bayesian approach to dynamic heterogeneous factor models. In E. Hillebrand & S. J. Koopman (Eds.), Dynamic factor models (Advances in econometrics, Vol. 35) (pp. 569–594). Bingley: Emerald Group Publishing Limited.CrossRefGoogle Scholar
  11. Dahlhaus, T., Guénette, J., & Vasishtha, G. (2017). Nowcasting BRIC+M in real time. International Journal of Forecasting, 33(4), 915–935.CrossRefGoogle Scholar
  12. Edward, S. K., & Safeed, Z. (2017). Nowcasting U.S. headline and core inflation. Journal of Money, Credit and Banking, 49(5), 931–968.CrossRefGoogle Scholar
  13. Foroni, C., & Massimiliano, M. (2013). A survey of econometric methods for mixed frequency data. Norges Bank Working Paper No. 2013-06.Google Scholar
  14. Funke, M., Mehrotra, A., & Yu, H. (2015, June). Tracking Chinese CPI inflation in real time. Empirical Economics, 48(4), 1619–1641.CrossRefGoogle Scholar
  15. Giannone, D., Reichlin, L., & Small, D. (2008). Nowcasting: The real-time informational content of macroeconomic data. Journal of Monetary Economics, 55(4), 665–676.CrossRefGoogle Scholar
  16. Gilberta, T., Scottib, C., Strasserc, G., & Vegab, C. (2017). Is the intrinsic value of a macroeconomic news announcement related to its asset price impact? Journal of Monetary Economics, 92, 78–95.CrossRefGoogle Scholar
  17.  Global Algorithmic Trading Market Report 2016–2020. Retrieved from
  18. Hirschey, N. (2017). Do high-frequency traders anticipate buying and selling pressure? FCA Occasional Paper No:16-2017.Google Scholar
  19. Hu, Y., Liu, K., Zhang, X., Sub, L., Ngai, E. W. T., & Liu, M. (2015). Application of evolutionary computation for rule discovery in stock algorithmic trading: A literature review. Applied Soft Computing, 36(2015), 534–551.CrossRefGoogle Scholar
  20. Huang, B., Huan, Y., Xu, L. D., Zheng, L., & Zou, Z. (2019). Automated trading systems statistical and machine learning methods and hardware implementation: A survey. Enterprise Information Systems, 13(1), 132–144.CrossRefGoogle Scholar
  21. Lo, A. W., Mamaysky, H., & Wang, J. (2000). Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation. The Journal of Finance, 55(4), 1705–1765.CrossRefGoogle Scholar
  22. Marta, B., Domenico G., Modugno, M., & Reichlin L. (2013). Now-casting and the real-time data flow. Working Paper Series NO 1564/july 2013. Retrieved from
  23. Modugno, M., Soybilgen, B., & Yazgan, E. (2016). Nowcasting Turkish GDP and news decomposition. International Journal of Forecasting, 32(4), 1369–1384.CrossRefGoogle Scholar
  24. Narang, K. (2009). Inside the black box: The simple truth about quantitative trading (1st ed.). Hoboken, NJ: Wiley.CrossRefGoogle Scholar
  25. Park, C. H., & Irwin, S. H. (2007). What do we know about the profitability of technical analysis? Journal of Economic Surveys, 21(4), 786–826.CrossRefGoogle Scholar
  26. Treleaven, P., Galas, M., & Lalchand, V. (2013). Algorithmic trading review. CACM, 56(11), 76–85.CrossRefGoogle Scholar
  27. Upson, J., & Van Ness, R. A. (2017). Multiple markets, algorithmic trading, and market liquidity. Journal of Financial Markets, 32, 49–68.CrossRefGoogle Scholar
  28. Yadav, Y. (2015). How algorithmic trading undermines efficiency in capital markets. Vanderbilt Law Review, 68(6), 1607–1671.Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Economicsİstanbul 29 Mayis UniversityUmraniye/IstanbulTurkey

Personalised recommendations