Skip to main content

Fetches and construct the S&P 500 based on the Wiki page

Project description

S&P Companies

Fetches the companies that comprises the s&p 500 based on the wiki page https://en.wikipedia.org/wiki/List_of_S%26P_500_companies including historical lists.

Usage

from datetime import date
from snp_companies import SNPListing

listing = SNPListing()
print(listing[date.today()])
print(listing['2021-11-28'])
print(listing['2000-11-28'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

snp_companies-1.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page