Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Historical SP500 stocks based on market cap...

Could someone tell me how to go about identifying the top 100 stocks based on market cap for the SP500...from prior years? Say starting from 2007 to current?

3 responses

Hello Adam,

It's an interesting challenge. You could maintain an evolving list of the S&P500, use a paid-for service like xignite, and import using 'fetcher'. See: http://splice.xignite.com/services/Xignite/XigniteSecurity/GetHistoricalMarketCapitalization.aspx

"Xignite sells subscriptions to the data for as low as $600 a year and as high as $100,000 a year, depending on the data....." from http://venturebeat.com/2011/09/13/xignite-raises-10m-for-cloud-delivery-of-financial-market-data/

P.

Hello Adam,

Actually, paying for anything is stupid. This algo https://www.quantopian.com/posts/using-the-fetcher-with-quandl gets fundamentals data from Quandl, and there must be a way of getting the data you need using the API into EDGAR. See: http://www.sec.gov/edgar.shtml

P.

One data source for historical market caps of all S&P 100 companies, data is available for the past 10 years: http://marketcapitalizations.com/historical-data/market-caps-sp-100-us/