When I first learned about the multiplicative weights update algorithm, I immediately started thinking about applications in the stock market. One of the guarantees of the multiplicative weights algorithm is that you cannot do too much worse than the best expert. So I thought I would come up with some stock selection strategies and see if the multiplicative weights algorithm would do well.
I built a static website with lots of daily stock data and a frontend application which processes the data via a number of heuristic strategies. A strategy is considered “correct” if it correctly predicts whether the stock will go up or down on a particular day. I also built a multiplicative weights update algorithm using those heuristics as experts. You can visit the application by following the link below:
If you visit the link and play around with my app, you will find that:
This gives two important insights about the algorit:
It also shows that the stock market is really noisy, and binary “up/down” indications of the stock market are not likely to be predictable.