Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Dynamic Programming for Multi-Period Portfolio Selection

It would be interesting to see a variant of the approach in this article from Stanford implemented in Quantopian.