Decision model, sentiment analysis, classification. DECISION SCIENCES INSTITUTE A Hybird Model for Stock Prediction

Similar documents
Stock Trading Following Stock Price Index Movement Classification Using Machine Learning Techniques

Stock Price Prediction using Recurrent Neural Network (RNN) Algorithm on Time-Series Data

The Use of Artificial Neural Network for Forecasting of FTSE Bursa Malaysia KLCI Stock Price Index

Available online at ScienceDirect. Procedia Computer Science 61 (2015 ) 85 91

A Dynamic Hedging Strategy for Option Transaction Using Artificial Neural Networks

Performance analysis of Neural Network Algorithms on Stock Market Forecasting

A COMPARATIVE STUDY OF DATA MINING TECHNIQUES IN PREDICTING CONSUMERS CREDIT CARD RISK IN BANKS

A Big Data Analytical Framework For Portfolio Optimization

OPENING RANGE BREAKOUT STOCK TRADING ALGORITHMIC MODEL

Cognitive Pattern Analysis Employing Neural Networks: Evidence from the Australian Capital Markets

Statistical and Machine Learning Approach in Forex Prediction Based on Empirical Data

Improving Stock Price Prediction with SVM by Simple Transformation: The Sample of Stock Exchange of Thailand (SET)

An Improved Approach for Business & Market Intelligence using Artificial Neural Network

AN ARTIFICIAL NEURAL NETWORK MODELING APPROACH TO PREDICT CRUDE OIL FUTURE. By Dr. PRASANT SARANGI Director (Research) ICSI-CCGRT, Navi Mumbai

Tradespoon MetaStock Add-on

Stock Prediction Using Twitter Sentiment Analysis

STOCK MARKET PREDICTION AND ANALYSIS USING MACHINE LEARNING

International Journal of Computer Engineering and Applications, Volume XII, Issue II, Feb. 18, ISSN

Multi-factor Stock Selection Model Based on Kernel Support Vector Machine

International Journal of Computer Engineering and Applications, Volume XII, Issue II, Feb. 18, ISSN

COGNITIVE LEARNING OF INTELLIGENCE SYSTEMS USING NEURAL NETWORKS: EVIDENCE FROM THE AUSTRALIAN CAPITAL MARKETS

Research on Enterprise Financial Management and Decision Making based on Decision Tree Algorithm

2015, IJARCSSE All Rights Reserved Page 66

An introduction to Machine learning methods and forecasting of time series in financial markets

Naïve Bayesian Classifier and Classification Trees for the Predictive Accuracy of Probability of Default Credit Card Clients

Introducing GEMS a Novel Technique for Ensemble Creation

Prediction of Stock Closing Price by Hybrid Deep Neural Network

Forecasting stock market prices

Academic Research Review. Algorithmic Trading using Neural Networks

An Application of Decision Trees in the Developing of Decision Model for Investing in the Stock Exchange of Thailand

Price Pattern Detection using Finite State Machines with Fuzzy Transitions

Option Pricing Using Bayesian Neural Networks

Professional vs. Non-Professional Investors: A Comparative study into the usage of Investment Tools

An Approach to Identify a Model for Efficient Prediction of Exchange Rates Using Setty Volatile Index (SVI)

Journal of Internet Banking and Commerce

A Novel Prediction Method for Stock Index Applying Grey Theory and Neural Networks

Artificially Intelligent Forecasting of Stock Market Indexes

An enhanced artificial neural network for stock price predications

Intelligent Computation Applied to Mutual Fund Investment: A Genetic Algorithms Approach

International Journal of Computer Science Trends and Technology (IJCST) Volume 5 Issue 2, Mar Apr 2017

Barapatre Omprakash et.al; International Journal of Advance Research, Ideas and Innovations in Technology

Classification of Capital Expenditures and Revenue Expenditures: An Analysis of Correlation and Neural Networks

Stock Market Predictor and Analyser using Sentimental Analysis and Machine Learning Algorithms

A Fuzzy based Soft Computing Technique to Predict the Movement of the Price of a Stock

ISSN: (Online) Volume 4, Issue 2, February 2016 International Journal of Advance Research in Computer Science and Management Studies

Neuro-Genetic System for DAX Index Prediction

THE DETERMINANTS OF FINANCIAL HEALTH IN THAILAND: A FACTOR ANALYSIS APPROACH

Stock Price and Index Forecasting by Arbitrage Pricing Theory-Based Gaussian TFA Learning

Role of soft computing techniques in predicting stock market direction

A Novel Method of Trend Lines Generation Using Hough Transform Method

Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

International Journal of Advance Engineering and Research Development. Stock Market Prediction Using Neural Networks

Quantitative investment Based on Artificial Neural Network Algorithm

A New Method Based on Clustering and Feature Selection for Credit Scoring of Banking Customers Seyedeh Maryam Anaei 1 and Mohsen Moradi 2

Alpha-Beta Soup: Mixing Anomalies for Maximum Effect. Matthew Creme, Raphael Lenain, Jacob Perricone, Ian Shaw, Andrew Slottje MIRAJ Alpha MS&E 448

A DECISION SUPPORT SYSTEM FOR HANDLING RISK MANAGEMENT IN CUSTOMER TRANSACTION

The Countermeasures Research on the Issues of Enterprise Financial Early Warning System

ARTIFICIAL NEURAL NETWORK SYSTEM FOR PREDICTION OF US MARKET INDICES USING MISO AND MIMO APROACHES

Accepted Manuscript. Enterprise Credit Risk Evaluation Based on Neural Network Algorithm. Xiaobing Huang, Xiaolian Liu, Yuanqian Ren

International Journal of Computer Engineering and Applications, Volume XII, Issue I, Jan. 18, ISSN

Stock market price index return forecasting using ANN. Gunter Senyurt, Abdulhamit Subasi

Bond Market Prediction using an Ensemble of Neural Networks

Stock Market Prediction with Various Technical Indicators Using Neural Network Techniques

STOCK PRICE PREDICTION: KOHONEN VERSUS BACKPROPAGATION

Application of Support Vector Machine on Algorithmic Trading

A.K.Singh. Keywords Ariticial neural network, backpropogation, soft computing, forecasting

Keyword: Risk Prediction, Clustering, Redundancy, Data Mining, Feature Extraction

Using Hierarchical Correlation in Macro-Economic Market for Taiwan Stock Market Analysis

SURVEY OF MACHINE LEARNING TECHNIQUES FOR STOCK MARKET ANALYSIS

Development and Performance Evaluation of Three Novel Prediction Models for Mutual Fund NAV Prediction

IJMSS Vol.03 Issue-06, (June, 2015) ISSN: International Journal in Management and Social Science (Impact Factor )

SpringerBriefs in Applied Sciences and Technology

Decision Support System for Investment in Stock Market using OAA-SVM

Can Twitter predict the stock market?

FORECASTING THE S&P 500 INDEX: A COMPARISON OF METHODS

The Use of Neural Networks in the Prediction of the Stock Exchange of Thailand (SET) Index

Predicting stock prices for large-cap technology companies

STOCK MARKET TRENDS PREDICTION USING NEURAL NETWORK BASED HYBRID MODEL

Stock Market Analysis Using Artificial Neural Network on Big Data

Health Insurance Market

ALGORITHMIC TRADING STRATEGIES IN PYTHON

Exploiting Corporate Governance and Common-Size Analysis for Financial Distress Detecting Models

Forecasting System Approach for Stock Trading with Relative Strength Index and Moving Average Indicator

Neural Network Prediction of Stock Price Trend Based on RS with Entropy Discretization

International Journal of Management and Social Science Research Review, Vol.1, Issue.18, Dec Page 61

Prediction of stock price developments using the Box-Jenkins method

TECHNICAL ANALYSIS OF FUZZY METAGRAPH BASED DECISION SUPPORT SYSTEM FOR CAPITAL MARKET

A Review of Artificial Neural Network Applications in Control. Chart Pattern Recognition

Corresponding Author: * M. Anitha

ECONOMIC PERFORMANCE ANALYSIS OF THE AUSTRALIAN PROPERTY SECTOR USING INPUT-OUTPUT TABLES. YU SONG and CHUNLU LIU Deakin University

Iran s Stock Market Prediction By Neural Networks and GA

Predicting Market Fluctuations via Machine Learning

MARKET REVIEW - DECEMBER

A Comparative Study of Ensemble-based Forecasting Models for Stock Index Prediction

Forecasting the direction of stock market index movement using three data mining techniques: the case of Tehran Stock Exchange

Currency Crises Prediction with Rough Set Theory

Neuro Fuzzy based Stock Market Prediction System

Predictive Risk Categorization of Retail Bank Loans Using Data Mining Techniques

A Principal Component Approach to Measuring Investor Sentiment in Hong Kong

Two kinds of neural networks, a feed forward multi layer Perceptron (MLP)[1,3] and an Elman recurrent network[5], are used to predict a company's

Transcription:

DECISION SCIENCES INSTITUTE A Hybird Model for Stock Prediction Si Yan Illinois Institute of Technology syan3@iit.edu Yanliang Qi New Jersey Institute of Technology yq9@njit.edu ABSTRACT In this paper, we focus on the topic stock prediction in e-finance area. We proposed a hybrid model to predict stock price change. We classified the stock price change as two classes, up and down. Also, the training data set in our model is not universal. We applied opinion mining technique to get the opinion on current stock market condition. Different stock market condition has the different type of training data set, bullish, bearish or neutral. We run the experiment on technical indicator, RSI. The results showed the limitation of traditional technical analysis model and the effectiveness of our model. KEYWORDS: Stock market prediction, sentimental analysis, classification INTRODUCTION In recent years, stock prediction has become one of the hottest topics in e-finance area. There has been a rapid growing interest in applying artificial intelligence technique to predict the stock price. The data sources are usually from two types, fundamental analysis and technical analysis. Most of the studies focus on building the model based on the technical indicators, such as SMA (Simple Moving Average), OBV (On Balance Volume), RSI (Relative Strength Index). Recently, the role of web sentiment on stock prediction also attracts the researchers notice. In this paper, we proposed a new hybrid model on stock prediction. This hybrid model covers not only technical analysis, but also the fundamental analysis, and furthermore, the sentimental analysis. We define the sentimental analysis as the third type of data source on stock prediction, paralleled with fundamental analysis and technical analysis. The sentimental analysis focused on the sentiment from investors. The source of sentiment could be from news websites, personal blogs, user forum, etc. The stock price change could be treated as two classes, up and down. Based on this idea, we use classification technique to predict the stock price change. The novelty of this model is also from its training data set. We use the combined analysis (fundamental, technical and sentimental) to decide the market trend, bullish, bearish or neutral. Under different market trend, there will be different training data set. This idea will definitely increase the accuracy on stock prediction. The structure of this paper is as the following, section 2 is the related work in stock prediction area. Our proposed model will be in section 3. We will run the experiment in section 4 to show the limitations of traditional model. The last section is our conclusion. RELATED WORK

Many researchers have been working on stock prediction area. In this section, we will pick up some studies in this area. Phua and Lin [1] provided a study of the Stock Exchanges of Singapore (SES). The assumption of their study was that there is a positive correlation with the movement of Straits Times Index (STI). They believed the prediction of STI will be very helpful for trading stocks in SES. They used genetically evolved neural networks to predict the stock price and got 81% accuracy on market direction. Kwon and Moon [2] proposed a hybrid neurogenetic system, a recurrent neural network, for stock trading. The input was the technical indicators used by financial experts. Genetic algorithm was used to optimize the parameters. The experiments were based on 36 companies in NYSE and NASDAQ for 13 years from 1992 to 2004. Their method showed notable improvement on the average on the buy-and-hold strategy. Ren et.al [3] proposed a model basedon C4.5 decision tree for stock prediction based on fundamental stock data. The results showed that the generated rules have exceptional predictive performance. Schierholt and Dagli [4] proposed a method on the prediction on index. They built a multiplayer perception architecture and probabilistic neural network are used to predict the incline, decline and steadlineess of the S&P index. The results showed that the probabilistic neural network performed slightly better than the multi-layer perception. Thawornwong et al. [5] presented a study on the performance of neural network on the stock market prediction. They input the technical indicators into the neural network to get the more accurate stock trend predictions. Lee [6] proposed an intelligent agent-based stock prediction system ijade stock advisor, to predict the stock performance. ijade used a hybrid radial basis-function recurrent network (HRBFN). The data source is from 10 year stock information (1990-1999), with 33 companies on the HONG KONG market. The results showed that ijade achieved promising performance on efficiency and accuracy. Sapena [7] et al. talked about the stock prediction on pool company, which is made of several distribution warehouses in different locations. They used artificial neural networks to get the accurate prediction. Their method could help the pool company reduce material in storage Han and Chen [8] built a model based on SVM method and selected Gaussian radial basis function (RBF) as the kernel function. The results showed that their method meets both the accuracy requirements and stockholder s expection. Klassen [9] provided an investigation of some technical indexes, such as RSI, for predicting the stock price. The method used was Levenberg-Marquardt algorithm. The above studies are based on the technical analysis. All the input data are technical indicators. The following case is based on sentimental analysis. This is a different way on stock prediction area. Sehgal and Song [10] proposed a model on stock prediction by using not technical indicator, but using web sentiment. They calculate the trust value of each publishers on web and finally to predict the stock value. PROPOSED MODEL As we know, the quality of trading data set is very important in artificial intelligence study.

One big limitation stock prediction model based on technical analysis is from the data source. Supposed that the data source of training data set on your model is from 1990-2004, if you use this model to predict a technical stock, you will get the inaccurate prediction. In 1999, there is an IT fever; while in 2001, there is IT recession. How could you predict a stock based on the data set with such a big different background? You must find the appropriate data set as your training data set, which means your stock market condition of training data set must fit the current market condition. Otherwise, your prediction will be in the wrong way. Based on this idea, we build this hybrid model Figure 1. Hybrid Model We use opinion mining technique to decide the market condition. We collect the opinions from news websites, personal blogs, user forum, etc. The customers can make decision on the collected opinions. And then, they can pick the type of training data set, like bullish, bearish or neutral. Also, the customers can select the technical indicators which they thought important to build the model. Finally, the system will pop up the decision on stock price change. EXPERIMENT In this section, we run an experiment to show the limitation of prediction based technical analysis.

We picked C (Citi group) as the test security. The period of data source is from Sep, 2008 to Apr, 2009. In this period, the financial crisis happened. The sentiment of the market is bearish. So we use bearish dataset as training dataset. The fundamental analysis, like P/E ratio, ROI, cash flow, insider transactions, etc., will help us determine if this company is in good track, so decide if continue work on the TA select part. The technical indicator we picked is RSI (Relative Strength Index). Relative Strength Index (RSI) is an extremely useful and popular momentum oscillator. The RSI compares the magnitude of a stock's recent gains to the magnitude of its recent losses and turns that information into a number that ranges from 0 to 100. It takes a single parameter (usually 14), the number of time periods to use in the calculation [11]. RSI can indicate the buy or sell signal. Generally, if the RSI rises above 30 it is considered bullish for the underlying stock. Conversely, if the RSI falls below 70, it is a bearish signal. Based on this statement, we build the rules, If RSI (14) < 30, buy; If RSI (14)> 70, Sell; The following graph is the result Figure 2. Experiment Results As we can see, in some cases, the technical analysis gave us a good indication. In each buy point, we can earn some profit in a short time. But in the Oct, 2007, when the financial crisis happened, there is no alert from the technical part. This will be a big risk on customers investment. From this case, it is clear that the technical analysis is not enough. We also need the sentiment analysis and fundament analysis to protect our investment. By adding sentiment analysis and fundamental analysis, we can get more comprehensive system. By collecting the opinions from the news, web forum, etc. The sentiment we retrieved shows up as overheat, alert. From fundamental analysis, the P/E ratio, ROI, profit margin can also give you a different opinion.

This study is still in progress. In next step, we will collect enough data to build three types of training data set and test the performance of this model. CONCLUSION In this paper, we discussed the current study in stock prediction based on artificial intelligence technique. We talked about the limitation of traditional technical analysis. A hybrid model was proposed. This model combined the sentimental analysis and technical analysis. Also, we used different training data set, which meted the current stock condition, to get more accurate prediction. This study is still in progress, we believe this study will be a good contribution on stock prediction area. REFERENCES [1] P.K.H.PHUA, D. Ming and W. Lin, "Neural Network with Genetically Evolved Algorithms for Stock Prediction", Asia-Pacific Journal of Optional Research, Vol. 18, pp103-107, 2001 [2] Y.K. Kwon and B.R. Moon, "A Hybrid Neurogenetic Approach for Stock Forecasting", IEEE Transaction on Neural Networks, vol. 18, pp 851-864, May 2007 [3] N.Ren, M.Zargham and S.Rahimi, "A Decision Tree-based Classification Approach to Rule Extraction for Security Analysis", International Journal of Information Technology & Decision Making, Vol. 5, pp.227-240, 2006 [4] K.Schierholt,C.H.Dagli, "Stock market prediction using different neural network classification architectures," Proceedings of the IEEEIAFE 1996 Conference on Computational Intelligence for Financial Engineering, pp.72-78, Mar 1996 [5] S.Thawornwong, D.Enke and C.Dagli, "Neural Networks as a Decision Makers for Stock Trading: A Technical Analysis Approach", International Journal of Smart Engineering System Design, Vol 5, pp.313-325, 2003 [6] R.S.T. Lee, "ijade Stock Advisor: An Intelligent Agent Based Stock Prediction System Using Hybrid RBF Recurrent Network", IEEE Transaction on System, Man, and Cybernetics--Part A: Systems and Humans, Vol.34, pp. 421-428, May 2004 [7] O.Sapena, V.Botti and E.Argente, "Application of Neural Networks to Stock Prediction in "Pool" Companies", Applied Artificial Intelligence, Vol.17, pp.661-673, 2003 [8] S.Han and R.C. Chen, "Using SVM with Financial Statement Analysis for Prediction of Stocks", Communication of the IIMA, vol.7 (4), pp.63-71, 2007 [9] M.Klassen, "Investigation of some technical indexes in stock forecasting using neural networks", In Proceedings of the third world enformatika conference, pp. 75-79, Istanbul, Turkey. [10] V. Sehgal and C. Song, SOPS: "Stock Prediction Using Web Sentiment", Seventh IEEE International Conference on Data Mining Workshops (ICDMW 2007), pp.21-26, 2007 [11] J. Welles Wilder, New Concepts in Technical Trading Systems, Trend Research (June 1978)