Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
STEADFAST ALGORITHM

My strategy is simple...when the S&P 500, NASDQ and Russell 2000 are trading near record highs (within 10 per cent) invest capital in equal amounts in a diversified portfolio for each ....include dividend paying stocks to increase your return...when market breaks out into new highs by at least 5 per cent sell at least 80 per cent of your positions and return to cash.

1 response

What is your trigger to rebuy after it rises 5%? Does it need to dip below 10% and then back up? By the way you typed it you will be 80% cash nearly always