After I invoke the backtest engine to run a whole set of individual reports (see diagram), I would like to have a way to store the results of each line of p&l statistics to a global matrix so I can use these results later on (in a subsequent step) to calculate the mean of sample means (average number of the lines), standard deviation, standard error of the sample means etc., for the whole set of results. Is this possible? Thanks.

I realize I can do a portfolio run, but the portfolio engine uses different algorithms for treating the individual stocks, thus, I cannot get the 2 runs to balance (this topic was discussed before in the forum). This is why I am inquiring about doing it this way. If someone can show a way to run a portfolio backtest that matches the individual runs, that could be a solution.