lilianweng / stock-rnn

Predict stock market prices using RNN model with multilayer LSTM cells + optional multi-stock embeddings.
https://lilianweng.github.io/lil-log
1.72k stars 656 forks source link

Problem With data_fetcher.py #9

Open bingbob opened 6 years ago

bingbob commented 6 years ago

Hi, I am receiving and "AttributeError: 'DataFrame' object has no attribute 'sort'". I tried changing to sort_values and sort_index but cannot seem to get the data_fetcher to work. Any help would be appreciated. Thank you.

Aimsam commented 6 years ago

change .sort to .sort_value on line 38. but still cannot download data from google

raagas commented 6 years ago

@Aimsam: The google url to fetch data has changed. The updated link is https://finance.google.com/finance/historical?

jesperVB-dev commented 6 years ago

change .sort to .sort_values @Aimsam forgot the "s"

tarunparmar commented 5 years ago

Any good alternatives to Yahoo and Google now that they both are dead?