猿问

python读取股票数据

import pandas_datareader as pdr

alibaba=pdr.get_data_yahoo('BABA')



读取不到数据


报错

ConnectionError: HTTPSConnectionPool(host='finance.yahoo.com', port=443): Max retries exceeded with url: /quote/BABA/history (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002425B19F588>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',))

红辣椒剁辣椒
浏览 1524回答 1
1回答

产品经理不是经理

没连上网。
随时随地看视频慕课网APP

相关分类

Python
我要回答