It is often productive to write code incrementally: start with something small and simple, make it work if it doesn't already, then make another version with one small change, make that one work, and so on. At the same time, older versions may still be useful. And a well thought out sequence of versions may be a good teaching tool.
I wanted to do that, start with a simple buy-and-hold one-asset strategy, but didn't see a Clone Algorithm button or Save As option in the IDE. Is there a way to fork one's own algorithm with one click? (There should be.)