【发布时间】:2017-06-04 22:41:18
【问题描述】:
所以我最近下载了 yahoo_finance API 及其 1.4.0 版。几天前我得到了它, .get_historical() 工作正常。然而现在,它没有。这是它的作用:
import yahoo_finance as yf
apple=yf.Share('AAPL')
apple_price=apple.get_price()
print apple.get_historical('2016-02-15', '2016-04-29')
我得到的错误是:YQLResponseMalformedError: Response malformed。 API 中有错误还是我忘记了什么?
【问题讨论】: