关于pandas_datareader读取yahoo数据问题

https://blog.csdn.net/smile_smilling/article/details/79934900  参考


1、首先安装  pip install fix_yahoo_finance  

2、pip install pandas_datareader

import pandas_datareader.data as web  

import datetime  
import fix_yahoo_finance as yf  
yf.pdr_override()  
start=datetime.datetime(2014, 10, 1)  
end=datetime.datetime(2018, 6, 11)  

alibaba = web.get_data_yahoo('BABA',start,end) 



你可能感兴趣的:(关于pandas_datareader读取yahoo数据问题)