This Python script lets you download SEC 10-K filings for specified companies from the SEC website using the sec-edgar-downloader
package.
- Python 3.x
sec-edgar-downloader
package (install usingpip install sec-edgar-downloader
)- LLM API Key
-
Clone this repository to your local machine using
git clone https://github.com/Saherpathan/FinTech.git
-
Open a terminal or command prompt and navigate to the directory containing the script.
-
Run the script using:
python fetch_data.py
- Please ensure you have proper permissions and internet connectivity to access the SEC website for downloading filings.
- Make sure to handle any errors during the download process.
- You can customize the list of companies/tickers and the time range as per the requirement.
- Used LLM API from
google-generativeai
to perform text analysis on the downloaded 10-K filings. - Conducted natural language processing tasks such as tokenization, stop words removal, and frequency distribution calculation using
nltk
. - Generated visualizations using
matplotlib
.
- Created a simple app using
streamlit
that takes a company ticker as input and displays relevant visualizations. streamlit
was chosen for its simplicity and ease of hosting web apps, allowing for quick deployment.- Run the application using:
streamlit run app.py