Working with the S&P 500®
S&P 500® index level history
There are multiple possible sources to obtain S&P 500® index level history when working on Nuvolos:
S&P Dow Jones Indices (SPDJI) [license required]
If you have access to the SPDJI dataset on Nuvolos, the INDEX_LEVELS
and INDEX_LEVELS_V1
tables contain the official S&P 500® index level history, please distribute these two tables from the latest available SPDJI dataset snapshot to your working instance.
You can use the following query to obtain the time series:
Compustat North America or Compustat Global [license required]
If you have access to Compustat on Nuvolos, please distribute the IDX_DAILY
table from the latest dataset snapshot to your working instance.
You can use the following query to obtain the time series:
CRSP US Stock and Indexes [license required]
If you have access to CRSP US Stock and Indexes on Nuvolos, please distribute the DSI
table from the latest dataset to your working instance.
You can use the following query to obtain the time series:
Python and Yahoo Finance
Please start a Jupyter or Visual Studio Code application in Nuvolos and run the following command to install the pandas-datareader
package in Nuvolos:
Then you can use the following code to retrieve historical S&P 500® index levels as a pandas DataFrame:
S&P 500® index historical constituents
There are multiple possible ways to obtain the historical constituents of the S&P 500 index when working on Nuvolos:
S&P Dow Jones Indices (SPDJI) [license required]
If you have access to the SPDJI dataset on Nuvolos, the CONSTITUENT_DETAILS
and CONSTITUENT_DETAILS_V1
tables contain the official S&P 500® constituents history, please distribute these two tables from the latest available SPDJI dataset snapshot to your working instance.
You can use the following query to obtain the time series:
Compustat North America (up to 2020-03-31) [license required]
If you have access to Compustat NA on Nuvolos, please distribute the SPIDX_CST
table from the latest dataset snapshot to your working instance.
You can use the following query to obtain the time series:
CRSP US Stock and Indexes [license required]
If you have access to CRSP US Stock and Indexes on Nuvolos, please distribute the INDEX_MEMBERSHIP
and NAME_HISTORY
tables from the latest dataset to your working instance.
CRSP makes the following note in their documentation on working with CRSP S&P 500® indices:
Due to differences in handling mergers, reorganizations, and other major corporate actions, CRSP data and the S&P 500® universe do not always have a one-to-one mapping. In some cases this results in a short period where CRSP is missing prices or has multiple prices per company listed by S&P.
The Count of Securities Used is not always 500 (90 prior to March 1957) due to missing prices. Known reasons for missing prices are when-issued trading, halts, and suspensions.
You can use the following query to obtain the time series:
Last updated