-
-
Notifications
You must be signed in to change notification settings - Fork 479
FindingThings
This guide provides examples of how to use the find function to locate filings, entities, companies, funds, and other types of SEC data.
The find function is a versatile search tool that can handle various types of input and return appropriate objects. It's designed to be a one-stop solution for finding different types of SEC data.
def find(search_id: Union[str, int]) -> Union[Filing, EntityData, CompanySearchResults, Fund, FundClass, FundSeries]:This function can take a variety of search identifiers and return the appropriate object based on the input:
-
Accession number: Returns a
Filingobject -
CIK: Returns an
Entityobject -
Class/Contract ID: Returns a
FundClassobject -
Series ID: Returns a
FundSeriesobject -
Ticker: Returns a
Companyor aFundobject if the ticker is a fund ticker -
Company name: Returns
CompanySearchResultsobject
If you know the accession number of the filing you're looking for, you can use the find function to retrieve the filing object. This works for any filing going back to 1993.
# Find by accession number
filing = find("0000123456-22-123456")If you know the CIK (Central Index Key) of a company or person, you can use the find function to retrieve the entity object. This takes the cik as a number or a string representation of the number.
0000320193, "320193", 320193 works equally well for Apple Inc.
apple = find(320193)
You can also find a company by its ticker symbol. This works by using the ticker to do a cik lookup, then it finds the company by cik.
company = find("AAPL")You can search for a company by its name. This returns a list of companies that match the search term. The search term is case-insensitive and can be a partial match on the ticker or company name.
search_results = find("Biomedical")
After you get the results you can get the company by the index of the search results.
company = search_results[0]Explanation Code example (to be added)
Code examples (to be added)
Filtering by ticker Filtering by CIK Code examples (to be added)
Explanation (e.g., filtering 8-K forms) Code example (to be added)
Explanation (e.g., filtering companies with 'Medical' in the name) Code example (to be added)
Tips and tricks
Conclusion
Recap of key features Encouragement to explore and use the library