Skip to content
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 Statement When Using MultiFinancial Feature/Possible issue? #178

Open
david08-08 opened this issue Dec 28, 2024 · 1 comment
Open

Comments

@david08-08
Copy link

Happy Holidays Dwight, I hope you are doing well. I am trying to use the Multi Financial feature; pulling the last 5 years for AVGO (I also tried APPLE) just to see if there was something else wrong. I continue to get the same error which is below. Is there a bug or issue? Below is the code I am using. Please let me know your thoughts thank you.

Required imports

from edgar import MultiFinancials, Company
from IPython.display import display, HTML
import pandas as pd
import matplotlib.pyplot as plt

Initialize the company object using the stock symbol AAPL

company = Company("AVGO")

Retrieve the latest 5 filings of type "10-K" for AVGO

filings = company.latest("10-K", 5)

Create a MultiFinancials object from the retrieved filings

financials = MultiFinancials(filings)

Retrieve financial statements

balance_sheet = financials.balance_sheet
income_statement = financials.income
cash_flow_statement = financials.cash_flow

ERROR:
File ~/Documents/untitled31.py:27
cash_flow_statement = financials.cash_flow

AttributeError: 'MultiFinancials' object has no attribute 'cash_flow'

@dgunning

@david08-08
Copy link
Author

@dgunning
Hey Dwight,

I want to follow-up on my issue regarding the cash flow statement error I am getting. Is this an issue with edgartools or is it the code I using? Please let me know.

Thank you,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant