Unrolling thread...
I thought backtesting was tough... until I learned this: