Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Long SPY. This strategy is based off the sample.

This strategy is based off the sample. It buys +200 shares of the market index ETF SPY when the market price is equal to the closing price (vwap) and then sells -100 shares when the market price equals 90% of the closing price.

Simply, this strategy is long the market with some periods of less exposure.

It looks like it would have worked well. Not surprising since we've been in a bull market since 2009.

I don't know what the benchmark is. I'm assuming its the S&P 500.

1 response

Benchmark is indeed S&P 500, with dividends not re-invested but kept in portfolio as cash.