Skip to content
Projets

datasets/s-and-p-500-companies

Voir sur GitHub

À propos

Liste des entreprises du S&P 500 avec leurs données financières associées

Apprentissage et éducation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

badge

What stands out

Industrials has the most constituent securities (83 of 503); Information Technology and Financials tie for second with 76 each. Counts are of securities, not market-cap weights.

List of S&P 500 (Standard and Poor's 500) constituent securities, sourced from Wikipedia; a GitHub Action checks Wikipedia daily and commits when the list changes. The data contains 503 securities representing 500 distinct SEC Central Index Keys (CIKs), because some companies have more than one share class in the index.

Data

Checked daily: a GitHub Action compares the data with Wikipedia and commits when membership changes (workflow).

The scraper extracts constituent information from Wikipedia's List of S&P 500 companies.

The Founded field preserves mixed-format founding information from Wikipedia, including single years, multiple years and explanatory notes. Entries such as 2013 (1888), 1939 (2015) and 1904/1946/1959 do not follow a uniform date ordering.

Sources

The index provider is S&P Dow Jones Indices (website). The extraction source for this dataset is Wikipedia's List of S&P 500 companies.

Note For aggregate information on the S&P (dividends, earnings, etc.) see Standard and Poor's 500 Dataset on GitHub.

General Financial Notes

US domestic reporting companies generally file Form 10-K annually and Form 10-Q for the first three fiscal quarters of their fiscal year. Other issuer categories may use different forms.

Development

The pipeline relies on Python, so you'll need to have it installed on your machine. Then:

  1. Create a virtual environment in a directory using Python's venv module: python3 -m venv .env
  2. Activate the virtual environment: source .env/bin/activate
  3. Install the dependencies: pip install -r scripts/requirements.txt
  4. Run the scripts: python scripts/scrape.py

Alternatively, you can use the provided Makefile to run the scraping with a simple make. It'll create a virtual environment, install the dependencies and run the script.

Source and licence

Source: Wikipedia's List of S&P 500 companies.

The data is derived from Wikipedia, whose text is available under the Creative Commons Attribution-ShareAlike 4.0 License, so this dataset is licensed under the same terms. When you reuse it, credit Wikipedia's "List of S&P 500 companies" and share derived data under the same licence. All code is licensed under the MIT/BSD license.

Trademark

S&P 500® is a trademark of S&P Dow Jones Indices LLC. DataHub is not affiliated with, sponsored by or endorsed by S&P Dow Jones Indices LLC.

Explorer des projets similaires

Chargement…