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

Request: Support for SEC filings module #2007

Open
dmoklaf opened this issue Aug 2, 2024 · 0 comments
Open

Request: Support for SEC filings module #2007

dmoklaf opened this issue Aug 2, 2024 · 0 comments

Comments

@dmoklaf
Copy link

dmoklaf commented Aug 2, 2024

Originally posted by @dmoklaf in #2004

It seems a stock's SEC filings can be retrieved through the secFilingsmodule:

filings = quote._fetch(  # pylint: disable=W0212
    quote.proxy, modules=["secFilings"]
)
if filings is not None:
    filings = filings["quoteSummary"]["result"][0]["secFilings"]["filings"]
    for filing in filings:
        url = filing["edgarUrl"]
        type_ = filing["type"]
        title = filing["title"]
        timestamp = filing["epochDate"]
        date = datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC)
        symbols = filing.get("relatedTickers")
        # Do something with the filing...

Would it be possible to include this as a new feature within yfinance?

@ValueRaider ValueRaider changed the title Support for SEC filings module Request: Support for SEC filings module Aug 2, 2024
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