Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
First Algorithm

Is this good?

2 responses

It looks like you have managed to clone the Mean Reversion sample algorithm from the Quantopian help page. It compiles, runs, has even produced a positive return.

But what is the purpose of squaring len(...) in line 86?

Why is the sample size so small?