Hey everybody,
I was thinking of performing a clustering analysis of all the S&P 500 stocks, so that I could find stocks having the same properties, which will help me identify the stocks that I need to trade with using the pairs trading strategy. I want to know is there any way that I could get the historical data for all S&P 500 stocks having information like the valuation ratios in addition to the prices on Quantopian.
Any help is appreciated :)