Skip to content

neha01/NIFTY_50_STOCK_PREDICTION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Predicting NIFTY50 index movement for 7 days period. LSTM layers are used in keras to predict NIFTY50 index movement for 7 days period.

Youtube Tutorial

https://www.youtube.com/watch?v=BYd9M_ragR0

Project is divided into three parts:

  • loadData.py
    Scraped Wiki's NIFTY50 page to get ticker symbols
    Used Quandl API to fetch stock data for past 5 years

  • Preprocess.py
    Label training data as 0(sell) and 1(buy)
    Scale data using sklearn preprocessing libarary

  • Build_model.py
    Build model in keras with LSTM layers.

Program runs at 61% Validation accuracy and 39% Validation loss

Dependencies:

  • pandas
  • tensorflow
  • keras
  • sklearn
  • numpy
  • beautifulsoup4
  • requests

Usage:

Run Buildmodel.py script on commandline.

Acknowledgements:

About

Predicting NIFTY_50 index price movement with LSTM Keras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages