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
Release history Release notifications | RSS feed
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
Close
Hashes for snp_companies-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef12dc04bde24f79e3177df79e13f10e7f657475b11f543f570e264efa5d3fc |
|
MD5 | b08afc934fac74ad73fdab714cfd9941 |
|
BLAKE2b-256 | 7cdfa28cd0c2160df255d8d7af4bec9b33e820621a9a646661cf6237aa7d5d94 |