So i'm trying to use this simple code to test TA-Lib and the other modules, but i'm having some problems:
from pandas_datareader import data, wb
import datetime
import talib
import numpy
start = datetime.datetime(2010,1,1)
end = datetime.datetime(2014,3,24)
ticker = "AAPL"
f = wb.pandas_datareader(ticker,'yahoo',start,end)
f['SMA_20'] = talib.SMA(numpy.asarray(f['Close']), 20)
f['SMA_50'] = talib.SMA(numpy.asarray(f['Close']), 50)
f.plot(y= ['Close','SMA_20','SMA_50'], title='AAPL Close & Moving Averages')
Gets the error AttributeError: module 'pandas_datareader.wb' has no attribute 'pandas_datareader'
I successfully installed pandas-datareader, but i keep getting the error, did anyone else experience this?