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

When I am backtesting it would be great if I could attach a note to my backtest. This would allow me to note special testing changes. For example, if I decided to use a 30 day verses a 60 day moving average. Sometimes it's hard to remember what codes changes were done. Does this feature exist and I've missed it?

4 responses

I put a # comment on the first line of my code with this info. It's a few clicks away so not perfect, but still helps me.

You cannot see that when you're looking at back testing results. When you change your code whether you put a tag in the beginning or not, that is not stored with the exact back test you ran.

It is! You click the "show code" link within the backtest graph screen and you can see the original code and compare it to another backtest code while you are at it,

I consider this the biggest problem with Q. Versioning / tagging / folders etc are really lacking, so I am unable to use it as my sole dev environment.

My versioning is done on my own server with git - welcome to copy paste hell! (The main reason of this is actually as a backup).

Q staff please take note...
In an ideal world each backtest would be stored with the name of algo at the time the backtest was run. That would allow you to keep incrementing the version in the algo name, and each time you run a backest, it would store that as the name of the backtest.