Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Momentum with kelly strategy

The backtest tried to be as realistic as possible. Shorting and margin was eliminated. The code is a bit dense but it should serve as a base because of the many options.

2 responses

Here's the tearsheet.

how do you add the Kelly Criterion in the code?