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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.