robertmartin8 / MachineLearningStocks

Using python and scikit-learn to make stock predictions
MIT License
1.74k stars 506 forks source link

Cannot receive data #12

Closed EricBell271 closed 6 years ago

EricBell271 commented 6 years ago

I entered this code in and the data doesn't return anything.

from pandas_datareader import data as pdr

import fix_yahoo_finance as yf yf.pdr_override() data = pdr.get_data_yahoo("SPY", start="2017-01-01", end="2017-04-30")

EricBell271 commented 6 years ago

Closed had to change to stock_data = yf.download(ticker_list, start, end)

Where do I get the ticker list?