Application of Machine Learning With News Sentiment in Stock Trading Strategies

  • Lin T
  • Yu J
  • Chen J
  • et al.
N/ACitations
Citations of this article
9Readers
Mendeley users who have this article in their library.

Abstract

This study empirically tested the feasibility of machine learning in trading strategies using technical indicators and news information as the feature variables for machine learning. Six indicators were adopted in this study, including moving average (MA), moving average convergence/divergence (MACD), relative strength index (RSI), stochastic oscillator (KD), and on-balance volume (OBV), and news sentiment ratio (SR) developed in this study via text mining. Selected machine learning models, including support vector machine (SVM), eXtreme Gradient Boosting (XGBoost), recurrent neural network (RNN), and long short-term memory (LSTM), were also employed for investigation. This study backtested the daily historical data of the constituent stocks in the Taiwan Top 50 ETF from January 1, 2003, to December 31, 2018, using three categories of trading strategies along with conventional and countertrend operations. The following conclusions were drawn after analyzing the performance of these trading strategies via various means: 1. Technical indicators such as MA, MACD, and RSI performed poorly in most cases. 2. Specific parameters were of relative importance to several technical indicators, including MA, MACD, RSI, and OBV. 3. OBV was a technical indicator with a positive impact on trading strategies. 4. The machine learning-based XGBoost models were able to outperform trading strategies with technical indicators under specific scenarios. 5. SR, the news sentiment ratio developed in this study, could not significantly improve the performance of machine learning models. The empirical results of this study suggest that these machine-learning models are capable of analyzing long-term stock price movements to some extent.

Cite

CITATION STYLE

APA

Lin, T.-M., Yu, J.-L., Chen, J.-W., & Huang, C.-S. (2023). Application of Machine Learning With News Sentiment in Stock Trading Strategies. International Journal of Financial Research, 14(3), 1. https://doi.org/10.5430/ijfr.v14n3p1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free