Quote from Cutten:
Does anyone have a good method for stocks that hold up well during market corrections - other than just looking through loads of charts visually?
Quote from fan27:
I am in the process of researching something similar to this.
Build a model based on buying strong stocks in strong groups in a strong market (ala Stan Weinstein...Secrets for profiting in bull and Bear markets).
The similarity is that you are not buying stocks in isolation, but take into account their relative strength to the broad market and their industry.
The challenge was to get the data organized correctly to do this.
The solution was to use Python (programing language) to access the HTML of this page containing all of the different stock groups:
http://biz.yahoo.com/ic/ind_index.html
Next, each industry URL was parsed from that page and then the stock symbols were obtained from the URLs by obtaining and parsing the URL's HTML.
The next task is to create composites for each industry group. I will then be able to compare each industry group composite against the S&P and then narrow down to individual stocks in prospective groups.
Does anyone know of any off the shelf software that can back test in this manner?
fan27