You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I do not get how the order of dates is established - let's run the following and have a look to the result - the dates are not sorted in a logical sequence, why? What am I doing wrong? Kr --Gabriel
ticker = 'AAPL'
yahoo_financials = YahooFinancials(ticker)
#print(yahoo_financials.get_financial_stmts('annual', 'cash')['cashflowStatementHistory'][ticker].keys())
cf = yahoo_financials.get_financial_stmts('annual', 'cash')['cashflowStatementHistory'][ticker]
bs = yahoo_financials.get_financial_stmts('annual', 'balance')['balanceSheetHistory'][ticker]
pl = yahoo_financials.get_financial_stmts('annual', 'income')['incomeStatementHistory'][ticker]
print(cf)
print(bs)
print(pl)
print("cashflow:")
for i, date in enumerate(cf):
print(i,date)
print("..............")
print("balancesheet:")
for i, date in enumerate(bs):
print(i,date)
print("............")
print("p&l:")
for i, date in enumerate(pl):
print(i,date)
The text was updated successfully, but these errors were encountered:
Hi,
I do not get how the order of dates is established - let's run the following and have a look to the result - the dates are not sorted in a logical sequence, why? What am I doing wrong? Kr --Gabriel
The text was updated successfully, but these errors were encountered: