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

Excluding amendments #19

Open
gregjasonroberts opened this issue Aug 28, 2020 · 2 comments
Open

Excluding amendments #19

gregjasonroberts opened this issue Aug 28, 2020 · 2 comments

Comments

@gregjasonroberts
Copy link

gregjasonroberts commented Aug 28, 2020

What would you suggest for applying a parameter for excluding amendments? I know in the sec_edgar_downloader library there's a parameter that can be set: include_amends=False. Do you have a parameter in your methods or can direct me how I can apply that to the code below?
Thanks again!

I'm using the following code to pull the documents:

from edgar import Company
from edgar import TXTML

company = Company("BOSTON SCIENTIFIC CORP", "0000885725")
tree = company.get_all_filings(filing_type = "10-K")
docs = Company.get_documents(tree, no_of_documents=5)

text=TXTML.parse_full_10K(docs[3])
text
@joeyism
Copy link
Owner

joeyism commented Aug 29, 2020

I'm not familiar with what amendments. Can you explain that further? Is that the 10-K/A?

@gregjasonroberts
Copy link
Author

That's correct. When pulling the 10K documents in this method, 10-K/A documents are included. In the example above, the 4th document scraped out of the 5 documents called contained this and I'd like to skip those types of filings.

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

2 participants