How Is a Machine Learning Algorithm Now-Casting Stock Returns? A Test for ASELSAN
Abstract
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.
References
- Achelis, S. B. (2001). Technical analysis from A to Z. New York: McGraw Hill.Google Scholar
- Álvaro, C., Sebastian, J., & Damir, K. (2016). Algorithmic trading with learning. International Journal of Theoretical and Applied Finance, 19(4), 1650028.CrossRefGoogle Scholar
- 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
- 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
- Bragoli, D. (2017). Now-casting the Japanese economy. International Journal of Forecasting, 33(2), 390–402.CrossRefGoogle Scholar
- Brian, M. W. (2018). Does algorithmic trading reduce information acquisition? The Review of Financial Studies, 31(6), 2184–2226.CrossRefGoogle Scholar
- Brogaard, J., Hendershott, T., & Riordan, R. (2014). High-frequency trading and price discovery. Review of Financial Studies, 27(8), 2267–2306.CrossRefGoogle Scholar
- Carrion, A. (2013). Very fast money: High-frequency trading on the NASDAQ. Journal of Financial Markets, 16, 680–711.CrossRefGoogle Scholar
- Caruso, A. (2018). Nowcasting with the help of foreign indicators: The case of Mexico. Economic Modelling, 69, 160–168.CrossRefGoogle Scholar
- 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
- Dahlhaus, T., Guénette, J., & Vasishtha, G. (2017). Nowcasting BRIC+M in real time. International Journal of Forecasting, 33(4), 915–935.CrossRefGoogle Scholar
- 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
- Foroni, C., & Massimiliano, M. (2013). A survey of econometric methods for mixed frequency data. Norges Bank Working Paper No. 2013-06.Google Scholar
- Funke, M., Mehrotra, A., & Yu, H. (2015, June). Tracking Chinese CPI inflation in real time. Empirical Economics, 48(4), 1619–1641.CrossRefGoogle Scholar
- 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
- 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
- Global Algorithmic Trading Market Report 2016–2020. Retrieved from https://www.technavio.com/report/global-algorithmic-trading-market-analysis-share-2018
- Hirschey, N. (2017). Do high-frequency traders anticipate buying and selling pressure? FCA Occasional Paper No:16-2017.Google Scholar
- 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
- 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
- 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
- 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 https://www.econstor.eu/bitstream/10419/153997/1/ecbwp1564.pdf
- Modugno, M., Soybilgen, B., & Yazgan, E. (2016). Nowcasting Turkish GDP and news decomposition. International Journal of Forecasting, 32(4), 1369–1384.CrossRefGoogle Scholar
- Narang, K. (2009). Inside the black box: The simple truth about quantitative trading (1st ed.). Hoboken, NJ: Wiley.CrossRefGoogle Scholar
- 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
- Treleaven, P., Galas, M., & Lalchand, V. (2013). Algorithmic trading review. CACM, 56(11), 76–85.CrossRefGoogle Scholar
- Upson, J., & Van Ness, R. A. (2017). Multiple markets, algorithmic trading, and market liquidity. Journal of Financial Markets, 32, 49–68.CrossRefGoogle Scholar
- Yadav, Y. (2015). How algorithmic trading undermines efficiency in capital markets. Vanderbilt Law Review, 68(6), 1607–1671.Google Scholar