-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# stocks_rnn | ||
Stock price prediction using LSTMs | ||
Stock price prediction using an LSTM, implemented in TensorFlow | ||
|
||
### Stock Price Prediction using LSTM | ||
Downloads adjusted daily returns of a configurable date range and set of stocks from Yahoo Finance, concatenates them all into a long sequence, and trains an LSTM to predict future returns based on the sequence of past returns. | ||
|
||
### Specifics | ||
- Implemented in TensorFlow, adapted from Google's PTB RNN prediction example | ||
- Returns are normalized using standard deviation (lookback configurable). Positive drift should be negligible. | ||
- Train / validation / test sets are organized in chronological order. | ||
|
||
### Dependencies | ||
- TensorFlow | ||
|
||
### Does it work? | ||
Not really, current results aren't much better than chance. The data might be too noisy for this method, or there might be something wrong in the code or model. | ||
|
||
Feel free to contact me: tencia@gmail.com |