-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cash_flow and cash_flow attributes are missing for some yfinance.Ticker objects #1292
Comments
Can you post exact code that returns income statement? It should be failing with exception (#1291), so your report is interesting. |
Sure, no problem. Here is the chunk that should do it. In my code it was spread over some other code bits but I think this extract covers it... It fails on the last line as it can't seem to generate the cashflow statement for CP.TO (an others) tick_str = 'CP.TO' |
This morning I found a similar case, but different, for ticker = 'CCL-B.TO'. Income statement and Cashflow statement worked for that one, but now it is the balance sheet that fails to populate within the ticker object. |
Not seeing this error anywhere?
Can you try with the fork/branch in #1297 |
i have the same problem , some tickers return empty dataframe
|
Can't reproduce bug with latest yfinance |
For example, if you try TSX tickers "CP.TO" or "CNR.TO", the income statements (quarterly and annually) and balance sheet statements (quarterly and annually) DataFrames are populated in the class, but the cashflow statement attributes (quarterly and annually" both are blank; They are instantiated as string objects and are not DataFrames yet. Thanks!
The text was updated successfully, but these errors were encountered: