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 ...

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...

Cross Language Plagiarism Detection

Plagiarism: the practice of taking someone else work and presenting that as of their own. So its reverse Plagiarism detection is detecting weather a given piece of document is plagiarised or not. Detection of plagiarism was so naive in earlier times ,People used to just compare strings across 2 documents , then as the technology grew people also grew smarter , they started coming with ideas by which they can copy a document while go undetected from detection. In this post i will talk about a particular type of plagiarism detection which is essentially one of hardest in this domain i.e Cross-Language plagiarism detection(CLPD) . People take a piece of document and convert it into some other language and then post it, now our task is to detect weather it is copied from some other language or not ? In this post i will keep my limits to documents only not programming code, though there are many ways as well by which it can be detected that weather a piece of code in converted into some ...