2
所以我最近下载了yahoo_finance API及其1.4.0版本。我几天前得到它,而.get_historical()工作正常。然而,现在它没有。继承人在做什么:Yahoo Finance API .get_historical()不工作python
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:响应格式错误。 API中是否存在错误或者我忘记了什么?
是的,有一个错误https://github.com/lukaszbanasiak/yahoo-finance/issues/128,似乎API正在慢慢死亡http://www.financial-hacker.com/bye-yahoo-and-thank-你换的鱼/#更2443 – davedwards