Note that this script can easily be improved. In the future, I plan to convert this into a library if the demand is high enough.
But, overall this is a very basic Financial Data scraping script to get basic elements useful in modeling. If you would like to chip in or want additional features, please let me know! I'd be more than happy to add additional functionality. Just put a comment or issue.
Key obtained from financial data prep once you've created an account
List of tickers (company trading symbols) to extract data from. By default, I have the following tickers: XOM, BP, and CVX
Spencer Pao
- pandas
$ python -i extract_financial_documents.py
Or,
$ python extract_financial_documents.py