I'm up to bootstrapping trading rules on single instruments with rolling windows.
I've been writing my code from scratch to better understand it, only looking at pysystemtrade for clues.
I have one problem. I wrote my accountCurve using a walk-forward backtester. It's extremely slow, so even a simple bootstrap with limited scope takes several hours, despite having multithreaded the optimisations.
I noticed in your code that you use a vectorised implementation based on statistics, but I'm struggling to understand why it works. Would you mind explaining it, as if I were five years old?
Thanks a million!![]()
Can you point to the piece of code that isn't clear?
GAT