IDEAS home Printed from https://ideas.repec.org/a/bjc/journl/v8y2022i6p107-111.html
   My bibliography  Save this article

Predicting Stock Price in Python Using TensorFlow and Keras

Author

Listed:
  • Orlunwo Placida Orochi

    (Computer Science Department, Ignatius Ajuru University of Education)

  • Ledesi Kabari

    (Computer Science Department, Ignatius Ajuru University of Education)

Abstract

One of the most important practices in the financial world is stock trading. The act of attempting to forecast the future value of a stock or other financial instrument listed on a stock exchange is known as stock market prediction. This paper discusses how Machine Learning can be used to predict a stock’s price. When it comes to stock forecasts, most stockbrokers use technical and fundamental analysis, as well as time series analysis. Python is the programming language used to forecast the stock market. In this paper, we propose a Machine Learning (ML) method that will be trained using publicly accessible stock data to obtain intelligence, and then use that intelligence to make an accurate prediction. In this context, this research builds a neural network in TensorFlow and Keras that predicts stock market, which is basically a Python scraper that extracts finance data from the Yahoo Finance platform; more precisely, a Recurrent Neural Network with LSTM cells was constructed, which is the current state-of-the-art in time series forecasting.

Suggested Citation

  • Orlunwo Placida Orochi & Ledesi Kabari, 2021. "Predicting Stock Price in Python Using TensorFlow and Keras," International Journal of Research and Scientific Innovation, International Journal of Research and Scientific Innovation (IJRSI), vol. 8(6), pages 107-111, June.
  • Handle: RePEc:bjc:journl:v:8:y:2022:i:6:p:107-111
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijrsi/digital-library/volume-8-issue-6/107-111.pdf
    Download Restriction: no

    File URL: https://www.rsisinternational.org/virtual-library/papers/predicting-stock-price-in-python-using-tensor-flow-and-keras/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    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:bjc:journl:v:8:y:2022:i:6:p:107-111. 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: Dr. Renu Malsaria (email available below). General contact details of provider: https://rsisinternational.org/journals/ijrsi/ .

    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.