diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-02 12:12:56 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-02 12:12:56 +0000 |
commit | 94cc1d159e62c5dce5d43faede3e85f63f451cdd (patch) | |
tree | 2cde013d4233b9251c8ad12cc35e8dd92b67f2bf /lstm.py | |
parent | update (diff) | |
download | seer-94cc1d159e62c5dce5d43faede3e85f63f451cdd.tar.gz seer-94cc1d159e62c5dce5d43faede3e85f63f451cdd.zip |
update
Diffstat (limited to 'lstm.py')
-rwxr-xr-x | lstm.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -46,7 +46,6 @@ def getData_CMC(crypto, crypto_short): kwargs = {'close_off_high': lambda x: 2*(x['High']- x['Close'])/(x['High']-x['Low'])-1, 'volatility': lambda x: (x['High']- x['Low'])/(x['Open'])} market_info = market_info.assign(**kwargs) model_data = market_info[['Date']+[coin+metric for coin in [""] for metric in ['Close','Volume','close_off_high','volatility']]] - #model_data = market_info[['Date']+[metric for metric in ['Close','Volume','close_off_high','volatility']]] model_data = model_data.sort_values(by='Date') print(model_data.head()) return model_data |