An HTML parser for SeekingAlpha earnings call transcript Q&A.
Simply provide a valid stock ticker when prompted and you will be provided a list of transcripts to choose from. Selecting a transcript will parse the transcript Q&A section and output to a file.
This was written and test using Python 2.7; I do not believe that it will work in Python 3.x.
Get the source:
- Clone the git repository
- Create a Python virtualenv:
virtualenv venv-saqaparser - Activate it:
source venv-webhookshims/bin/activate - Install dependencies:
pip -r install requirements.txt
Execute and respond to prompts. Output is 'qanda.txt' in the current directory.
ToDo
- Need to add file output option
- Only finds most recent transcripts due to scrape of SA web page, a "More" option may be useful
- Should validate or at least error handle stock ticker input
Known Issues
- Assumes "Question-and-Answer Section" is the delimiter for parsing Q&A, probably not a wise choice - if output is empty then that is likely the cause.