PreprintCited by 227Stock Market Forecasting MethodsFinancial Markets and Investment StrategiesForecasting Techniques and Applications

The DOI matches its DataCite record.

Predicting the direction of stock market prices using random forest

Open access

Abstract

Predicting trends in stock market prices has been an area of interest for researchers for many years due to its complex and dynamic nature. Intrinsic volatility in stock market across the globe makes the task of prediction challenging. Forecasting and diffusion modeling, although effective can't be the panacea to the diverse range of problems encountered in prediction, short-term or otherwise. Market risk, strongly correlated with forecasting errors, needs to be minimized to ensure minimal risk in investment. The authors propose to minimize forecasting error by treating the forecasting problem as a classification problem, a popular suite of algorithms in Machine learning. In this paper, we propose a novel way to minimize the risk of investment in stock market by predicting the returns of a stock using a class of powerful machine learning algorithms known as ensemble learning. Some of the technical indicators such as Relative Strength Index (RSI), stochastic oscillator etc are used as inputs to train our model. The learning model used is an ensemble of multiple decision trees. The algorithm is shown to outperform existing algo- rithms found in the literature. Out of Bag (OOB) error estimates have been found to be encouraging. Key Words: Random Forest Classifier, stock price forecasting, Exponential smoothing, feature extraction, OOB error and convergence.

Overview

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.1605.00003

Cites

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Most previous studies on ensemble methods for stock-market predictions adopted the decrease variance approach (boosting or bagging) and experimented with data from one country.

    “Also, most previous studies [12,19,21,22,[24][25][26][27][28][29][30], on ensemble methods for stock-market predictions adopted the decrease variance approach (boosting or bagging) and experimented with data from one country.”

    From A comprehensive evaluation of ensemble learning for stock-market prediction (2020) · cites this paper as [22]

    Section 3.5 (p. 8) describes this paper’s random-forest method as using bagging to reduce variance, so it supports that aspect of the citation. But the Results (p. 14) use U.S.-listed stocks and a stock traded on the Korean Stock Exchange, not data from one country. The paper also does not establish that most previous ensemble studies followed this approach. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • Most existing studies compared ensemble classifiers or ensemble regressors, but not both.

    “most of the studies compared between ensemble classifiers [12, 18-20, 22, 23, 28] or regressors [21,30] machine learning algorithms, but not both.”

    From A comprehensive evaluation of ensemble learning for stock-market prediction (2020) · cites this paper as [22]

    Section 3.5 (p. 8) identifies the paper’s random forest as an ensemble classifier, and Section 7 (p. 16) compares its results with other classification models. It does not compare multiple ensemble classifiers, as the citing sentence suggests; the named comparators include logistic regression, discriminant analysis, and SVM. (LLM, conf=0.83)

    Experimental — accuracy not yet measured
  • Most previous studies on ensemble methods for stock-market prediction only ensemble a specific type of classifier or regressor, such as neural networks, decision trees, or support vector machines.

    “Despite numerous works revealing the dominance of ensemble classifier over single classifier, most of these studies only ensemble a specific type of classifier or regressor for stock-market prediction, such as NN [18][19][20], DT [21,22] and SVM [12,23].”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

No references could be resolved yet.

Research works printed but not linked: 12

  1. Saha, Snehanshu., Routh, Swati., Goswami, Bidisha.(2014). Modeling Vanilla Option prices: A simulation study by an implicit method. Journal of advances in Mathematics, 6(1), 834-848.
  2. Widom, J. (1995). Research problems in data warehousing. In Proceedings of the fourth international conference on information and knowledge management, CIKM '95 ( pp. 25- 30). New York, NY, USA: ACM. 10.1145/221270.221319. · DOI
  3. R. Gencay, 'Linear, non-linear and essential foreign exchange rate prediction with simple technical trading rules,' Journal of International Economics, vol. 47,no.!, pp. 91-107,1999.
  4. A. Timmermann and C. W Granger, 'Efficient market hypothesis and forecasting,' Interational Journal of Forecasting, vol. 20,no.!, pp. 15- 27,2004.
  5. D. Bao and Z. Yang, 'Intelligent stock trading system by turning point confirming and probabilistic reasoning,' Expert Systems with Applications, vol.34,no. 1,pp. 620-627,2008.
  6. Pierre Geurts, Gilles Louppe . Learning to rank with extremely randomized tree. JMLR: Workshop and Conference Proceedings 14 (2011) 4961
  7. Felipe Giacomel, Renata Galante, Adriano Pareira. An Algorithmic Trading Agent based on a Neural Network Ensemble: a Case of Study in North American and Brazilian Stock Markets. 2015 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology
  8. Sabaithip Boonpeng, Piyasak Jeatrakul (2016). Decision Support System for Investing in Stock Market by using OAA-Neural Network. 8th International Conference on Advanced Computational Intelligence Chiang Mai, Thailand; February 14-16, 2016
  9. Ms. K. Nirmala Devi, Dr.V.Murali Bhaskaran, G. Prem Kumar (2015). Cuckoo Optimized SVM for Stock Market Prediction.IEEE Sponsored 2nd International Conference on Innovations in Information, Embedded and Communication systems (ICJJECS)2015
  10. Tom Bylander,Dennis Hanzlik (1999). Estimating Generalization Error Using Out-of-Bag Estimates. AAAI-99 Proceedings. Copyright 1999, AAAI (www.aaai.org). All rights reserved.
  11. Malkiel, B. G. and Fama, E. F.(1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383-417.
  12. Malkiel, Burton G. (2003). The efficient market hypothesis and its critics. The Journal of Economic Perspectives, 17(1), 59-82.

Cited by

Sorted by citations

Metadata

Authors
Khaidem, L., Saha, S., & Dey, S. R.
Venue
arXiv
Publisher
arXiv
Published
2016
ISSN
2331-8422 (ISSN-L)
OpenAlex
W2347175495
Cited by
227
References
0
Citations by year
2026: 4 · 2025: 16 · 2024: 35 · 2023: 38 · 2022: 29 · 2021: 32 · 2020: 30 · 2019: 19 · 2018: 11 · 2017: 11 · 2016: 2
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Social Sciences › Decision Sciences › Management Science and Operations Research › Stock Market Forecasting Methods
  • Social Sciences › Economics, Econometrics and Finance › Finance › Financial Markets and Investment Strategies
  • Social Sciences › Decision Sciences › Management Science and Operations Research › Forecasting Techniques and Applications
Keywords
stock price prediction, random forest, technical indicators, relative strength index, stochastic oscillator, ensemble learning, out-of-bag error, investment risk, market risk

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review