gopalkalpande / stock-rnn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stock-rnn

  1. Run python3 data_cleaning.py {ticker} to fetch the historical prices from Yahoo! Finance.
  2. Run python3 main.py train {ticker} {MODEL} to train a save a RNN model.
  3. Run python3 main.py test {ticker} {MODEL} to test a saved RNN model.

For examples,

  • To download from Apple prices
python3 data_cleaning.py AAPL
  • To train Apple's price by an LSTM model and save the model
python3 main.py train AAPL LSTM
  • To test the performance of the model
python3 main.py test AAPL LSTM

About


Languages

Language:Python 100.0%