Stock market prediction
   HOME

TheInfoList



OR:

Stock market prediction is the act of trying to determine the future value of a company stock or other financial instrument traded on an
exchange Exchange may refer to: Physics *Gas exchange is the movement of oxygen and carbon dioxide molecules from a region of higher concentration to a region of lower concentration. Places United States * Exchange, Indiana, an unincorporated community * ...
. The successful prediction of a stock's future price could yield significant profit. The
efficient-market hypothesis The efficient-market hypothesis (EMH) is a hypothesis in financial economics that states that asset prices reflect all available information. A direct implication is that it is impossible to "beat the market" consistently on a risk-adjusted bas ...
suggests that stock prices reflect all currently available information and any price changes that are not based on newly revealed information thus are inherently unpredictable. Others disagree and those with this viewpoint possess myriad methods and technologies which purportedly allow them to gain future price information.


The Efficient Markets Hypothesis and the random walk

The
efficient market hypothesis The efficient-market hypothesis (EMH) is a hypothesis in financial economics that states that asset prices reflect all available information. A direct implication is that it is impossible to "beat the market" consistently on a risk-adjusted bas ...
posits that stock prices are a function of information and rational expectations, and that newly revealed information about a company's prospects is almost immediately reflected in the current stock price. This would imply that all publicly known information about a company, which obviously includes its price history, would already be reflected in the current price of the stock. Accordingly, changes in the stock price reflect release of new information, changes in the market generally, or random movements around the value that reflects the existing information set.
Burton Malkiel Burton Gordon Malkiel (born August 28, 1932) is an American economist and writer most noted for his classic finance book '' A Random Walk Down Wall Street'' (first published 1973, in its 12th edition as of 2019). He is a leading proponent of the e ...
, in his influential 1973 work
A Random Walk Down Wall Street ''A Random Walk Down Wall Street'', written by Burton Gordon Malkiel, a Princeton University economist, is a book on the subject of stock markets which popularized the random walk hypothesis. Malkiel argues that asset prices typically exhibit s ...
, claimed that stock prices could therefore not be accurately predicted by looking at price history. As a result, Malkiel argued, stock prices are best described by a statistical process called a "random walk" meaning each day's deviations from the central value are random and unpredictable. This led Malkiel to conclude that paying financial services persons to predict the market actually hurt, rather than helped, net portfolio return. A number of empirical tests support the notion that the theory applies generally, as most portfolios managed by professional stock predictors do not outperform the market average return after accounting for the managers' fees.


Intrinsic value

Intrinsic value (true value) is the perceived or calculated value of a company, including tangible and intangible factors, using fundamental analysis. It's also frequently called fundamental value. It is used for comparison with the company's market value and finding out whether the company is undervalued on the stock market or not. When calculating it, the investor looks at both the qualitative and quantitative aspects of the business. It is ordinarily calculated by summing the discounted future income generated by the asset to obtain the present value.


Prediction methods

Prediction methodologies fall into three broad categories which can (and often do) overlap. They are
fundamental analysis Fundamental analysis, in accounting and finance, is the analysis of a business's financial statements (usually to analyze the business's assets, liabilities, and earnings); health; and competitors and markets. It also considers the overall sta ...
,
technical analysis In finance, technical analysis is an analysis methodology for analysing and forecasting the direction of prices through the study of past market data, primarily price and volume. Behavioral economics and quantitative analysis use many of the sam ...
(charting) and technological methods.


Fundamental analysis

Fundamental analysts are concerned with the company that underlies the stock itself. They evaluate a company's past performance as well as the credibility of its accounts. Many performance ratios are created that aid the fundamental analyst with assessing the validity of a stock, such as the P/E ratio.
Warren Buffett Warren Edward Buffett ( ; born August 30, 1930) is an American business magnate, investor, and philanthropist. He is currently the chairman and CEO of Berkshire Hathaway. He is one of the most successful investors in the world and has a net ...
is perhaps the most famous of all fundamental analysts. He uses the overall market capitalization-to-
GDP Gross domestic product (GDP) is a monetary measure of the market value of all the final goods and services produced and sold (not resold) in a specific time period by countries. Due to its complex and subjective nature this measure is ofte ...
ratio to indicate the relative value of the stock market in general, hence this ratio has become known as the "
Buffett indicator The Buffett indicator (or the Buffett metric, or the Market capitalization-to-GDP ratio) is a valuation multiple used to assess how expensive or cheap the aggregate stock market is at a given point in time. It was proposed as a metric by inve ...
". What fundamental analysis in the stock market is trying to achieve, is finding out the true value of a stock, which then can be compared with the value it is being traded with on stock markets and therefore finding out whether the stock on the market is undervalued or not. Finding out the true value can be done by various methods with basically the same principle. The principle is that a company is worth all of its future profits added together. These future profits also have to be discounted to their present value. This principle goes along well with the theory that a business is all about profits and nothing else. Contrary to technical analysis, fundamental analysis is thought of more as a long-term strategy. Fundamental analysis is built on the belief that human society needs capital to make progress and if a company operates well, it should be rewarded with additional capital and result in a surge in stock price. Fundamental analysis is widely used by fund managers as it is the most reasonable, objective and made from publicly available information like financial statement analysis. Another meaning of fundamental analysis is
beyond Beyond may refer to: Arts, entertainment, and media Films * ''Beyond'' (1921 film), an American silent film * ''Beyond'' (2000 film), a Danish film directed by Åke Sandgren, OT: ''Dykkerne'' * ''Beyond'' (2010 film), a Swedish film directed b ...
bottom-up company analysis, it refers to top-down analysis from first analyzing the global economy, followed by country analysis and then sector analysis, and finally the company level analysis.


Technical analysis

Technical analysts or chartists are not concerned with any of the company's fundamentals. They seek to determine the future price of a stock based solely on the trends of the past price (a form of
time series analysis In mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in m ...
). Numerous patterns are employed such as the head and shoulders or cup and saucer. Alongside the patterns, techniques are used such as the
exponential moving average In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
(EMA), oscillators, support and resistance levels or momentum and volume indicators. Candle stick patterns, believed to have been first developed by Japanese rice merchants, are nowadays widely used by technical analysts. Technical analysis is rather used for short-term strategies, than the long-term ones. And therefore, it is far more prevalent in commodities and forex markets where traders focus on short-term price movements. There are some basic assumptions used in this analysis, first being that everything significant about a company is already priced into the stock, other being that the price moves in trends and lastly that history (of prices) tends to repeat itself which is mainly because of the market psychology.


Machine learning

With the advent of the
digital computer A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations (computation) automatically. Modern digital electronic computers can perform generic sets of operations known as programs. These program ...
, stock market prediction has since moved into the technological realm. The most prominent technique involves the use of artificial neural networks (ANNs) and Genetic Algorithms(GA). Scholars found bacterial chemotaxis optimization method may perform better than GA. ANNs can be thought of as
mathematical function In mathematics, a function from a set to a set assigns to each element of exactly one element of .; the words map, mapping, transformation, correspondence, and operator are often used synonymously. The set is called the domain of the functi ...
approximators. The most common form of ANN in use for stock market prediction is the feed forward network utilizing the backward propagation of errors algorithm to update the network weights. These networks are commonly referred to as
Backpropagation In machine learning, backpropagation (backprop, BP) is a widely used algorithm for training feedforward artificial neural networks. Generalizations of backpropagation exist for other artificial neural networks (ANNs), and for functions gener ...
networks. Another form of ANN that is more appropriate for stock prediction is the time
recurrent neural network A recurrent neural network (RNN) is a class of artificial neural networks where connections between nodes can create a cycle, allowing output from some nodes to affect subsequent input to the same nodes. This allows it to exhibit temporal dynamic ...
(RNN) or
time delay neural network Time delay neural network (TDNN) Alexander Waibel, Tashiyuki Hanazawa, Geoffrey Hinton, Kiyohito Shikano, Kevin J. Lang, Phoneme Recognition Using Time-Delay Neural Networks', IEEE Transactions on Acoustics, Speech, and Signal Processing, Volume 3 ...
(TDNN). Examples of RNN and TDNN are the Elman, Jordan, and Elman-Jordan networks. (See the Elman And Jordan Networks.) For stock prediction with ANNs, there are usually two approaches taken for forecasting different time horizons: independent and joint. The independent approach employs a single ANN for each time horizon, for example, 1-day, 2-day, or 5-day. The advantage of this approach is that network forecasting error for one horizon won't impact the error for another horizon—since each time horizon is typically a unique problem. The joint approach, however, incorporates multiple time horizons together so that they are determined simultaneously. In this approach, forecasting error for one time horizon may share its error with that of another horizon, which can decrease performance. There are also more parameters required for a joint model, which increases the risk of overfitting. Of late, the majority of academic research groups studying ANNs for stock forecasting seem to be using an ensemble of independent ANNs methods more frequently, with greater success. An ensemble of ANNs would use low price and time lags to predict future lows, while another network would use lagged highs to predict future highs. The predicted low and high predictions are then used to form stop prices for buying or selling. Outputs from the individual "low" and "high" networks can also be input into a final network that would also incorporate volume, intermarket data or statistical summaries of prices, leading to a final ensemble output that would trigger buying, selling, or market directional change. A major finding with ANNs and stock prediction is that a classification approach (vs. function approximation) using outputs in the form of buy(y=+1) and sell(y=-1) results in better predictive reliability than a quantitative output such as low or high price. Since NNs require training and can have a large parameter space; it is useful to optimize the network for optimal predictive ability.


Data sources for market prediction

Tobias Preis et al. introduced a method to identify online precursors for stock market moves, using trading strategies based on search volume data provided by
Google Trends Google Trends is a website by Google that analyzes the popularity of top web search query, search queries in Google Search across various regions and languages. The website uses graphs to compare the search volume of different queries over time. ...
. Their analysis of
Google Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
search volume for 98 terms of varying financial relevance, published in '' Scientific Reports'', suggests that increases in search volume for financially relevant search terms tend to precede large losses in financial markets. Out of these terms, three were significant at the 5% level (, ''z'', > 1.96). The best term in the negative direction was "debt", followed by "color". In a study published in '' Scientific Reports'' in 2013, Helen Susannah Moat, Tobias Preis and colleagues demonstrated a link between changes in the number of views of
English Wikipedia The English Wikipedia is, along with the Simple English Wikipedia, one of two English-language editions of Wikipedia, an online encyclopedia. It was founded on January 15, 2001, as Wikipedia's first edition, and, as of , has the most arti ...
articles relating to financial topics and subsequent large stock market moves. The use of
Text Mining Text mining, also referred to as ''text data mining'', similar to text analytics, is the process of deriving high-quality information from text. It involves "the discovery by computer of new, previously unknown information, by automatically extract ...
together with
Machine Learning Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence. Machine ...
algorithms received more attention in the last years, with the use of textual content from Internet as input to predict price changes in Stocks and other financial markets. The collective mood of
Twitter Twitter is an online social media and social networking service owned and operated by American company Twitter, Inc., on which users post and interact with 280-character-long messages known as "tweets". Registered users can post, like, and ...
messages has been linked to stock market performance. The study, however, has been criticized for its methodology. The activity in stock message boards has been mined in order to predict asset returns. The enterprise headlines from
Yahoo! Finance Yahoo! Finance is a media property that is part of the Yahoo! network. It provides financial news, data and commentary including stock quotes, press releases, financial reports, and original content. It also offers some online tools for perso ...
and
Google Finance Google Finance is a website focusing on business news and financial information hosted by Google. History Google Finance was first launched by Google on March 21, 2006. The service featured business and enterprise headlines for many corporation ...
were used as news feeding in a
Text mining Text mining, also referred to as ''text data mining'', similar to text analytics, is the process of deriving high-quality information from text. It involves "the discovery by computer of new, previously unknown information, by automatically extract ...
process, to forecast the Stocks price movements from
Dow Jones Industrial Average The Dow Jones Industrial Average (DJIA), Dow Jones, or simply the Dow (), is a stock market index of 30 prominent companies listed on stock exchanges in the United States. The DJIA is one of the oldest and most commonly followed equity inde ...
.


Time series aspect structuring

Aspect structuring, also referred to as Jacaruso Aspect Structuring (JAS) is a trend forecasting method which has been shown to be valid for anticipating trend changes on various stock market and geopolitical time series datasets. The method addresses the challenge that arises with high dimensional data in which
exogenous variable In an economic model, an exogenous variable is one whose measure is determined outside the model and is imposed on the model, and an exogenous change is a change in an exogenous variable.Mankiw, N. Gregory. ''Macroeconomics'', third edition, 1997. ...
s are too numerous or immeasurable to be accounted for and used to make a forecast. The method identifies the single variable of primary influence on the time series, or "primary factor", and observes trend changes that occur during times of decreased significance in the said primary variable. Presumably, trend changes in these instances are instead due to so-called "background factors". Although this method cannot elucidate the multivariate nature of background factors, it can gauge the effects they have on the time-series at a given point in time even without measuring them. This observation can be used to make a forecast.


Notes

{{Reflist


References

*Graham, B. ''The Intelligent Investor'' HarperCollins; Rev Ed edition, 2003. *Lo, A.W. and Mackinlay, A.C. ''A Non-Random Walk Down Wall Street'' 5th Ed. Princeton University Press, 2002. *Azoff, E.M. ''Neural Network Time Series Forecasting of Financial Markets'' John Wiley and Sons Ltd, 1994. *Christoffersen, P.F. and F.X. Diebold. ''Financial asset returns, direction-of-change forecasting, and volatility dynamics''. Management Science, 2006. 52(8): p. 1273-1287 Economic forecasting Stock market