27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A mobile application for stock market prediction using sentiment analysis<br />

Kushal Jangid ∗<br />

San Jose State University<br />

Computer Engineering Department<br />

San Jose, CA, USA<br />

Magdalini Eirinaki<br />

San Jose State University<br />

Computer Engineering Department<br />

San Jose, CA, USA<br />

Pratik Paul †<br />

San Jose State University<br />

Computer Engineering Department<br />

San Jose, CA, USA<br />

Abstract<br />

Lately, stock markets have been going through a lot of<br />

volatility. Traditional methods of stock market prediction,<br />

which involved using historical stock prices to predict future<br />

price have shown to be insufficient under certain circumstances.<br />

In this paper we present a mobile application<br />

that employs a different approach to predicting the stock<br />

price, namely the news related to that company. The prediction<br />

algorithm determines whether the overall sentiment<br />

related to the company, as expressed by the news stories, is<br />

good or bad and assigns a sentiment score. The system then<br />

uses machine learning to predict the percentage fluctuation<br />

of the company’s stock based on this score. The algorithm<br />

is integrated in a mobile application that helps users try out<br />

various market strategies based on our prediction engine.<br />

This is achieved by performing simulated trades using virtual<br />

money. It also provides real-time stock quotes, and the<br />

latest financial news. In this paper we present the overall<br />

system architecture and design of this application, as well<br />

as details of the prediction process.<br />

1 Introduction<br />

There is a tremendous research going on in the field of<br />

stock market prediction. There are a number of artificial intelligence<br />

and machine learning techniques that have been<br />

used for analyzing price patterns and predicting stock prices<br />

and index. Among the most commonly used are Neural<br />

Networks, which have the ability to learn non-linear relationships<br />

based on trading information. This allows mod-<br />

∗ Author’s current affiliation is E*Trade Financial Corporation<br />

† Author’s current affiliation is Reply.com<br />

eling of non-linear dynamic systems such as stock markets<br />

more precisely. Support Vector Machines (SVM) seem to<br />

be the next most popular approach to stock market prediction.<br />

It has been successful in classification task and<br />

regression tasks, especially on time series prediction and<br />

financial-related applications.<br />

There has also been some research on hybrid algorithms<br />

which combine different algorithms toimprove the prediction<br />

accuracy. One example is the combination of Genetic<br />

Algorithm and Support Vector Machine. The experiments<br />

conducted indicate that the accuracy achieved by combining<br />

the algorithms is better than the results from algorithms<br />

individually [3]. The authors [5] claim that Support Vector<br />

Machine when combined with Boosting provides better<br />

accuracy.<br />

A more recent trend, however, is to depart from using<br />

pure machine learning on the numbers, and instead to also<br />

focus on other input such as the financial news to determine<br />

the stock fluctuation. Most of the people are familiar that<br />

company’s earnings report and good/bad news associated<br />

with the company tend to affect its price. Looking at its importance,<br />

people have started combining text mining with a<br />

couple of different algorithms in order to predict the stock<br />

price movement. One example is where some researchers<br />

combined text mining approach with time series algorithm<br />

to map the fluctuation in the stock price [10]. There are<br />

other examples where the text mining algorithm is combined<br />

with SVM [7].<br />

Most of the applications for stock market prediction<br />

are web-based, and there are not many available for smart<br />

phones. However, as smart phones become an integral part<br />

of everyday lives and people are using them as portable devices,<br />

the need to trade on the go is evident. After interviewing<br />

a couple of people working on Wall Street, we found<br />

out that having a prediction system available on your phone<br />

13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!