IDEAS home Printed from https://ideas.repec.org/a/ids/ijmore/v28y2024i3p396-407.html
   My bibliography  Save this article

Forecasting the stock direction using ensemble random forest

Author

Listed:
  • K. Senthamarai Kannan
  • V. Parimyndhan

Abstract

Predicting stock prices is a challenging task due to market fluctuations and the nonlinear nature of stock markets. Forecasting errors can increase investment risk, so reducing them is essential. In this study, financial data including high, low, open, and close prices of stocks were used to generate new variables. Here TCS stock data is employed to construct a Random forest model. This model predicts whether a stock will close positively or negatively based on past values of technical indicators. The findings in this work demonstrate that, using random forest for stock forecasting is beneficial for both institutional and retail stock investors. The unique contribution of our work is the utilised of technical indicators as high-accuracy features for predicting the direction of stock prices. The performance accuracy rate of 74% for the model is obtained by increasing the number of training cycles for the algorithm.

Suggested Citation

  • K. Senthamarai Kannan & V. Parimyndhan, 2024. "Forecasting the stock direction using ensemble random forest," International Journal of Mathematics in Operational Research, Inderscience Enterprises Ltd, vol. 28(3), pages 396-407.
  • Handle: RePEc:ids:ijmore:v:28:y:2024:i:3:p:396-407
    as

    Download full text from publisher

    File URL: http://www.inderscience.com/link.php?id=140069
    Download Restriction: Access to full text is restricted to subscribers.
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ids:ijmore:v:28:y:2024:i:3:p:396-407. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sarah Parker (email available below). General contact details of provider: http://www.inderscience.com/browse/index.php?journalID=320 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.