Mining Textual Terms for Stock Market Prediction Analysis Using Financial News Asyraf Safwan Ab. Rahman, Shuzlina Abdul-Rahman (&) , and Soanita Mutalib Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia asysafwan@gmail.com, {shuzlina,sofi}@tmsk.uitm.edu.my Abstract. This study focuses on the use of machine learning algorithms to construct a model that can predict the movements of Bursa Malaysia stock prices. In this research, we concentrate on linguistics terms from nancial news that can contribute movements of the prices. Our aim is to develop a prototype that can classify sentiments towards nancial news for investment decision. We experimented with ve blue-chip companies from different industries of the top market constituents in Bursa Malaysia KLCI. A total of 14,992 nance articles were crawled and used as the dataset. Support Vector Machine algorithm was employed and the accuracy recorded was at 56%. The ndings of this research can be used to assist investors in investment decision making. Keywords: Bursa Malaysia Sentiment analysis Stock market prediction Support Vector Machine Text mining 1 Introduction Stock markets are where public companies issue or trade their shares on either exchanges or over-the-counter markets. Stock prices are determined by the supply and demand of a particular stock. Understandably, it can be argued that stock markets cannot be entirely predicted. Changes in these markets are often associated with the sentiments of an investor. In predicting stock markets, there are two analysis used, which are fundamental analysis and technical analysis. Fundamental analysis focuses on studying the business, competitors, and markets. Technical analysis, on the other hand, focuses on analyzing historical prices to determine the direction of stock prices [11]. Fundamental analysis is concerned with the availability of quantitative or qual- itative information to investors in driving investment decisions. News articles may carry useful information to market participants and by using fundamental analysis, an investment decision can be made. Basically, these articles usually come verbosely and lengthy in textual representation, thus extracting patterns manually can be time-consuming. There is a correlation between uctuating stock prices and the publication of nancial news [5]. Thus, changes in any stock market can be attributed to the publication of news. However, it is dif cult to predict stock prices from textual data [12]. © Springer Nature Singapore Pte Ltd. 2017 A. Mohamed et al. (Eds.): SCDS 2017, CCIS 788, pp. 293305, 2017. https://doi.org/10.1007/978-981-10-7242-0_25