Get news about your favorite stocks, before they're reported!📈
Automate extracting critical SEC documents with OpenAI and Beautiful Soup.
Hey Prompter Community!
Frankly, I’m tired of circumnavigating around paywalls to get the latest news about my stock holdings.
So, let’s use Beautiful Soup to extract text from SEC filings and OpenAI to summarize them so we can receive breaking news about our portfolios straight to our email inboxes.
Here’s how the app will work:
Application Steps
User will select companies to track.
App performs a lookup to identify CIK codes to track SEC filings.
When the process is triggered, the CIK code is searched, and new filings are gathered. (Process can be triggered manually or with a cron job via Google Scheduler, ex: 1 time a week)
App processes and cleans up extracted text.
Text is sent to OpenAI.
OpenAI summarizes text.
SMTP email is sent with summaries of company’s most recent filings.
Most recent filing is added to a JSON to ensure no duplicate filing fetches.
App Demo
(note: if Google Cloud Scheduler is set up, this will automatically send new filings to my inbox each week.)
Tech Stack
OpenAI’s GPT-4o mini
Google Cloud Run
Google Cloud Scheduler
Flask / Python
SEC.gov API
Beautiful Soup
Technical Workflow
Sounds good? Let’s get to work. Click the button below to start building. PrompterGPT will walk you through the project step-by-step and help you troubleshoot, customize, or edit its scope. Just ask away!
Happy building, and see you next time.
— Nishad from Prompter
P.S. This project doesn’t interest you? Check out last week’s project on building a personalized finance coach!
P.P.S for more daily thoughts on AI, and sneak peak of projects before they’re sent, make sure to follow us on X!