You may remember my work with the #1 best selling NES game of all time, Wall Street Kid. In it, I found that the best strategy was to simply buy which ever stock did best on any given day. As I watch actual stocks go
I feel obliged to point out that this sort of thinking is a cardinal sin of probability theory, ie, thinking that if an independent event occurs in a string that it will affect the outcome of the next event. For example, thinking that if the roulette wheel has come up red 5 times in a row that it is due to be black (or that it'll continue being red for that matter) is wrong. Its probability is 50/50 no matter what previous outcomes were.
That being said, the stock market is not an independent random event. All it would take for this to be a valid method is for there to be some positive correlation between how the market does today and how it did yesterday. Surely, that is not unreasonable.
I should also point out that there are trading fees which would create an overhead that would definitely negate any gain. But spherical cows care not for these things.
I've often needed the historical stock market prices, and Yahoo Finance is the easiest place to get it. I thought I was going to have to write a quick program, but I did all the work in LibreOffice.
In case the process is not clear, here is the strategy. Buy $1 worth of S&P 500 in 1950. If the S&P 500 closes down for the day sell at opening the next day. If the S&P 500 closes up for the day, rebuy if you had previously sold (and haven't rebought yet).
In practice, this has the effect of skipping any day that follows a negative day. The theory being that negative days will tend to follow other negatives days more often than positive days.
I didn't really expect this to work. While the premise sounds plausible, the idea of an efficient market is that, if some common piece of information can be employed to beat the market, that this info will be exploited and the market will adjust such that it is no longer profitable. For example, if we had a harsh winter, and you expect this to hurt orange farms, which will in turn raise prices of frozen concentrate orange juice futures, you might think you could buy them now safe in the knowledge that they will go up in price. But, so does everybody else. The net result is that the market adjusts the price to whatever level the best available knowledge would predict that it will be at in the future. Now, if there were some sort of report that suddenly revealed the crop conditions and you got your hands on that, well that would change things.
Anyway, on to the graphs:
What this shows is that while the alternate method worked very well, it did not gain on the two recent spikes, but still lost on the down slopes of them. This can be explained, somewhat obviously in retrospect, by the fact that the market has been very volatile in the last decade, and that eliminated the correlation.
When I first did this I started in 1990. The result was about a 400% gain for the S&P 500 and a mild loss for the alternate method. This seemed so surprising to me that I decided to look further back. If you look back at the graphs with the ratio plotted in green, any time that was increasing this was a good strategy, and any time it was decreasing this was a poor strategy. So, from 1950 to about 1970 it did well, in the 70s it did extremely well, from 1980 to 2000 it was neutral, and in the 2000s it did very poorly. There is a glimmer of hope, in that it has been neutral for the last few years.
Fell free to use this strategy and just send me 10% of your net profits.