Skip to main content

Stock Price Forecasting Using NLP Techniques

Introduction

Stocks form a major part of the liquid economy of the world. The movement of stocks governs the country’s economy to a great extent. Capitalizing on this asset can result in major returns for a person/organization. The stock market
is also a very volatile system, with rate fluctuation from few rupees to thousands. Predicting such a system can be challenging and rewarding for an individual/organization who can capitalize on the trends seen in the stock market.

Traditional methods of Stock Market prediction involve a regression model on historical quotes (stock prices) which form a time series. Models like MARS, ARMA, ARIMA were frequently used. A common conclusion of all these researches was that the time series obtained from stock market prices follows the random walk theory. To move from the random walk theory to semi-strong Efficient Market Hypothesis (EMH) we need to take into account addition factors on top of the basic time series model. [1]

It has been shown that the financial market is “informationally efficient” [2] - stock prices reflect all known information, and the price movement is in response to news or events. As web information grows, recent work has applied Natural Language Processing (NLP) techniques to explore financial news for predicting market volatility.

Research Approaches

This blog discusses some of the NLP techniques that have been applied by researchers to improve the stock market predictions.



Correlating financial news to the current stock market prices has been an successful additional factor to the traditional time series model. The basic approach to incorporating financial news in stock market prediction is classifying the direction of the stock market on the basis of a score (sentiment analysis) given to the news articles whose value deprecates over time. Classification algorithms such as genetic algorithms, Naive Bayes, and SVM are popular approaches.[3] A newer approach to the problem has been, using financial news articles to predict discrete values of the stock market prices. This is done by representing the news articles as a bag of words/noun phrases/named entities/events. Machine learning algorithms such as SVM, ANN and Deep Learning are popular approaches to this problem.[4] Researchers are also moving towards using social media in stock market prediction to understand the impact of a news on the audience which directly affect the stock market.

References

[1] http://www.johnwittenauer.net/a-simple-time-series-analysis-of-the-sp-500-index/
[2] Eugene F Fama. The behavior of stock-market prices. The journal of Business
[3] https://www.econ.berkeley.edu/sites/default/files/Selene%20Yue%20Xu.pdf
[4] http://www.ijcai.org/Proceedings/15/Papers/329.pdf

Comments

Popular posts from this blog

NLP in Video Games

From the last few decades, NLP (Natural Language Processing) has obtained a high level of success in the field  of Computer Science, Artificial Intelligence and Computational Logistics. NLP can also be used in video games, in fact, it is very interesting to use NLP in video games, as we can see games like Serious Games includes Communication aspects. In video games, the communication includes linguistic information that is passed either through spoken content or written content. Now the question is why and where can we use NLP in video games?  There are some games that are related to pedagogy or teaching (Serious Games). So, NLP can be used in these games to achieve these objectives in the real sense. In other games, one can use the speech control using NLP so that the player can play the game by concentrating only on visuals rather on I/O. These things at last increases the realism of the game. Hence, this is the reason for using NLP in games.  We can use NLP to impr

Discourse Analysis

NLP makes machine to understand human language but we are facing issues like word ambiguity, sarcastic sentiments analysis and many more. One of the issue is to predict correctly relation between words like " Patrick went to the club on last Friday. He met Richard ." Here, ' He' refers to 'Patrick'. This kind of issue makes Discourse analysis one of the important applications of Natural Language Processing. What is Discourse Analysis ? The word discourse in linguistic terms means language in use. Discourse analysis may be defined as the process of performing text or language analysis, which involves text interpretation and knowing the social interactions. Discourse analysis may involve dealing with morphemes, n-grams, tenses, verbal aspects, page layouts, and so on. It is often used to refer to the analysis of conversations or verbal discourse. It is useful for performing tasks, like A naphora Resolution (AR) , Named Entity Recognition (NE

Coreference Resolution and Applications in NLP

In computational linguistics and natural language processing coreference resolution (CR) is an avidly studies problem in discourse which has managed to be only partially solved by the state of the art and consequently remain one of the most exciting open problems in this field. Introduction and Definition The process of linking together mentions of a particular entity in a speech or text excerpt that related to real world entities is termed as coreference resolution. This process identifies the dependence between a phrase with the rest of the sentence or other sentences in the text.  This is an integral part of natural languages to avoid repetition, demonstrate possession/relation etc. A basic example to illustrate the above definition is given below : Another example which uses elements from popular fiction literature : Harry  wouldn’t bother to read “ Hogwarts: A History ” as long as  Hermione  is around.  He  knows  she  knows  the book  by heart. The different type