What exactly are the issues you are encountering? csvBuilder can’t append fast enough? You are dropping data points?
Perhaps add in some kind of execution delay, that will trigger to continue the forward test decision engine after the file append operation has completed.