rsRoundup is designed to fetch and process recent SEC filings related to reverse splits, cash in lieu corporate actions related to reverse split with share roundup. It retrieves the data, extracts relevant excerpts, and saves the filings for further analysis.
- Fetch recent SEC filings based on specific keywords.
- Extract relevant excerpts from the filings, focusing on terms like "reverse stock split," "cash in lieu," and "preserve round lot."
- Save results and download filings in a structured format.
- Delete old files in the
filingsfolder before processing new data.
-
Clone the repository:
git clone https://github.com/braydio/rsRoundup.git
-
Navigate to the project directory:
cd rsRoundup -
Install dependencies:
pip install -r requirements.txt
- Configure the script parameters in the
rsRoundup.pyfile. - Run the script:
python rsRoundup.py
- Date Range: Update the following variables in
rsRoundup.pyto define the date range for the search:START_DATE: The start date for fetching filings (default is 7 days prior to the current date).END_DATE: The end date for fetching filings (default is the current date).
The search terms can be modified in the SEARCH_TERMS dictionary within rsRoundup.py. The current keywords are:
keywords: Terms related to reverse stock splits, e.g., "reverse stock split," "no fractional shares," "reverse split."in_lieu_keywords: Terms related to cash in lieu, e.g., "in lieu."preserve_round_lot_keywords: Terms related to preserving round lots, e.g., "preserve round lot."
These terms are used to search within the SEC filings and extract relevant information.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.