How to download the S&P 500 Company List (Python Tutorial)
Photo by Robert Stump on Unsplash.com
In algorithmic trading it always comes in handy to have up-to-date market index information right at your fingertips.
In this tutorial, I would like to show you how you can simply download company information of the S&P 500 from Wikipedia and store it as a comma-delimited text file (.CVS).
Please make sure to comply with Wikipedia’s Terms & Conditions in regard to web scraping.
This story is solely for general information purposes, and should not be relied upon for trading recommendations or financial advice. Source code and information is provided for educational purposes only, and should not be relied upon to make an investment decision. Please review my full cautionary guidance before continuing.