Predicting-stock-prices-with-LSTM-Keras

stocks Pic Taken from StockSnap

What does this code contains

  1. Reading the file using pandas.
  2. Preprocessing using pandas.
  3. Converting dataframe into numpy array.
  4. Splitting the darray into training and testing.
  5. Creating the keras LSTM model for the data.
  6. Fitting the model for training using the appropriate loss function and optimizer.
  7. Predicting the model with the testing data.
  8. Plotting the comparison between model predicted output and actual output. Please see the graph attached with this repository.
## Training phase

training phase

How to run this code

Please download this repository by using

git clone git@github.com:AISangam/Predicting-stock-prices-with-LSTM-Keras.git

When the repository is cloned please run the following file

python/python3 real_time_stocks.py