获取股票价格数据

时间:2018-02-04 18:00:48

标签: python-3.5 stockquotes

既然Yahoo和Google API已关闭,而且无法从这些网站中检索股票定价数据,还有哪些替代方案,我该如何解决?

这是我得到的错误:

raise ImmediateDeprecationError(DEP_ERROR_MSG.format('Yahoo Daily'))
pandas_datareader.exceptions.ImmediateDeprecationError: Yahoo Daily has been immediately deprecated due to large breaks in the API without the introduction of a stable replacement. Pull Requests to re-enable these data connectors are welcome.

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

GitHub问题几乎说明了什么。

"雅虎改变了他们的API,以便旧的pandas 0.5代码不起作用。如果你想解决这个问题,欢迎PR。"

用于pandas datareader的API有一个重大突破,可能是由于一些API更改 - 他们正在接受GitHub上的PR来解决这个问题。这里有一个未解决的问题:ImmediateDeprecationError:

相关问题