It turns out the problem was that my strategy wasn't checking for delisted assets, so one of the assets had incomplete data for the test period.

Is there some way from Zorro to check when an asset timeseries "runs out"?

For now, I was just going to generate .t6 files with prices set to 0 when the data runs out, since price(0) == 0 can be checked from the script.