1

我正在尝试新的(?)yahoofinancials library。我还没有尝试所有的方法,但get_financial_stmts对我不起作用。有没有人有同样的问题?

from yahoofinancials import YahooFinancials

yahoo_financials = YahooFinancials('AAPL')
print(yahoo_financials.get_financial_stmts('annual', 'income'))

输出:

{'incomeStatementHistory': {'AAPL': None}}

我尝试的另一种方法是get_historical_price_data,它工作正常。

4

1 回答 1

0

我能够通过此修复程序解决问题

于 2021-01-14T03:50:35.563 回答