stock-rnn
stock-rnn copied to clipboard
Predict stock market prices using RNN model with multilayer LSTM cells + optional multi-stock embeddings.
changed readme for better understandability and grammar mistakes fixes #35
changed readme for better understandability and grammar mistakes
A great blog post and code write up. Thank you A sequel would be most welcome!
Hi, Thank you for your sharing, it is very good tutorial for us to learn how to predict stock price with LSTM method. I tested the SP500 data with lstm...
python main.py got error Traceback (most recent call last): File "main.py", line 111, in tf.app.run() File "/home/xxx/.local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "main.py", line 100, in main target_symbol=FLAGS.stock_symbol, File...
/media/scw4750/个人文件/donghui/stock-rnn-master/data_fetcher.py:38: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....) Loaded 505 stock symbols df_sp500.sort('Market Cap', ascending=False, inplace=True) Fetching AAPL ... https://finance.google.com/finance/historical?output=csv&q=AAPL&startdate=Jan+1%2C+1980&enddate=Jan+10%2C+2019 Traceback (most recent call last): File "/media/scw4750/个人文件/donghui/stock-rnn-master/data_fetcher.py", line 111, in main()...
File "C:\Users\PRATISHRUTI\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1100, in _run % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (0,) for Tensor 'inputs:0', which has shape '(?, 30, 1)' Uncaught exception. Entering post...
- added docstrings for methods in data_model.py While I was trying to understand the data pipeline I added some docstrings, might be useful to other as well
some financial instruments have integer price. if you try to normalize this seq, you got -1, 0, +1 to fix it you have to add dtype=np.float64, when you are creating...