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 details)

Uploaded Python 3

File details

Details for the file snp_companies-1.1-py3-none-any.whl.

File metadata

  • Download URL: snp_companies-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for snp_companies-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ef12dc04bde24f79e3177df79e13f10e7f657475b11f543f570e264efa5d3fc
MD5 b08afc934fac74ad73fdab714cfd9941
BLAKE2b-256 7cdfa28cd0c2160df255d8d7af4bec9b33e820621a9a646661cf6237aa7d5d94

See more details on using hashes here.

Supported by

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