Code
Python
-
EDGAR_DownloadForms_v2022.py
Program to download EDGAR files from the SEC site by form type.
- Dependencies (i.e., modules you must download that are accessed by the program):
MOD_EDGAR_Forms.py - module that can be imported to provide convenient lists of form variants.
MOD_Download_Utilities.py - module used to download files from websites. The files can be written to a file, downloaded as a string, or downloaded as a list of lines.
-
Generic_Parser.py
Program to generate sentiment counts for all files contained within a specified folder. Sentiment counts are based on the Loughran-McDonald dictionary.
- Python Dependencies (i.e., modules you must download that are accessed by the program):
MOD_Load_MasterDictionary_v2023.py - module to load Loughran-McDonald master dictionary. (Note this does not work with older versions of our dictionary.)
- Data Dependencies:
LoughranMcDonald_MasterDictionary_1993-2021.csv - data file with LM Dictionary
- Python Dependencies (i.e., modules you must download that are accessed by the program):
-
Create_10X_WordCounts.py
This program provides an example of using the MOD_Read_DoctDIct.py module to read through the Document Dictionary file and create word counts for 10-X filings.- Python Dependencies (i.e., modules you must download that are accessed by the program):
MOD_Load_MasterDictionary_v2023.py - see above.
MOD_Read_DocDict.py - module to build a word/count dictionary for filings in the Document Dictionary file.
- Python Dependencies (i.e., modules you must download that are accessed by the program):